21 Apr '12, 4am

Rawr: how to run jruby-complete.jar with 1.9 mode? ... Help me, please!

Hi all, I'm using jruby 1.6.7, rawr 1.6.3 and JDK 7 on my Windows 7 pc. I tried the following: C:\tmp\hello>ls main.rb C:\tmp\hello>cat main.rb h = {:a => 1, :b => 2} p h C:\tmp\hello>jruby --1.9 -S rawr install (omit output messages) Edit line 65 in build_configuration.rb: c.target_jvm_version = 1.7 C:\tmp\hello>jruby --1.9 -S rake rawr:jar (omit output messages) C:\tmp\hello>java -jar package\jar\hello.jar {:a=>1, :b=>2} Yeah, it works very well! But after replaced the first line of main.rb like this: h = {a: 1, b: 2} I got the following syntax error: C:\tmp\hello>java -jar package\jar\hello.jar Exception in thread "main" org.jruby.exceptions.RaiseException: (SyntaxError) ./ main.rb:1: syntax error, unexpected ':' h = {a: 1, b: 2} ^ at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1033) at (Anonymous).(root)(./main.rb:1) Umm,... Does anyone know how to run jruby...

Full article: http://www.ruby-forum.com/topic/4114350

Tweets

Ruby 1.9.3-p194 is released This release includ...

ruby-lang.org 20 Apr '12, 3am

This release include Security Fix for RubyGems: SSL server verification failure for remote repository. And many bugs are f...

WE R HIRING! See for more details!

modparade.com 01 May '12, 3pm

Modparade is always on the lookout for talented and hardworking people to join the team. If you have what it takes, check ...

Sony make.believe – Anything You Can Imagine, You Can Make It Real | k r i s a n d r o

Sony make.believe – Anything You Can Imagine, Y...

krisandro.com 21 Apr '12, 11pm

make.believe: [make-dot-believe] stands for the power of Sony’s creativity, ability to turn ideas into reality and the bel...

というわけで日本語版も書きました:「Ruby 1.9.3-p194リリース」

ruby-lang.org 20 Apr '12, 10am

Ruby 1.9.3-p194 がリリースされました。 このリリースはRubyGemsに対するセキュリティフィックスを含んでいます。これは、リモートレポジトリへのSSLサーバ検証についてのものです。それ以外にも、多くの修正が含まれています。 R...

Ruby 1.9.2-p320 is released This release also i...

ruby-lang.org 21 Apr '12, 11pm

This release include Security Fix for RubyGems: SSL server verification failure for remote repository. And many bugs are f...

Вышел Ruby 1.9.3-p194

rubyflow.ru 20 Apr '12, 4am

Вышел Ruby 1.9.3-p194Сергей Резванов Как сообщается на официальном сайте - вышла новая версия ruby 1.9.3-p194. Нововведени...

#Pubcon Las Vegas 2012 is on Oct. 15-19. "You N...

pubcon.com 20 Apr '12, 2pm

Dave Carlson, who was with GoToast.com in 2002 when this photo was taken at PubCon London, holding up a fancy mega-toaster...