如何在不强迫协作者的情况下在本地使用 gem? [英] How can I use a gem locally without forcing it on collaborators?

查看:29
本文介绍了如何在不强迫协作者的情况下在本地使用 gem?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个协作 Rails 项目,我想利用 Thoughtbot 出色的 vim-rspec gem 在我自己的开发环境中没有污染项目的 Gemfile(没有多少合作者使用 Vim).

I'm working on a collaborative Rails project and I'd like to make use of Thoughtbot's excellent vim-rspec gem in my own development environment without polluting the project's Gemfile (not many of the collaborators use Vim).

推荐答案

vim.rspec 建议将其安装为 vundle.它不是一个宝石,而是一个插件.

vim.rspec recommends it is installed as a vundle. It isn't a gem but more of a plugin.

主页上有安装 vundle 的说明.如果你在 rails 项目之外本地安装它,它不会影响你的合作者.

There are instructions to install vundle on the homepage. If you install it locally outside of the rails project it won't affect your collaborators.

这篇关于如何在不强迫协作者的情况下在本地使用 gem?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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