Where do gems install ?



  • 2 Answer(s)

      Using gem environment It  terminal run gem env  the entire  INSTALLATION DIRECTORY,  but there is also GEM PATHS which loading in current environment.

    Answered on January 8, 2019.
    Add Comment

    Rvm: 

    $ rvm gemdir
    

    or

    echo $GEM_HOME
    

    Bundler:

    $ bundle show --paths
    

    specific gem,

    $ bundle show 'gem_name'
    

    Gem: 

    $ gem env
    

    on specific gem, 

    $ gem which 'gem_name'
    

    Answered on January 8, 2019.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.