I upgraded my ruby to 1.9.2 and now when I try to start up a Rails 2.3.5 app with script/server I get this error:
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- script/../config/boot (LoadError) from <internal:lib/rubygems/custom_require>:29:in `require' from script/server:2:in `<main>'
But script/server:2 definitely looks correct, and the file config/boot.rb exists in the right place.
Replacing line 2 of script/server with
require File.expand_path('../../config/boot', __FILE__)
works for me (taken from Rails 3)
2.1m questions
2.1m answers
60 comments
57.0k users