Determine Location Of Ruby Gems

感情迁移 提交于 2019-12-20 09:39:08

问题


How do I determine the location of my ruby gems?


回答1:


you can try

gem which rails

to fetch location for particular gem, or

echo $GEM_HOME

to fetch home dir of your gems




回答2:


gem environment

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




回答3:


With budler you can do:

bundle show <gem>

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



来源:https://stackoverflow.com/questions/11109279/determine-location-of-ruby-gems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!