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.