Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Platform Error #2

Open
serdarsoydemir opened this issue May 1, 2011 · 1 comment
Open

Unsupported Platform Error #2

serdarsoydemir opened this issue May 1, 2011 · 1 comment

Comments

@serdarsoydemir
Copy link

With
jruby 1.6.1 (ruby-1.9.2-p136) (2011-04-12 85838f6) (Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java] and jruby-win32ole gem installed, I'm having following error for this code:

Code

require 'jruby-win32ole'

Error

LoadError: Unsupported platform: ²386-unknown
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/site_ruby/1.8/rubygems/custom_req
uire.rb:36
(root) at D:/home/apps/jruby/1.6.1/lib/ruby/site_ruby/shared/ffi/ffi.rb:69
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/site_ruby/shared/ffi/ffi.rb:36
(root) at D:/home/apps/jruby/1.6.1/lib/ruby/site_ruby/shared/ffi.rb:1
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/site_ruby/shared/ffi.rb:36
(root) at D:/home/apps/jruby/1.6.1/lib/ruby/1.9/dl.rb:3
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/1.9/dl.rb:36
(root) at D:/home/apps/jruby/1.6.1/lib/ruby/1.9/dl/import.rb:1
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/1.9/dl/import.rb:36
(root) at D:/home/apps/jruby/1.6.1/lib/ruby/1.9/win32/registry.rb:1
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/1.9/win32/registry.rb:36
(root) at D:/home/apps/jruby/1.6.1/lib/ruby/gems/1.9/gems/jruby-win32ole-0.8.
3/lib/win32ole/win32ole_typelib.rb:1
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/gems/1.9/gems/jruby-win32ole-0.8.
3/lib/win32ole/win32ole_typelib.rb:36
(root) at D:/home/apps/jruby/1.6.1/lib/ruby/gems/1.9/gems/jruby-win32ole-0.8.
3/lib/jruby-win32ole.rb:25
require at org/jruby/RubyKernel.java:1047
require at D:/home/apps/jruby/1.6.1/lib/ruby/gems/1.9/gems/jruby-win32ole-0.8.
3/lib/jruby-win32ole.rb:57
(root) at test1.rb:1

My platform is Windows 7 64bit with JDK 32bit

Any idea on it?

@enebo
Copy link
Owner

enebo commented May 2, 2011

Can you try: require 'win32ole'

In theory, you should not require 'jruby-win32ole' since we do magic to make sure it loads non-gem style, but I am unsure why you are getting that error even so. I would like to know if it happens with the above require as well. (I also now have a win7 box but only current have 64 bit JVM on it....but I do have the ability to reproduce hopefully).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants