含义capistrano
我想通过ruby
安装rvm
(和bundler
),一些宝石,并使用它们执行一些任务。这甚至可能吗?当我尝试使用rvm1-capistrano3
gem安装gem时,它会失败:
Installing light_resizer (0.2.0)
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
如果我在上面提到的gem旁边使用capistrano-bundler
,将bundle_bins
设置为[]
(以便能够安装bundler
),我就无法运行之后的任务如deploy:assets:precompile
。
答案 0 :(得分:0)
我所做的就是使用capistrano-bundler
,但set :bundle_bins, [:rake]
,rake
就是我所需要的。可能不是一个完美的解决方案,但它是最后一次完美的时候......:)