About Me

My photo
I am adept web developer and designer. I studied engineering at IET Bhaddal, Ropar under Punjab Technical University. I develop my interest in web development at an early stage of Computer diploma. After working with top Mohali-based IT companies since 2005, I am currently working at Global Pueblo Solutions. In my free time, I love to play various sports, traveling with friends or family.

Thursday, December 22, 2016

Installing ROR on Windows 10 Machine

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!

No comments:

Post a Comment