This is not the best route unfortunately. You really do want to use
rubygems to manage the gems. This link seems to show a reasonable
route
Once you manage to get something working, before starting any serious
work, I would also highly recommend using rvm. It can be a little
fiddly to get working but is worth the effort.
One final point, Rails 3 with ruby 1.9.2 (on Ubuntu at least) seems to
have startup speed issues. At the moment it may be best to stick to
ruby 1.8.7 (which you may well already have installed via apt, which
is ok). Rails 3 is fine with 1.8.7.
That how-to looks good, but I’d recommend the latest rubygems (1.5.0); I
might be worthwhile to build it from source, if possible. It’s a trivial
process as long as gcc, et al., are installed.
Once you manage to get something working, before starting any serious
work, I would also highly recommend using rvm. It can be a little
fiddly to get working but is worth the effort.
Ditto on rvm. Well worth it for the benefits of having .rvmrc files in
your
project directories, different ruby versions, and different gemsets.
And yes, as someone said above: if you ran ‘rails new app’ and got a
directory named new, this definitely means you have Rails 2.x.x of some
sort, not Rails 3. That’s also why ‘rails server’ is not working, in
Rails 2
you start the server with ‘script/server’ …
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.