New install on Mac server start error

I have installed a Macports Ruby on Rails with MySQL and Mongrel
following the instructions
The server did start fine but now exits with the following Terminal
radarjem:~/newrailsapp jem$ script/server
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at
** Starting Rails with development environment…
/Users/jem/newrailsapp/config/environment.rb:60: undefined method
reqire' for main:Object (NoMethodError) from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
require' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
new_constants_in' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
rails' from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:113:incloaker_’
call' ... 18 levels... from /opt/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
from script/server:3
radarjem:~/newrailsapp jem$
What should I do to repair this?
Any help would be appreciated
Regards Jeremy

Hi Jeremy,

It looks like the issue may be in the environment.rb file of your
rails app “newrailsapp” on line #60. If you change “reqire” to
“require” it should clear you up. Looks to me that the install is
correct. If that doesn’t work try posting the contents of your
environment.rb file here and I’ll have another look.

  • Mike

On Mar 20, 5:04 pm, Jeremy S. [email protected]

Thanks Mike,
The last line was: reqire ‘flickr’
So I changed it to: require ‘flickr’ as you suugested
Now the Mongrel server starts.

My Appreciation,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs