Re: 'compass watch .' - gems/ruby-1.9.3-p392/gems/jquery-rails-2.1.4/lib/jquery/rails.rb:1:in `<top (required)>': uninitialized constant Rails (NameError)

68 views
Skip to first unread message

Chris Eppstein

unread,
May 16, 2013, 12:16:59 PM5/16/13
to compas...@googlegroups.com
My guess is that there's some gems that should be in the assets group that are not.

chris

On Wednesday, May 15, 2013 1:16:00 PM UTC-7, Sam Dunne wrote:
Whenever I execute 'compass watch .' in my Rails project I get the following error 'gems/ruby-1.9.3-p392/gems/jquery-rails-2.1.4/lib/jquery/rails.rb:1:in `<top (required)>': uninitialized constant Rails (NameError)'

Any ideas?

Jimmy Cuadra

unread,
May 31, 2013, 6:09:14 PM5/31/13
to compas...@googlegroups.com
I had this issue too. It seems that compass-rails is dependent on the order that gems are declared in the assets group of the Gemfile. I've opened an issue here: https://github.com/Compass/compass-rails/issues/86
Reply all
Reply to author
Forward
0 new messages