【发布时间】:2014-10-09 13:11:49
【问题描述】:
我目前正在尝试让https://github.com/heroku/umpire 在我的 Ubuntu 机器上使用石墨在本地工作。 我在 Ubuntu 12.04 版本上做了以下步骤:
- git 克隆https://github.com/heroku/umpire
- cd 裁判
- sudo apt-get install ruby-rvm
- sudo rvm install ruby-1.9.2-p180
- sudo apt-get install ruby-bundler
在 Gemfile 中产生错误的行:
gem 'rack-timeout', git: "https://github.com/freeformz/rack-timeout.git"
这是我在终端中遇到的错误:
/home/vagrant/umpire/Gemfile:9:in `evaluate': compile error (SyntaxError)
/home/vagrant/umpire/Gemfile:9: syntax error, unexpected ':', expecting $end
gem 'rack-timeout', git: "https://github.com/freeformz...
^
from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:17:in `build'
from /usr/lib/ruby/vendor_ruby/bundler.rb:136:in `definition'
我一直在尝试解决这个问题,但我对 Ruby 并不是特别熟悉。有谁知道如何解决这个问题?
提前感谢您的帮助。
【问题讨论】:
标签: ruby ubuntu heroku gem graphite