我正在尝试使用本指南在我的树莓派上设置dashing.io:https://github.com/mivok/squirrelpouch/wiki/dashing-pi
我使用sudo apt-get install ruby ruby-dev
安装ruby-dev,而不是使用echo 'gem: --no-rdoc --no-ri' >> ~/.gemrc
sudo gem install bundler dashing
在安装划线期间,我收到以下错误:
ERROR: Error installing dashing:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
Gem files will remain installed in /var/lib/gems/1.9.1/gems/eventmachine-1.0.3 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/eventmachine-1.0.3/ext/gem_make.out`
我发现了几个关于这个错误的类似帖子,但是每个解决方案都是安装ruby-dev,我已经完成了。我还试图运行sudo apt-get install ruby1.9.1-dev
。此命令告诉我已安装此版本的ruby-dev。我还尝试运行rails -v
,但获得-bash: rails: command not found
我还能做些什么来解决这个问题?
谢谢!