Hi All,
I’m a newbie and I’m soooo confused at the moment!
Here’s my setup:
-
I’ve installed Ruby 1.8 on an Ubuntu 7.10 platform. I used apt to
install that. -
I downloaded rubygems_1.1.1 and installed that (tar -xzf, then ruby
setup.rb) -
I installed rails (gem install rails --include-dependencies)
-
I installed mongrel (gem install mongrel --include-dependencies)
-
I created a test dir (cd; rails mytest)
-
I tried to start mongrel (cd mytest; ruby script/server)
I get a load error:
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails 2.1.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:502:in
`load’: no such file to load – mongrel_rails (MissingSourceFile)
NOTE: I can start mongrel using /usr/bin/mongrel_rails and I get no
errors.
I put a puts $: statement at the end of config/boot.rb and indeed, the
path to the mongrel gem is missing. What’s up? Where/how do I fix
this?
Thanks in advance.
– David