go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Rails project's dependency
 
Subject: Rails project's dependency
Author: Linux
In response to: Install Rails
Posted on: 09/09/2017 06:30:06 AM

Before we can start to build your Rails project, you normally need to have the followings available:

  • Database -- which is used to store Rails project's objects.

    For example, PostgreSQL

  • NodeJS -- a JavaScript runtime
    $ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
    $ sudo apt-get install  nodejs
    


    $ nodejs -v
    
    v6.11.3
    


  • Bundler -- which is used to manage project's version control.
    $ gem install bundler
    
    Successfully installed bundler-1.15.4
    Parsing documentation for bundler-1.15.4
    Done installing documentation for bundler after 6 seconds
    1 gem installed
    
    $ bundler -v
    Bundler version 1.15.4
    
    




     

    > On 09/09/2017 02:08:32 AM Linux wrote:

    With Ruby available, the RubyGems packaging system should be included. You can check by:
    $ gem -v
    
    2.6.8
    


    Then you can install Rails (which is a gem) by:
    $ gem install rails
    


    Later on, you can update your Rails by:
    $ gem update rails
    



    If the installation process goes well, you should be able to run the version checking:
    $ rails -v
    
    Rails 5.1.4
    






    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.