View Single Post
'm on Leopard with the Development environment installed.

I try both from the zip and from a fresh checkout and got the following error:


Exiting
./script/../config/../vendor/rails/railties/lib/commands/servers/mongrel.rb:15: warning: already initialized constant OPTIONS
./script/../config/../vendor/rails/railties/lib/commands/servers/mongrel.rb:18: undefined method `options' for []:Array (NoMethodError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39
from script/server:3:in `require'
from script/server:3

I'm quite experienced in programming but don't know anything about ruby... but I would be happy to learn.

Thanks for your help.

Here is the full stack trace.

ruby 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
** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
LOAD_PATH = ./script/../config/../vendor/rails/activesupport/lib/active_support/vendor./script/../config/../vendor/rails/activesupport/libscript/../config/../app/controllers/script/../config/../appscript/../config/../app/modelsscript/../config/../app/controllersscript/../config/../app/helpersscript/../config/../componentsscript/../config/../configscript/../config/../libscript/../config/../vendor/Applications/omnifocus-ui/svn/trunk/vendor/rails/railties/builtin/rails_info/script/../config/../vendor/rails/railtiesscript/../config/../vendor/rails/railties/libscript/../config/../vendor/rails/actionpack/libscript/../config/../vendor/rails/activesupport/libscript/../config/../vendor/rails/activerecord/libscript/../config/../vendor/rails/actionmailer/libscript/../config/../vendor/rails/actionwebservice/lib/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/bin/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/daemons-1.0.7/bin/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/daemons-1.0.7/lib/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/fastthread-1.0/bin/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/fastthread-1.0/lib/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/gem_plugin-0.2.2/bin/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/gem_plugin-0.2.2/lib/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/cgi_multipart_eof_fix-2.2/bin/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/cgi_multipart_eof_fix-2.2/lib/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/Library/Ruby/Site/1.8/Library/Ruby/Site/1.8/powerpc-darwin9.0/Library/Ruby/Site/1.8/universal-darwin9.0/Library/Ruby/Site/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/powerpc-darwin9.0/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0.
Environment:
MANPATH = /usr/share/man:/usr/local/share/man:/usr/X11/man
TERM_PROGRAM = iTerm.app
TERM = xterm-color
SHELL = /bin/bash
TMPDIR = /var/folders/f+/f+4JTe3FEUS87oJtNZATjU+++TI/-Tmp-/
Apple_PubSub_Socket_Render = /tmp/launch-Cl4Ifc/Render
USER = chris
COMMAND_MODE = legacy
SSH_AUTH_SOCK = /tmp/launch-SaRXb5/Listeners
__CF_USER_TEXT_ENCODING = 0x1F5:0:91
PATH = /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PWD = /Applications/omnifocus-ui/svn/trunk
SHLVL = 1
LMILAUNCHAGENTFIXER_GOODGUISESSION = 1
HOME = /Users/chris
LOGNAME = chris
DISPLAY = /tmp/launch-Yy8LcS/:0
_GOOGLE_GILD_RUNTIME_FRAMEWORK_ABSOLUTE_PATH_ = /Library/Google/Frameworks/Gild.framework
SECURITYSESSIONID = d073e0
OLDPWD = /Applications/omnifocus-ui/svn
_ = /usr/bin/ruby
RAILS_ENV = development
Exiting
./script/../config/../vendor/rails/railties/lib/commands/servers/mongrel.rb:15: warning: already initialized constant OPTIONS
./script/../config/../vendor/rails/railties/lib/commands/servers/mongrel.rb:18: undefined method `options' for []:Array (NoMethodError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39
from script/server:3:in `require'
from script/server:3


P.S.: This is a cross-post with the ruby sourceforge forum, but because the trafic seems to be very low there, I decided to also post it here.