用户级捆绑程序Gemfile [英] User-level bundler Gemfile

查看:64
本文介绍了用户级捆绑程序Gemfile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想在Bundler中拥有一个Gemfile,该Gemfile会将我自己的个人Gemfile设置为总是捆绑成束...

I'd love to have a Gemfile in Bundler that just sets my own personal Gemfiles to always be bult into bundles...

aka ruby​​-debug,交互式-editor,依此类推。

aka ruby-debug, interactive-editor, and so forth.

有什么想法吗?

推荐答案

执行此操作的一种方法是创建不同的环境

One way to do this is to create different evnironments

group :scott do 
end

然后

捆绑--with-env = scott

bundle --with-env=scott

这篇关于用户级捆绑程序Gemfile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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