Ruby on Rails Development Environment configuration problems

Source: Internet
Author: User
Tags ruby on rails

As soon as the Japanese rails framework came out, it was really chilling. Our developers never had their own development frameworks. There were few open-source projects, and most of them were immature, in addition, some college students are supported. Now let's talk about the Ruby on Rails framework.

1. Establish the rails3 framework on Windows:

A. the simplest method is to download and install railsinstaller.exe. Run ruby-V to view the version. You can see that the version has been installed.

B. to get the latest version of the rails framework, you 'd better install the relevant software step by step. installation sequence: log on to www.rails.org directly to view related entries. You can download a service software directly, but two of the software you need to install manually are very troublesome: Ruby and devikit.

2. Installing the rails3 framework in Linux:

A. You can find related tutorials by referring to the online materials, but I 'd like to paste them here:

Note: Ruby> = 1.8.7 rubygem> = 2.3.0 rails> = 1.9.0

Search for Linux rails installation on Baidu to find the relevant tutorials, or download the instructions on the official website. The Chinese version is available.

First download Ruby
CD/home/local
Wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.gz
Download the source code package to the local Linux host, decompress it, enter the directory, configure, compile, and install it:
Tar xzvf ruby-1.8.6-p111.tar.gz
CD ruby-1.8.6-p111
./Configure-Prefix =/home/servers/Ruby
Make & make install
First download Ruby
CD/home/local
Wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.gz

Because the significance of open-source in Linux is truly reflected, we recommend that you use Linux. After all, you still need to run it on the Linux server, so we still use Linux. In this case, if we find that the rails framework needs to be changed, we can directly change the source code and compile the code to determine which version we want to change.

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.