宝石安装在哪里? [英] Where do gems install?

查看:122
本文介绍了宝石安装在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编辑其中一个gem的配置文件,但找不到它。我不知道过去我是如何做到这一点的。 $ b看看你的gem环境。
$ b

在终端运行 gem env



您应该看到一个条目安装目录,但也有 GEM PATHS ,这是它从当前环境加载所有宝石的地方。


I'm trying to edit one of the gem's config files and I can't find it. I'm not sure how I did this in the past.

解决方案

Look at your gem environment.

In a terminal run gem env

You should see an entry INSTALLATION DIRECTORY, but there is also GEM PATHS which is where it's loading all your gems from in your current environment.

这篇关于宝石安装在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆