Cannot seem to run ./script/server start from upgraded rails 1.2.3 application without error.
To replicate (tested on OS X machine and linux server):
create a simple rails app using rails 1.2.3:
cd /tmp/rails
rails foo
[generates rails 1.2.3 app]
Run ./script/server start
[MONGREL SERVER STARTS OK]
Now upgrade foo app to Rails 2.0 PR:
rake rails:freeze:edge TAG=rel_2-0-0_PR
Try to start server again now that upgrade is complete and local app is frozen to Rails 2.0 PR:
[glenn@mac-mini foo]$ ./script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/private/tmp/rails/foo/vendor/rails/railties/lib/commands/servers/mongrel.rb:16: warning: already initialized constant OPTIONS
/private/tmp/rails/foo/vendor/rails/railties/lib/commands/servers/mongrel.rb:19: undefined method `options' for []:Array (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
from /private/tmp/rails/foo/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
from /private/tmp/rails/foo/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /private/tmp/rails/foo/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
from /private/tmp/rails/foo/vendor/rails/railties/lib/commands/server.rb:39
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./script/server:3
[glenn@mac-mini foo]$