Install rubyonrails under Fedora16

Source: Internet
Author: User
After installing rubyonrails under Fedora16, I recently wrote some rails applets in windows. The problem was solved one by one. Finally, I firmly believed that windows is not suitable for rubyonrails development. So I found another computer with Fedora16 installed...
Install ruby on rails in Fedora 16 and recently write some rails applets in windows. The problem is one by one, finally, I firmly believe that "windows is not suitable for ruby on rails development ". So I found another computer with Fedora 16 installed (the system is not installed by me, it is not convenient to reinstall, so I had to use it. I originally wanted to use CentOS 6.3) and installed RoR, it is quite easy to use, so record the installation process.
You can use the source code and rvm to install RoR in Linux. If you use the source code for installation, you need to solve the dependency by yourself. However, many libraries of the system I use are not installed, so I chose the rvm installation method. 1. install rvm www.2cto.com $ curl-L get. rvm. io | bash-s stable2. make the rvm command take effect $ source ~ /. Rvm/scripts/rvm3. view available ruby versions $ rvm list known 4. the latest available version is 1.9.3, so the default source for installing this version $ rvm install 1.9.35.gem is http://rubygems.org, due to some factors on the Chinese network, domestic users often encounter errors when using the gem command to install things, so replace the default gem source # view the current gem Source $ gem sources-l # if there is no accident, the above Command will print http://rubygems.org/$$gem sources-r http://rubygems.org/#taobao's source gem sources-a http://ruby.taobao.org/6. install rails $ gem install rails and use gem install to install other things To install. Www.2cto.com attachment: Installation Guide on the official rvm website
Https://rvm.io/rvm/install/
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.