`
fantaxy025025
  • 浏览: 1247582 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类

每个命令都有bundle exec的麻烦

 
阅读更多

 

问题:

每次都得搞这个东西bundle exec放在命令前面,直接污染了命令以及提示以及参数等。很是烦人。

why do we use it?

参考官方的提示,显示区别如下:bundle-exec - Execute a command in the context of the bundle.

This command executes the command, making all gems specified in theGemfile(5) available to require in Ruby programs.

 

其他人也有问的:difference between running rake command with and without bundle exec

 

解决:

  #1 无需解决,就这样。

  #2 找这个插件:https://github.com/mpapis/rubygems-bundler

 

=

=

+

=

=

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics