Archive for the ‘jruby’ Category

JRuby / JDK on Windows Problems

January 10, 2012

fail: jruby 1.7.0.dev (ruby-1.9.3-p6) (2012-01-10 6886cc0) (Java HotSpot(TM) Client VM 1.7.0_02) [Windows 7-x86-java]
fail: jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.7.0_02) [Windows 7-x86-java]
fail: jruby 1.6.6.dev (ruby-1.9.2-p312) (2011-12-31 ef36279) (Java HotSpot(TM) ClientVM 1.7.0_02) [Windows 7-x86-java]
win: jruby 1.6.6.dev (ruby-1.9.2-p312) (2011-12-31 ef36279) (Java HotSpot(TM) ClientVM 1.6.0_29) [Windows 7-x86-java]
win: jruby 1.7.0.dev (ruby-1.9.3-p6) (2012-01-10 6886cc0) (Java HotSpot(TM) Client VM 1.6.0_29) [Windows 7-x86-java]

=======================================================================================

$ jruby -v
jruby 1.7.0.dev (ruby-1.9.3-p6) (2012-01-10 6886cc0) (Java HotSpot(TM) Client VM 1.7.0_02) [Windows 7-x86-java]

$ gem install bundler
Fetching: bundler-1.0.21.gem ( 36%)ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/bundler-1.0.21.gem)

=======================================================================================

$ jruby -v
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.7.0_02) [Windows 7-x86-java]

$ gem install bundler
Fetching: bundler-1.0.21.gem ( 18%)ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/bundler-1.0.21.gem)

=======================================================================================
$ jruby -v
jruby 1.6.6.dev (ruby-1.9.2-p312) (2011-12-31 ef36279) (Java HotSpot(TM) ClientVM 1.7.0_02) [Windows 7-x86-java]

$ gem install bundler
Fetching: bundler-1.0.21.gem (  8%)ERROR:  While executing gem … (Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.cf.rubygems.org/gems/bundler-1.0.21.gem)

=======================================================================================
$ jruby -v
jruby 1.6.6.dev (ruby-1.9.2-p312) (2011-12-31 ef36279) (Java HotSpot(TM) ClientVM 1.6.0_29) [Windows 7-x86-java]

$ gem install bundler
Fetching: bundler-1.0.21.gem (100%)
Successfully installed bundler-1.0.21
1 gem installed

=======================================================================================
$ jruby -v
jruby 1.7.0.dev (ruby-1.9.3-p6) (2012-01-10 6886cc0) (Java HotSpot(TM) Client VM 1.6.0_29) [Windows 7-x86-java]

$ gem install bundler
Fetching: bundler-1.0.21.gem (100%)
Successfully installed bundler-1.0.21
1 gem installed

Advertisements

JRuby on Windows 7 – multiple versions

December 23, 2011

# JRuby folders
/c/Users/craig/jruby/jruby-1.6.5
/c/Users/craig/jruby/jruby-1.6.6.dev
/c/Users/craig/jruby/jruby-1.7.0.dev

# Java releases:
c\Program Files (x86)\Java\jdk1.6.0_29\bin
c\Program Files (x86)\Java\jdk1.7.0_02\bin

# Edit 3 Environment variables:

PATH
c:\Program Files (x86)\Java\jdk1.6.0_29\bin;
c:\Users\Craig\jruby\jruby-1.6.5\bin;

JAVA_HOME=”c:\\Program Files (x86)\\Java\\jdk1.6.0_29″
JRUBY_OPTS=”–1.9″

JRuby Snapshots

http://ci.jruby.org/snapshots/