kohactive/haute-osx — pull request #3 by j-mcnally (2014-11-15 01:21:55+00:00)
Title: switch to jruby

Switches project to only use jruby. We use a bundled version of jruby known as jruby-complete. This is an entire working jruby install as a jar.

Using Jruby allows us to not have native C dependencies that vary from system to system. Basically our main dep is java which almost every osx system has by default.

We've created the convience bins under server called jruby_bundle and jruby_run, jruby_bundle will bundle install the standalone gems for usage with the server app. jruby run works just like `ruby` in a normal system.

Starting the server can be done with `jruby_run app.rb VERSION=1` from the command line.

I've also set the xcode project to build properly and only ever try to run the server using jruby, which is much safer than assuming we know anything about the underlying system's ruby installation. This helps us achieve maximum compatibility.