Build a Ruby On Rails platform using CentOS
System CentOS6.5 x64
Ruby On Rails is an open-source Web framework written in Ruby, similar to J2EE and PHP. Ruby On Rails is a very beautiful Web development framework and incorporates the essence of agile development: conventions
Recently took over a mobile phone project. In the process of setting up the environment, some problems have been encountered, recorded in the following, and a personal solution.Development environment Win2003; JetBrains RubyMine6.3.31, download the latest version of Ruby, (Rubyinstaller-2.0.0-p598.exe, the latest version)Official website:http://rubyinstaller.org/downloads/2. Install RubyDouble-click Install, the installation process appears the follow
Build a Ruby on Rails environment on Kokko's Windows Platform
Use Ruby on Rails in Windows XP
1. Install Ruby,
Ruby on in win environmentE-click installer package, which is
Http://www.ruby-lang.org/en/downloads,
After the installation, click "Install", click "Next", "I agree
Recently took over a mobile phone project. In the process of setting up the environment, some problems have been encountered, recorded in the following, and a personal solution.Development environment Win2003; JetBrains RubyMine6.3.31, download the latest version of Ruby, (Rubyinstaller-2.0.0-p598.exe, the latest version)Official website:http://rubyinstaller.org/downloads/2. Install RubyDouble-click Install, the installation process appears the follow
I have always been very interested in Ruby on Rails. I want to see something that has been praised by many people, but I have been working on windows development, it is still a headache to build the development environment of Ruby on Rails, Which is why Ruby on rails has not been studied. I just saw InstantRails In jav
two commands above will get the latest build of two versions.
4.
set the default Ruby and gemset: (The following will be used to 1.9.2, this version of the time is longer, Some components are more stable)RVM--default Use 1.9.2RVM A set of gem management mechanism, that is , gemset, the specific theory is not much to say, you crossing Internet cafes. So
Installation will not say, the official website has, but today released ruby2.3, so updateEnter the. Rbenv directory, perform a git pull update, but update rbenv, execute rbenv install-l and do not have the latest 2.3.0 release version.Then I looked at the git repository for the Ruby-build plugin, with 2.3 code. Suspect this also to be updated, so.Go to the. Rbenv/plugins/
Build Ruby on Rails in Ubuntu
Ruby on Rails is an open-source Web framework written in ruby., Similar to J2EE and PHP. Ruby on Rails is a very beautiful web development framework and incorporates the essence of agile development:Conventions greater than configurations. You
D:ror directory (the directory is built by me, the reader can freely )Install MySQL for Ruby driver, command line type: Gem install Mysql-2.8.1.gem6. Go to http://download.csdn.net/detail/luoyeyilin/3614807 download Instantrails-2.0-win.zip extract, search under mysql.so,80k size file Copy the mysql.so to the C:\RUBY\LIB\RUB
gem install rubygems-update
3. Install Rails Framework
sudo apt-get install Rails
At this point, Ruby's running environment is over.
Second, development environment
Development must choose an easy-to-use tool. There are a lot of tools to support ruby Development on the web, but I still want to use eclipse. So find out if there are eclipse plug-ins to support ruby
Build a ruby on rails Development Environment on win7, win7rails
For beginners who are new to a new technology or language, building a learning environment is always a tough topic, especially in the domestic network.
After more than 10 hours of hard work, I finally built a ruby + rails + mysql environment in win7. There are no detailed steps in this article, I do
The reason for the error is that build tools is required when installing XXXXX, but not in the system. The resolution is also given in the error message:1. Go to http://rubyinstaller.org/downloads/to download dev Kit–devkit-tdm-32-4.5.1-20101214-1400-sfx.exe2. Follow http://github.com/oneclick/rubyinstaller/wiki/Development-Kit/to install dev KitThe main installation steps are as follows:1. If the Legacy Dev Kit is already installed in the original sy
For newcomers to a new technology and language, building a learning environment is always a difficult topic, especially in the domestic network, the difficulty is greatly increased.After about more than 10 hours of hard fighting, I finally build a successful ruby+rails+mysql environment in Win7, this article does not have detailed steps, tossing the time did not leisurely blog, at the same time do not want
Construction of development environment under Windows system
1. Remote Installation
Step 1: Download and install the Ruby one-click installation package
Download the latest Ruby 1.8.4-16 one-click installation package with a download address of :
http://rubyforge.org/projects/rubyinstaller/
Run the installation file after downloading, and click the Next button to install it by default. When
1, Aliyun a key to install the Web-wide environment
Download one-click to install Web full-environment Sh.zip compression packUpload to the server, decompression, execute the script, detailed steps described here
$ mv sh.zip/home/tmp/ cd/home/tmp
$ unzip sh.zip
$ chmod-r 777 Sh cd SH
# arbitrary selection of a method to execute a script
# method One
$./install.sh
# Method Two
$/install_nginx_xxx.sh
$./install_mysql_xxx.sh
2, install RVM and the specified
setup. rb
Sudo gem update -- system
Cd ..
Rm-fr rubygems *
4. Install Rails
Sudo gem install rails-v 1.1.6-y
5 configure RadRails
Click Application> program> radrails to start RadRails.
Choose windows> preferences to go to settings.
Click Rails-> Gems-> Rails on the left, and then click the Add button on the right to Add a Rails Path: Enter Rails by Name, enter Path/usr, and click OK.
Similarly, click Rail
created.
Configuring Rails Projects
By default, the build project skeleton can already be used to start development projects, but some configurations need to be adjusted depending on the actual requirements. such as time zone, or use MySQL.
Set time zone
The default Rails uses the UTC time zone and if the project is only used domestically, this results in a data-related value of 8 hours later than the domestic time. So if you are not an internati
Written in front:
The first time, write serial Ah, hope to oneself and you reader a little help, understand a little bit rubyonrails development on the situation. Can help a little, that is the reason to insist. ^_^
Encyclopedia of Life: www.eol.org
The website is based on ROR, the content is to do interactive Life Encyclopedia Museum, this article mainly introduces, if through this website provides the code, establishes the ROR website, and learns, this website uses some, ror most common tec
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.