[英]Issues using fxruby on OS X Mavericks
I am trying to install the fxruby gem, but when I try to require it, I get this error message: 我正在尝试安装fxruby gem,但是当我尝试安装它时,出现以下错误消息:
LoadError: cannot load such file -- fox16
from /usr/local/Cellar/ruby/2.0.0 p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /usr/local/Cellar/ruby/2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from (irb):2
from /usr/local/Cellar/ruby/2.0.0-p247/bin/irb:12:in `<main>'
I have homebrew, command line tools, and fox installed on my system. 我的系统上安装了自制软件,命令行工具和Fox。 I am using ruby 2.0.0 on OS X Mavericks.
我在OS X Mavericks上使用ruby 2.0.0。 Any tips?
有小费吗?
Not sure if this will help, but 不知道这是否有帮助,但是
turns out mavericks needs ruby 2.1 (I believe). 事实证明,特立独行者需要使用ruby 2.1(我相信)。
try entering these lines 尝试输入这些行
gem source -r https://rubygems.org/
gem source -a http://rubygems.org/
sudo gem install fxruby
Got this information from an update note on this document (same process) https://www.dropbox.com/s/db3fy100u0kaz63/Creating_an_FXRuby_Build_Environment_in_Lion.rtf 从此文档的更新说明中获得了此信息(相同的过程) https://www.dropbox.com/s/db3fy100u0kaz63/Creating_an_FXRuby_Build_Environment_in_Lion.rtf
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.