octave-ruby
octave-ruby copied to clipboard
A Ruby interface to the Octave interpreted language
Not compatible with octave-3.8.1
Examples: ``` ruby engine.put_variable 'fun', -> x { |x| external.evaluate_at x } engine.put_variable 'fun2', -> x { |x| x**2 } ```
here is the issue: ``` $ pry [1] pry(main)> require 'octave_api' LoadError: dlopen(/Users/halida/.rvm/gems/ruby-2.0.0-p0/gems/octave-ruby-2.0.3/lib/octave_api.bundle, 9): Symbol not found: __ZN12symbol_table10xtop_scopeE Referenced from: /Users/halida/.rvm/gems/ruby-2.0.0-p0/gems/octave-ruby-2.0.3/lib/octave_api.bundle Expected in: flat namespace in /Users/halida/.rvm/gems/ruby-2.0.0-p0/gems/octave-ruby-2.0.3/lib/octave_api.bundle - /Users/halida/.rvm/gems/ruby-2.0.0-p0/gems/octave-ruby-2.0.3/lib/octave_api.bundle from...