"Gems::FiverunsTuneup-0.8.17::Lib::Fiveruns" is not a valid constant name!

Subscribe to "Gems::FiverunsTuneup-0.8.17::Lib::Fiveruns" is not a valid constant name! 3 post(s), 2 voice(s)

 
Avatar rgagnon 8 post(s)

When I try to put the gem in my application via : rake gems:unpack
I get the error when I start my server.
“Gems::FiverunsTuneup-0.8.17::Lib::Fiveruns” is not a valid constant name!
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:116:in `qualified_const_defined?’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:339:in `new_constants_in’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:331:in `collect’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:331:in `new_constants_in’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:215:in `load_file’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:96:in `require_or_load’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:261:in `load_missing_constant’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:468:in `const_missing’
C:/Projects/workspace/Vitrier/vendor/gems/fiveruns_tuneup-0.8.17/rails/init.rb:1:in `evaluate_init_rb’

 
Avatar Rachel G Administator 50 post(s)

Hi Rémi,
There is an issue in Rails with unpacking plugin style gems. You do not need to unpack the TuneUp gem, you can just do the config.gem in your environment.rb file.
Thanks,
Rachel

 
Avatar rgagnon 8 post(s)

Thank you Rachel, But I would like to share the to other without having to tell them to install the gem.
We have plenty of gems and I’d like to put in the app, it makes it easier to keep control of the developper’s setup.
Rémi