【发布时间】:2014-06-11 04:39:52
【问题描述】:
我正在尝试将带有 capistrano 3 的 Rails 4 应用程序部署到 Ubuntu 12.04。我正在使用 capistrano3-puma gem 来处理配置 puma,但是当它尝试 bundle exec puma 时出现此错误:
Gemfile syntax error: (Bundler::GemfileError)
/srv/photo_album/releases/20140607043918/Gemfile:41: syntax error, unexpected ':', expecting kEND
...sprockets_better_errors', git: 'git@github.com:RobinClowers/...
我可以在这台机器上bundle exec rails 很好,所以我认为还有其他事情发生。该错误看起来像 ruby 1.8 试图解析 1.9 哈希语法...
【问题讨论】:
-
请发布您的完整 Gemfile
-
这是我的 Gemfile 的要点:gist.github.com/RobinClowers/f19cf819d2fb34ff89e1
标签: ruby-on-rails ruby bundler capistrano3 puma