How to install Rails


  • administrators
    | 64704 points

    With Laragon 3.1, working with Rails is a pleasure. Just install the Laragon - RubyOnRails edition, then open Terminal (Menu > Laragon > Termial) and type:

    gem install rails
    

    If you want to install a specific version of Rails, type:

    gem install rails -v 5.0.3
    

    Working with Rails:

    1. Create an app:
    rails new coolapp
    
    1. Start it:
    cd coolapp
    rails s
    

    That's all fork!

    Note: with Laragon, you can work with different version of Rails - just add another ruby version:
    How to add another Ruby version


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.