[Backgroundrb-devel] Any luck using Rails 2.1 config.gem?
joost at spacebabies.nl
Fri Jun 20 18:21:46 EDT 2008
I've seen Ticket #92 where a load error in the chronic gem pops up.
In that ticket is a mention of using gemsonrails to freeze gems in
vendor/gems. I am using the built-in functionality in Rails 2.1 to do
that; using the config.gem statement in environment.rb.
However when I do this, those gems are not available to backgroundrb:
ruby script/backgroundrb start
1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such
file to load -- packet (LoadError)
What road should I travel in finding a solution:
1 - manually traverse the vendor/gems/* dirs and include all gems there
2 - leaving this to Rails, so load and initialize Rails first (no idea
3 - never bother freezing these gems and keep them in the system
I am tempted to travel road #3 since chronic, packet and hoe are only
required for backgroundrb and have nothing to do with my Rails app.
But some hosters might find it problematic to install gems.
More information about the Backgroundrb-devel