How can I make Rails work when it is installed as a gem in Ubuntu?
- by Koning WWWWWWWWWWWWWWWWWWWWWWW
I have installed Ruby on Rails in Ubuntu 10.04:
$ sudo gem install rails
$ echo $PATH prints:
/home/koningbaard/.gem/ruby/1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
But when I run $ rails --version, BASH tells me that rails is not currenly installed, and that I can install it with apt-get, which I don't want (I want it installed through gem).
Can anyone help me where I can find it and how I can add it to my PATH? Thanks