Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 4.2.1 support #236

Closed
gwincr11 opened this issue Apr 24, 2015 · 19 comments
Closed

Rails 4.2.1 support #236

gwincr11 opened this issue Apr 24, 2015 · 19 comments

Comments

@gwincr11
Copy link

Hello,

I am trying to setup rails 4.2.1 support. I am running into trouble with sprockets compatibility on the master branch. Bundle install returns the following error:

  In snapshot (Gemfile.lock):
    sprockets (= 3.0.1)

  In Gemfile:
    sprockets (< 4.0, >= 2.8) ruby

    compass-rails (>= 0) ruby depends on
      sprockets (< 2.13) ruby

Is there a reason why compass rails does not support a higher version of sprockets? Any way I can get this installed and working?

Thanks,
Cory

@kushkella
Copy link

+1 I'm running into similar issues. compass-rails should support sprockets 3.0

@mauro-ni
Copy link

Could you please release a new version that spports last version of sass-rails (5.0.3) and last version of sprockets (3.0.2)? Thanks.

@gwincr11
Copy link
Author

I got this working
gem 'sass-rails'
gem "compass-rails", git: 'https://github.com/Compass/compass-rails', branch: 'master'

bundle update.

@imogenkinsman
Copy link
Contributor

+1 been fighting this for a bit too now

@JacobEvelyn
Copy link

Me too.

@rmckayfleming
Copy link

Eagerly awaiting Sprockets 3 support.

@mauro-ni
Copy link

+10

@imogenkinsman
Copy link
Contributor

going to take a stab at a PR when I get a spare moment, I want an updated sprockets for babeljs so bad :<

@mauro-ni
Copy link

I want an update of sprockets for chosen-rails.
There are a lot of gems with compass-rails as a runtime dependency, I hope a new release of compass-rails to be released soon.

@craigmcnamara
Copy link
Member

If someone want's to take a stab at support for sprockets 3 support I'd merge it as compass-rails 3.0. I'm not currently supporting any projects with that requirement so it will be a while until I'm concerned enough to do the work.

@imogenkinsman
Copy link
Contributor

sounds reasonable :3

@BartlomiejSkwira
Copy link

Same issue here. Version 2.0.1 doesn't have sprockets as a dependency at all, so bundle install will work, but later I get:

File to import not found or unreadable: compass.

Similar issues: #232 #229

@BartlomiejSkwira
Copy link

#Gemfile
gem 'sass-rails', '5.0.1'
gem 'compass', '1.0.3'
gem 'compass-rails', '2.0.4'
bundle update sass-rails compass-rails

..and it works :)

@vorant94
Copy link

Does anybody have another solution? Because It crashes with using sprockets-rails gem

Bundler could not find compatible versions for gem "sprockets":
  In Gemfile:
    compass-rails (>= 0) ruby depends on
      sprockets (< 2.13) ruby

    sprockets-rails (>= 0) ruby depends on
      sprockets (3.0.0)

@astery
Copy link

astery commented Jul 7, 2015

@BartlomiejSkwira, that's not resolve the issue, just degrades sprockets to < 2.13.

@astery
Copy link

astery commented Jul 7, 2015

I've looked for forks, @urkle make it work - urkle@2fe981f. Why author not suggested it as PR? Does it have flaws?

@BartlomiejSkwira
Copy link

@astery Well yeah, it was just a workaround

@astery
Copy link

astery commented Jul 7, 2015

@BartlomiejSkwira, thanks for response. But it doesn't seem clear for me - you think degrading sprockets is workaround or @urkle patch is doesn't look as relaible and should not be merged?

@francois2metz
Copy link

Fixed now. Should be closed since #246 has been merged and the 3.0 released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests