Install Ruby on Rails on centos

Source: Internet
Author: User
Tags ruby on rails
Recently I have studied SVN using the HTTP protocol, but most of them are using Apache to integrate SVN on the Internet. I don't want to use Apache + SVN. I finally found many pages on Google, but it is required to install Ruby on Rails first, so we have the following article. system: centos 5.5 required software: ruby-1.9.3-rc1.tar.gz rubygems-1.8.23.tgz1. install rubywget http://ruby.taobao.org/mirrors/ruby/1.9/ruby-1.9.3-rc1.tar.gztar zxf ruby-1.9.3-rc1.tar.gz & CD ruby-1.9.3-rc1. /configure -- prefix =/usr/local/ruby -- enable-pthreadmake & make install and add the environment variable VI/etc/profilepath = $ path to Ruby: /usr/local/Ruby/binexport path verification: Ruby-V shows that Ruby is successfully installed. 2. install rubygemswget http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-1.8.23.tgztar XF rubygems-1.8.23.tgz & CD rubygems-1.8.23ruby setup. if RB appears, you can install rails on ruby3. normally, run gem install rails -- include-dependencies to automatically install rails on Ruby, of course, the premise is that your machine can access the Internet. gem install rails -- include-dependencies if a file 'lib 'Not Found error occurs, you can execute the following command to solve the problem of GEM install rdoc. This is a rails solution that is too fast to develop, the reason why the rdoc module compiled by default cannot keep up. then proceed to the Gem install rails. 4. verify that Ruby on Rails is installed with rails-V. You can see that rails has been successfully installed.

Install Ruby on Rails on centos

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.