I just installed a new site onto my server that uses Rails 2.3.4. In order to get it running, I had to upgrade to 4.0.10 with lsapi 3.5 and then manually transfer the RailsRunner.rb files over into /usr/local/lsws/fcgi-bin. That seemed to be the combo that worked,(though I did a lot more tweaking)
Now I have a bunch of older sites using Rails 1.2.3 and Mephisto 0.7x that are not working right. I've tweaked them to use the right rails gem and done a rake rails:update. Now they work partially. For some reason though, I get a 500 error every once in a while. It looks like the first time you hit an uncached page or something.
Here's my error. What's up with that? It almost seems like the new RailsRunner.rb isn't compatible or something..?
Thanks for your help!
-Chris
Now I have a bunch of older sites using Rails 1.2.3 and Mephisto 0.7x that are not working right. I've tweaked them to use the right rails gem and done a rake rails:update. Now they work partially. For some reason though, I get a 500 error every once in a while. It looks like the first time you hit an uncached page or something.
Here's my error. What's up with that? It almost seems like the new RailsRunner.rb isn't compatible or something..?
Code:
MissingSourceFile (no such file to load -- application):
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:104:in `require_or_load'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:60:in `depend_on'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:442:in `require_dependency'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:110:in `prepare_application'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:39:in `dispatch'
/usr/local/lsws/fcgi-bin/RailsRunner.rb:98
Rendering ./config/../public/500.html (internal_server_error)
-Chris