Archive for the 'ruby' Category

JRuby install and build eventmachine from github

Friday, October 21st, 2011

Have been giving eventmachine a try but I do have issues with it thus wanted to try out the beta version on github. Here is how you get it to install on your local machine. – First clone the repo – Build the gem – Install the java version ?View Code BASH1 2 3 4 [...]

Share

ERROR: While executing gem … (NameError) uninitialized constant Psych::Syck

Sunday, October 16th, 2011

What the ???? I was wanting to try out goliath.io (Goliath: Non-blocking, Ruby 1.9 Web Server) for more info look at http://www.igvita.com/2011/03/08/goliath-non-blocking-ruby-19-web-server/ In any case I was not able to get it to install on JRuby so went and get me 1.9.2 MRI. Once installed MRI 1.9.2, I went into the gem dir to gem [...]

Share

RubyMine 3.1.1 running in 64bit JVM on Windows 7

Wednesday, April 20th, 2011

In order to run Rubymine under a 64bit jvm one needs to run the IDE from the bat file. In the bat file which is located at C:\Program Files (x86)\JetBrains\RubyMine 3.1.1\bin add this line SET RUBYMINE_JDK=%ProgramFiles%/Java/jdk1.6.0_25 and remove the IF statements ::IF “%RUBYMINE_JDK%” == “” SET RUBYMINE_JDK=%JDK_HOME% ::IF “%RUBYMINE_JDK%” == “” goto error Run the [...]

Share