Ruby - 'require': 127: The specified procedure could not be found (LoadError) -


so, have small ruby program, simple "hello world" - code below

require 'ray'  ray.game 'hello world!', :size => [800, 600]   register { add_hook :quit, method(:exit!) } scene :hello   @text = text 'hello, ruby!', :angle => 30, :at => [100, 100], :size => 30   render { |win| win.draw @text } end scenes << :hello end 

and worked fine on win7-32 bit machine. however, when took exact same program win7-64 bit machine, ruby interpreter spitted out following message:

c:/ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 127: specified procedure not found.   - c:/ruby193/lib/ruby/gems/1.9.1 /gems/ray-0.2.0/lib/ray_ext.so (loaderror) 

from error message, seemed "ray_ext.so" missing, there:

enter image description here

both pcs have exact same version of ruby (1.9.3), , exact same list of gems installed, yet how come exact same program worked fine on 32-bit win7 failed on 64-bit win7?

i tried re-install gem (ray) again, updating gem list, didn't resolve issue. discovered web, seemed "dll" linkage problem (correct me if i'm wrong), didn't know how fix (excuse me, i'm still noob in ruby), except re-install gem - didn't work.

is there else can try? think purely gem's problem (which not compatible win7-64 bit)?

thank help.

in short, use latest ruby.

when install jekyll on windows 7 64bit, got same error (yes, version of ruby 1.9.3). didn't disappear until change ruby 2.0.0 (not 2.0.0-x64).

although don't understand ruby @ all, hope can solve problem. thank you.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -