3
我遵循以下指南爲Ruby env安裝linalg。在MAC操作系統中安裝紅寶石linalg失敗
http://www.quora.com/Installation-Instructions/How-do-I-install-Ruby-linalg-library-on-Mac
它的工作原理,但是當我嘗試需要「IRB」的lib,它引發錯誤。
環境:紅寶石:2.0.0-P0 LAPACK:3.5.0(我也試過3.4.0)
我已經花3個小時,但沒弄明白的問題。 這是錯誤,當我嘗試在命令行中需要lib時。
它似乎在某處使用18作爲參數超過最大值爲-2..15。
2.0.0-p0 :002 > require 'linalg'
ArgumentError: arity out of range: 18 for -2..15
from /Users/xxx/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/xxx/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/xxx/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/linalg.rb:7:in `<top (required)>'
from /Users/xxx/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/xxx/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from (irb):2
from /Users/xxx/.rvm/rubies/ruby-2.0.0-p0/bin/irb:16:in `<main>'
叉子裏沒有install.rb。我們如何安裝它?我看到了Rakefile,並且正在嘗試'rake build' –