Ubuntu Local Ruby Server Help

Hello everyone,

I'm extremely new to Ubuntu, and kind of new to Ruby on Rails. I have a
question that I was hoping someone come kindly help me with.

My company has recently purchased a Facebook script that has been
developed with Ruby on Rails and I am trying to setup the development
environment on my local machine. However, the server won't run.

At the moment I'm not sure if I've installed all the necessary gems, or
even if the gems install to the correct location automatically.

In the Ubuntu Terminal, I navigated to my Ruby Project folder, and tried
a "ruby script/server"

Here is what it responded with:

root@ubuntu:/home/ardavis/rubydev/isotx/current# ruby script/server
`chdir': No such file or directory -
/usr/local/lib/ruby/gems/1.8/specifications (Errno::ENOENT)
  from ./script/../config/../config/preinitializer.rb:3:in `require'
  from ./script/../config/../config/preinitializer.rb:3
  from ./script/../config/boot.rb:28:in `load'
  from ./script/../config/boot.rb:28:in `preinitialize'
  from ./script/../config/boot.rb:10:in `boot!'
  from ./script/../config/boot.rb:129
  from script/server:2:in `require'
  from script/server:2

I'm not understanding why there are no gems at that location. Can anyone

Andrew Davis