Closed utgarda closed 14 years ago
Ok, installing ffi-jruby ffi@f4fdb0227d18e4ff2709d73f2ac1c479cbd7e98b to the same place where my other gems are kinda solved the previous step. Now this line stopped working :
func = FFI::Function.new(ret, args, FFI::Pointer.new(self.send(func_name)), :convention => :default )
ends up with ... in `cp_static_inline': can't convert FFI::Pointer into Integer (TypeError)
Yay! Implicit cast to number fixes it. func = FFI::Function.new(ret, args, FFI::Pointer.new(self.send(func_name)).to_i, :convention => :default ) utgarda@7669f83602fe038f832f6a75550722c94dd000ad
Will it be closed if I press 'Comment and Close' now? :P
Hi! Could you help me out? What should one do to use chipmunk-ffi with jruby? I need it, since I'm trying to use it with ruby-processing.
Can't get past this one. I tried to install it all with jruby gem installer, but it just didn't work either :
/home/etsvigun/devenv/ruby/jruby/bin/jruby extconf.rb WARNING: JRuby does not support native extensions or the
mkmf' library. Check http://kenai.com/projects/jruby/pages/Home for alternatives. extconf.rb:4: undefined method
dir_config' for main:Object (NoMethodError)Gem files will remain installed in /home/etsvigun/devenv/ruby/jruby/lib/ruby/gems/1.8/gems/ffi-0.6.0 for inspection. Results logged to /home/etsvigun/devenv/ruby/jruby/lib/ruby/gems/1.8/gems/ffi-0.6.0/ext/ffi_c/gem_make.out