RubyInline

URL
http://rubyforge.org/projects/rubyinline/
Author(s)
Ryan Davis
Summary
Inline allows you to write foreign code within your ruby code. It automatically determines if the code in question has changed and builds it only when necessary. The extensions are then automatically loaded into the class/module that defines it. You can

Add your comment ↓

Comments

rubyinline (3.8.1) is Failing
for Peter Cooper (Mac OSX, over 3 years ago)

Installed great, but doesn't work correctly on a basic example that works in 1.8. I get this error:

/usr/local/lib/ruby1.9/gems/1.9.1/gems/RubyInline-3.8.1/lib/inline.rb:365:in `module_name': undefined method `gsub' for nil:NilClass (NoMethodError)
from /usr/local/lib/ruby1.9/gems/1.9.1/gems/RubyInline-3.8.1/lib/inline.rb:375:in `so_name'
from /usr/local/lib/ruby1.9/gems/1.9.1/gems/RubyInline-3.8.1/lib/inline.rb:498:in `load_cache'
from /usr/local/lib/ruby1.9/gems/1.9.1/gems/RubyInline-3.8.1/lib/inline.rb:818:in `inline'
from il.rb:7:in `singletonclass'
from il.rb:6:in `<class:CFactorial>'
from il.rb:5:in `<main>'

rubyinline (3.8.1) is Working
for Ricardo Martins (GNU/Linux, over 3 years ago)

Works for me.

Add your comment




Yes No