Determine Location Of Ruby Gems

后端 未结 3 1351
别跟我提以往
别跟我提以往 2021-02-01 12:50

How do I determine the location of my ruby gems?

相关标签:
3条回答
  • 2021-02-01 13:15

    you can try

    gem which rails
    

    to fetch location for particular gem, or

    echo $GEM_HOME
    

    to fetch home dir of your gems

    0 讨论(0)
  • 2021-02-01 13:25
    gem environment
    

    ...should give you all the info you need.

    0 讨论(0)
  • 2021-02-01 13:30

    With budler you can do:

    bundle show <gem>
    

    Reference: http://bundler.io/v1.1/bundle_show.html

    0 讨论(0)
提交回复
热议问题