Install Ruby and rails

Source: Internet
Author: User

To install Ruby on Rails, first install Ruby, then install devkit, and then install rails;

But when I installed Ruby, I directly installed rails, So I reported an error. I recorded the entire process in the order of my error routes so that people who encountered the same problem could refer to it, I am a cainiao. I don't have many fancy things. What should I do? I should record them for future use;

  1. Install Ruby

    Https://www.ruby-lang.org/en/downloads/

    Three checked items are selected during installation.

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/48/6A/wKiom1QH1lWzDHhOAABQkLSDxy8716.jpg "Title =" e46'qe%g%_olnrwzcvk%7hk.jpg "alt =" wkiom1qh1lwzdhhoaabqklsdxy8716.jpg "/>

  2. Install rails

    Gem install rails

    Error:

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/48/69/wKiom1QH1QLxQJynAAJEZWaadYU228.jpg "Title =" maetf0000286l0@z812txhruqu.jpg "alt =" wkiom1qh1qlxqjynaajezwaadyu228.jpg "/>

  3. Follow the prompts to download devkit at http://rubyinstaller.org/downloads

    After downloading, install it on the d drive, and put Ruby on the D Drive. I think this should be random.

  4. Follow the preceding error message to go to https://github.com/oneclick/rubyinstaller/wiki/development-kit.

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/48/69/wKiom1QH1dGwAUayAADqrRxXr-8287.jpg "Title = "~ Yo2h4h66] se0 {(w2azf _~ U.jpg "alt =" wKiom1QH1dGwAUayAADqrRxXr-8287.jpg "/>

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/48/6A/wKiom1QH1gqhHh3PAACSSHUW1x4513.jpg "Title =" _r72z(qo'policy_akedw@l'1lt.jpg "alt =" wkiom1qh1gqhhh3paacsshuw1x4513.jpg "/>

  5. Run the gem install rails command.


    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/48/6A/wKiom1QH1ofil-5OAAJHY05GoX8068.jpg "Title =" llus5i6v@v@wwx?wgayvb=u.jpg "alt =" wKiom1QH1ofil-5OAAJHY05GoX8068.jpg "/>

  6. 650) This. width = 650; "src ="/e/u261/themes/default/images/spacer.gif "style =" Background: URL ("/e/u261/lang/ZH-CN/images/localimage.png") No-repeat center; Border: 1px solid # DDD; "alt =" spacer.gif "/> error:

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/48/6A/wKiom1QH2GCACu33AABnPPNEVgw837.jpg "Title =" nrsz1_dyxihfy@ah@l}qepsq.jpg "alt =" wkiom1qh2gcacu33aabnppnevgw837.jpg "/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/48/6B/wKioL1QH2PLSmZqYAAKqJ7_q6uc663.jpg "Title =" fehxnxtjpmp%x%f1m4%6%65.jpg "alt =" wkiol1qh2plsmzqyaakqj7_q6uc663.jpg "/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/48/6C/wKioL1QH2e6TDJFsAAA0OY0WLzw440.jpg "Title =" 6ip ~ Z42441%%'4nsm_zt2@%p9.jpg "alt =" wkiol1qh2e6tdjfsaaa0oy0wlzw%.jpg "/>

This article from the "monkey riding Tree" blog, please be sure to keep this source http://qihoushangshu.blog.51cto.com/7872138/1548635

Install Ruby and rails

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.