1. Before we move forward with installing Rails, take a moment to check for updates to the Ruby gems with the following command:
2. And then check for updates to the RubyGems software itself with the following command:
3. Installing Rails is as easy as typing the following into the system console and pressing Return:
The -v part of the command allows you to choose which version of Rails you would like to install (we installed 4.2.6 here). The system will install the Rails gems, which will take a few minutes or more.
4. Once Rails is successfully installed, use the following command to check the Rails version:
The system console should respond:
If it does, you have successfully installed Rails!
Previous post: Installing Java Development Kit (OpenJDK)
Next post: Setting up the MySQL database
# gem update2. And then check for updates to the RubyGems software itself with the following command:
# gem update --system3. Installing Rails is as easy as typing the following into the system console and pressing Return:
# gem install rails -v 4.2.6The -v part of the command allows you to choose which version of Rails you would like to install (we installed 4.2.6 here). The system will install the Rails gems, which will take a few minutes or more.
4. Once Rails is successfully installed, use the following command to check the Rails version:
# rails -vThe system console should respond:
Rails 4.2.6If it does, you have successfully installed Rails!
Previous post: Installing Java Development Kit (OpenJDK)
Next post: Setting up the MySQL database
really Good blog post.provided a helpful information.I hope that you will post more updates like this
ReplyDeleteRuby on Rails Online Training