Forum: JRuby Unsupported platform?

1f77113371c7d36eae5c8a1f10137438?d=identicon&s=25 Pete Helgren (Guest)
on 2014-05-06 21:08
(Received via mailing list)
1.7.12 throws this when I issue the 'gem install rails' command:

ERROR:  Loading command: install (LoadError)
         Unsupported platform: powerpc-unknown
ERROR:  While executing gem ... (NoMethodError)
     undefined method `invoke_with_build_args' for nil:NilClass

version info:

jruby -v
jruby 1.7.12 (1.9.3p392) 2014-04-15 643e292 on IBM J9 VM
jvmap3260sr14-20130705_01 [OS/400-PowerPC]

Rails would install in the last release I used (1.7.4)  so is this error
coming back from gem or from jruby? Is there a workaround or hack I can
use to get moving (I am presenting on this tomorrow...I hate to have to
go back to an "old" version....)

--
Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
B05d3cbc64b0031a24c2887fb6ddc173?d=identicon&s=25 christian (Guest)
on 2014-05-06 21:21
(Received via mailing list)
does
$ gem install rails --platform java
pick the right platform.

not sure which gem does pick the wrong platform. maybe
$ gem install rails --verbose
gives some more inside.

just my 2 cents since I have no access to an OS/400-PowerPC machine.

- christian
1f77113371c7d36eae5c8a1f10137438?d=identicon&s=25 Pete Helgren (Guest)
on 2014-05-06 23:24
(Received via mailing list)
Thanks Christian.  No joy on using --platform java

running 'gem install rails --verbose' didn't help.  The error is
apparently the first error it encounters (AFAICS).

Pete
B05d3cbc64b0031a24c2887fb6ddc173?d=identicon&s=25 christian (Guest)
on 2014-05-07 12:27
(Received via mailing list)
Unsupported platform: powerpc-unknown
looks like a rubygems problem, you can at least try an upgrade your
rubygems or even downgrade (not sure here).
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.