Ruby and JRuby Information

From Kb

Jump to: navigation, search

Contact Article Author | Blog of Article Author | FirstPartners.net Home | LinkedIn profile of Author

Contents

See Also

Jruby

- download JRuby - install dor dir (like software/jruby) - JRUBY_HOME var and add c:\software\jruby-0.9.2\bin to path test by running jruby -h from the command line

- modify jruby.bat to allow for spaces in command path to java (e.g. if your install is at c:\program files\java\..)

GoldSpike Ruby to Java War Converter

Install golden spike. This allows a rails project to be compiled into a war file. Do this running the following command from your project directory:

jruby script/plugin install http://jruby-extras.rubyforge.org/svn/trunk/rails-integration/plugins/goldspike

This will install the golden spike plugin into Rails.


Ruby

Gem

gem_server - to start documentation at http://localhost:8808/ gem environment - to see v

Rails

Download GEM (comes with JRuby) Gem Install Rails or Download Rails as a Gem (less hassle if you accessing this through a proxy or Grab pre-exisitng install (e.g. from C:\software\InstantRails\ruby\lib\ruby\gems)


Database

Install MySQL / PHPMYAdmin We used Instant Rails

RadRails

- download and install

Ref

Ruby on Rails with Oracle FAQ - http://www.oracle.com/technology/pub/articles/saternos-ror-faq.html More info on Ruby Gems - http://rubygems.org/export/html/1

Personal tools