我正在尝试安装Ruby for NArray来执行一些数学函数。我在OSX Mountain Lion上运行Ruby版本1.8.7
当我尝试安装NArray gem时,它产生以下错误:
instance of Date needs to have method `marshal_load'
我已经用谷歌搜索过了,一点运气都没有。
OSX10.9附带了ruby 2.0.0p195,但我需要安装Ruby 1.8.7。我总是遇到错误。我已经安装了Xcode5-DP,我相信命令行工具也已经安装了。
在终端中:
sudo rvm install 1.8.7
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10/x86_64/ruby-1.8.7-p371.
Continuing with compilation. Please read 'rvm mount' to get mo
无法在Mac OS X 10.7.3 Lion上加载ruby-debug。
不确定路径不正确的原因。
Ruby版本是Lion的标准版本1.8.7。
已安装Xcode
Developer Information:
Version: No version information available
Location: /Applications/Xcode.app
Applications:
Xcode: 4.3 (1175)
Instruments: 4.3 (4321)
SDKs:
Mac OS X:
10.6: (10K549)
10.7: (