当我尝试做:bundle exec cap deploy时,我得到了这个错误
"RVM - Capistrano integration was extracted to a separate gem, \
install: `gem install rvm-capistrano` and remove the `$LOAD_PATH.unshift` line, \
note also the 'set :rvm_type, :user' is now the default (instead of :system)."不幸的是,这些小贴士都不起作用。
这个问题源于当我不得不将我的RVM副本还原到一个旧的副本以使它符合POW的时候。在我这样做之后,这个特性就不再起作用了。这有点道理。
因此,我的问题很简单,我如何重新设计我的卡皮斯特拉诺精确到而不是一个独立的宝石。
我试着卸载,所有的东西,重新安装所有的东西,但这似乎不起作用。
有什么想法吗?
发布于 2012-05-29 18:53:57
我和你有同样的问题。在我的deploy.rb文件中,我不得不注释掉这一行:
$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path.即
# $:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path.发布于 2012-04-25 14:21:21
RVM与POW一起工作,这是已知的问题:https://github.com/37signals/pow/issues/271
最简单的解决方案(在项目dir中):
rvm env . > .powenv只需去使用最新的RVM,POW,rvm-卡皮斯特拉诺创业板-它应该工作得很好。
https://stackoverflow.com/questions/10315986
复制相似问题