如何在我的Gemfile中指定本地.gem文件? [英] How do I specify local .gem files in my Gemfile?

查看:118
本文介绍了如何在我的Gemfile中指定本地.gem文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个通过 gem install xx.gem 安装的gem文件。我可以告诉Bundler使用它们吗?还是必须指定源路径?

I have a couple of gem files which I install via gem install xx.gem. Can I tell Bundler to use them? Or do I have to specify the source path?

推荐答案

默认情况下,Bundler会首先检查您的系统,如果找不到它将使用Gemfile中指定的源。

By default Bundler will check your system first and if it can't find a gem it will use the sources specified in your Gemfile.

这篇关于如何在我的Gemfile中指定本地.gem文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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