ruby – Grey Panthers Savannah https://grey-panther.net Just another WordPress site Tue, 13 Sep 2011 16:33:00 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.4 206299117 Running JRuby on 64 bit Windows https://grey-panther.net/2011/09/running-jruby-on-64-bit-windows.html https://grey-panther.net/2011/09/running-jruby-on-64-bit-windows.html#respond Tue, 13 Sep 2011 16:33:00 +0000 https://grey-panther.net/?p=52 Usually it is as simple as: download, install, run. You can run into problems however if you have both the 32 bit and 64 bit JVMs installed (which is quite often) because it will try to use the 32 bit JVM. You can check which JVM is being used from the command line:

jruby --version
jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) 64-Bit Server VM 1.7.0) [Windows 7-amd64-java] # 64 bit
jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) Client VM 1.6.0_26) [Windows 7-x86-java] # 32 bit

To work around this issue, specify the JVM to use in your jruby.bat (or other batch files installed by gems like vagrant.bat) explicitly. Example jruby.bat:

@ECHO OFF
java -Djruby.home=C:jruby-1.6.3 -jar  -jar "C:jruby-1.6.3libjruby.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9

Example vagrant.bat

@ECHO OFF
java -Djruby.home=C:jruby-1.6.3 -jar "C:jruby-1.6.3libjruby.jar" "C:/jruby-1.6.3/bin/vagrant" %1 %2 %3 %4 %5 %6 %7 %8 %9

]]>
https://grey-panther.net/2011/09/running-jruby-on-64-bit-windows.html/feed 0 52
Web Developer Stereotypes https://grey-panther.net/2006/10/web-developer-stereotypes.html https://grey-panther.net/2006/10/web-developer-stereotypes.html#respond Wed, 18 Oct 2006 07:02:00 +0000 https://grey-panther.net/?p=1035 Sitepoint did a survey amongst web developers and found that people who use PHP are very likely to try Ruby on Rails. While I haven’t completed the survey myself, I find that I’m in this exact same position: I’ve been developing in PHP for several years now and plan to check out Ruby, however I’m reluctant to do anything big in it until I understand the full extent of the magically generated code and the security implications it has.

Credits: I came across this link on the Tucows blog.

]]>
https://grey-panther.net/2006/10/web-developer-stereotypes.html/feed 0 1035