Ruby on Rails Beta 3 Install on Snow Leopard - file not found

后端 未结 7 812
孤街浪徒
孤街浪徒 2020-12-16 11:53

I tried to install the new beta on my system with the command:

sudo gem install rails --pre

but no matter what I tried, I still get this da

7条回答
  •  执念已碎
    2020-12-16 12:10

    If you're looking to do ruby/rails development on Mac, I'd strongly recommend not using the version of ruby/rubygems shipped with your mac. What I do recommend is:

    1. Installing homebrew and using that to manage software packages on your mac.
    2. Install brewbygems, which makes homebrew play nice with rubygems: gem install brewbygems
    3. Install rvm and learn to love the different versions of ruby and rvm's gemsets feature: gem install rvm

    Once you've done that you'll have a pretty robust development environment and you should be able to install any version of rails without a problem. Just keep in mind rails 3 works best using ruby 1.9.2 (install with rvm by running rvm install ruby-head) and is still in beta, meaning it isn't terribly stable and should not be used for anything production grade (yet).

提交回复
热议问题