I've been working with Rails 3 for some time now and never came across an answer for the difference between running bundle
and bundle install
to install gems in your Gemfile
.
我已经使用Rails 3一段时间了,从来没有遇到过运行bundle和bundle install以在Gemfile中安装gem的区别的答案。
Is there any difference between the two commands?
这两个命令有什么区别吗?
1 个解决方案
#1
33
No. install
is just the default option for the bundle
command. Don't run either in your Gemfile, however, just specify the gem "fubar"
there -- bundler knows how to read and process that file.
编号安装只是bundle命令的默认选项。不要在你的Gemfile中运行,但是,只需在那里指定gem“fubar” - bundler知道如何读取和处理该文件。
#1
33
No. install
is just the default option for the bundle
command. Don't run either in your Gemfile, however, just specify the gem "fubar"
there -- bundler knows how to read and process that file.
编号安装只是bundle命令的默认选项。不要在你的Gemfile中运行,但是,只需在那里指定gem“fubar” - bundler知道如何读取和处理该文件。