go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Troubleshooting -- bundler with specific version
 
Subject: Troubleshooting -- bundler with specific version
Author: Linux
In response to: Rails project's dependency
Posted on: 09/13/2017 10:32:20 PM


Sometimes Rails project need a specific version of bundler to build all of those dependencies, but your environment has only the latest ones. For example, bundlers (<=1.5.3, >=1.3.3) are desired, but you have 1.5.4 installed.

Here is what you can do.

$ gem uninstall bundler
$ gem install bundler --version '1.5.3'



 

> On 09/09/2017 06:30:06 AM Linux wrote:

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
    
    







    References:

  •  


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