I inherited a rails membership database that was basically working,
though it came with no documentation.
For context: the database manages members of a CSA (community
supported agriculture) organization. So there is a lot specialized
stuff like multiple waiting lists and volunteer hours to keep track of
and invoices to generate. The whole thing was built by a volunteer who
is long gone, or mostly gone. He definitely doesn’t have time to teach
me rails. He turned over the database and I tried to get it going on
Dreamhost, but … nope.
First off, it won’t launch:
[0 [email protected] ourCSA]$ ./public/dispatch.fcgi
activate': can't activate actionpack (= 1.13.6), already activated actionpack-2.0.2] (Gem::Exception) from /usr/local/lib/site_ruby/1.8/rubygems.rb:335:inactivate’
each' from /usr/local/lib/site_ruby/1.8/rubygems.rb:334:inactivate’
require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:496:inrequire’
new_constants_in' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/dependencies.rb:496:inrequire’
from public/dispatch.fcgi:21:in `require’
Some searching around suggests to me that the problem is connected to
(maybe?) a change in Rails versions. I’m looking at this:
And thinking that I might be jumping to conclusions, though line 55 of
environment.rb does say …
55 require ‘action_web_service’
Any caveats or suggestions? Is there a better way to approach this?