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 compass init trouble #117
Comments
|
Do you have a patch? |
no( |
No worries, compass init is an optional step. I'll get a patch together for this in the next few days. |
ok 👍 |
also seeing this, it seems like it thinks rails is loaded even though it isn't. |
The same problem comes to me too. |
Same problem, but on Rails 3.2.16 on ruby 2.1.0 :-( 👍
As @aaronjensen commented, it's like it thinks rails is loaded even though it isn't. |
Same error. Tested on ruby 1.9.3p484, rails 4.0.2, 3.2.6. Debian x86_64 GNU/Linux bundle exec compass init rails --trace |
Same error with ruby 2.0 and rails 4:
NoMethodError on line ["220"] of /Users/nicholas/.rvm/gems/ruby-2.0.0-p353/gems/compass-rails-1.1.3/lib/compass-rails.rb: undefined method |
Same with 3.2.16 and Ruby 2.0p353. |
pull request sent. |
👍 |
:+1 |
Solve this problem by getting out compass-rails gem from :assets group. Now works fine. |
@Nahy That eliminates the error, however for me it now complains:
It seems that compass-rails is not loaded. |
@baxang seeing the same issue on Rails 4.0.2. :/ |
I had to roll back to -v="1.0.3" in order to get this to work with either Rails -v="3.2.8" and also saw this error in 4.0.2 |
Rails 4 support should be solid, you can use 1.1.7 or the master branch which supports rials 3.2 and Rails 4.+ |
In rails 4.1.1 I got those errors with 'bundle exec compass init rails' command:
when compass-rails gem is in assets group
I cannot install 2.0.0 alpha version because it's removed so I use latest 1.1.7 version. |
rails 4.1.6, compass-rails master bundle exec compass watch --trace
|
Hey gang! I'm still seeing this issue, with Edge Rails (currently 4.2.0.beta4), Ruby 2.1.5, and the master branch of this repo. The only appreciable difference is that I can't even get it to raise an exception: whether it's in the |
Same error here, with |
bundle exec compass init --trace
'NoMethodError on line ["223"] of /Users/ivan/.rvm/gems/ruby-2.0.0-p247/gems/compass-rails-1.1.2/lib/compass-rails.rb: undefined method
config' for nil:NilClass /Users/ivan/.rvm/gems/ruby-2.0.0-p247/gems/compass-rails-1.1.2/lib/compass-rails.rb:129:in
configuration'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/configuration/helpers.rb:44:in
configuration_for' /Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/configuration/helpers.rb:22:in
add_configuration'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/configuration/helpers.rb:107:in
add_project_configuration' /Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/commands/project_base.rb:31:in
add_project_configuration'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/commands/installer_command.rb:9:in
configure!' /Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/commands/project_base.rb:15:in
initialize'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/commands/stamp_pattern.rb:69:in
initialize' /Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:42:in
new'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:42:in
perform!' /Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in
run!'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/bin/compass:30:in
block in <top (required)>' /Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/bin/compass:44:in
call'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/gems/compass-0.12.2/bin/compass:44:in
<top (required)>' /Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/bin/compass:23:in
load'/Users/ivan/.rvm/gems/ruby-2.0.0-p247@global/bin/compass:23:in `
The text was updated successfully, but these errors were encountered: