Installing ROR (Ruby on Rails) on windows machine
1. Download Ruby from http://rubyinstaller.org/ and install
2. Check Ruby version using command line : C:\> ruby -v
3. Check gem version using command line : C:\> gem –version
4. Install rails : C:\> gem install rails
5. Then check rails version : C:\> rails -v
Congratulations! You are now on Rails.
Let's create a new demo project
C:\> rails new demo
C:\> cd demo
Run rails server
C:\demo> rails server
If all set well you will be able to see : Rails 5.0.1 application starting in development on http://localhost:3000
In case if you got some error then, you will need to install bundler from http://bundler.io/v1.2/
C:\> gem install bundler
Install all of the required gems from your specified sources:
C:\> bundle install
Have a nice start!
1. Download Ruby from http://rubyinstaller.org/ and install
2. Check Ruby version using command line : C:\> ruby -v
3. Check gem version using command line : C:\> gem –version
4. Install rails : C:\> gem install rails
5. Then check rails version : C:\> rails -v
Congratulations! You are now on Rails.
Let's create a new demo project
C:\> rails new demo
C:\> cd demo
Run rails server
C:\demo> rails server
If all set well you will be able to see : Rails 5.0.1 application starting in development on http://localhost:3000
In case if you got some error then, you will need to install bundler from http://bundler.io/v1.2/
C:\> gem install bundler
Install all of the required gems from your specified sources:
C:\> bundle install
Have a nice start!
No comments:
Post a Comment