How can I remove Ruby on Rails 4 beta?

后端 未结 5 1337
不思量自难忘°
不思量自难忘° 2021-02-15 12:49

I\'m new to Ruby and Rails and I installed the latest beta version of Rails 4 on my Mac, before I installed RVM to manage my versions. The Rails 4 beta is becoming a huge pain i

5条回答
  •  独厮守ぢ
    2021-02-15 13:02

    I had the same problem with Rails 4.0.0 final version. I used all what was mentioned before with no success. What helped was listing all my gems, I'm using Windows, so it was:

    >pik gem list
    

    Then I checked the rails versions. It showed rails 3.2.14 (what I wanted) with railties 4.0.0, 4.0.0.rc2 and 3.2.14.

    I then ran

    gem uninstall railties
    

    and uninstalled all other versions except 3.2.14 and now it works well. The problem was that when Rails 3.2 installation is called, the latest (or all) versions of railties is installed.

提交回复
热议问题