How to install Ruby on Rails 3.0 on Ubuntu 10.10?

后端 未结 8 1359
北海茫月
北海茫月 2020-12-24 04:18

After installing Ruby and Ruby Gems:

$ sudo apt-get install ruby rubygems
...
$ ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]
$ gem -v
1.3.7
         


        
8条回答
  •  有刺的猬
    2020-12-24 04:35

    I'm guessing rails is installed just fine but the gem-folder is somehow not setup in your PATH. Do a search somewhat like this find / -name *rails* | grep bin and check if that yields any results; if so check if the path rails is located in is also in your PATH. (echo $PATH)

提交回复
热议问题