Closed cmezak closed 13 years ago
This is fixed in 1.0.4, please upgrade.
Err, thanks. I was updating via rubygems. I guess 1.0.4 isn't there yet. Updating from github fixed it. Thanks!
Working for me:
$ gem list jquery-rails -r
*** REMOTE GEMS ***
jquery-rails (1.0.4)
I get the following error when I attempt to run the install generator.
Chuckbook:wca_cert charliemezak$ rails g jquery:install --ui /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.3/lib/generators/jquery/install/install_generator.rb:6:in'
<class:InstallGenerator>': uninitialized class variable @@jquery_version in Jquery::Generators::InstallGenerator (NameError) from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.3/lib/generators/jquery/install/install_generator.rb:5:in
module:Generators' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.3/lib/generators/jquery/install/install_generator.rb:4:in<module:Jquery>' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.3/lib/generators/jquery/install/install_generator.rb:3:in
<top (required)>' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
block in require' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inblock in load_dependency' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in
new_constants_in' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
require' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/generators.rb:286:inblock (2 levels) in lookup' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/generators.rb:282:in
each' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/generators.rb:282:inblock in lookup' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/generators.rb:281:in
each' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/generators.rb:281:inlookup' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/generators.rb:141:in
find_by_namespace' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/generators.rb:161:ininvoke' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands/generate.rb:10:in
<top (required)>' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
block in require' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inblock in load_dependency' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in
new_constants_in' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
require' from /Users/charliemezak/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:17:in<top (required)>' from script/rails:6:in
require' from script/rails:6:in `