Hi, similar question to the one above - my game is made in Ruby. I could probably compile it to .exe and .app, but it would be preferable if I could just submit the Ruby source code for the competition.
I am using the Gosu gem. There are different system requirements:
On all systems, Ruby 1.9.3 or 1.9.2 or 1.9.1 (preferably 1.9.3 or 1.9.2) would be required.
On Windows, there are no other dependencies, just the gem install. On Windows it's really easy.
On Mac, it's really easy IF you have XCode or DeveloperTools installed. Otherwise you would need to install XCode. DevTools and Xcode are included on the Mac OSX install disk. Not sure whether all the judges would already have XCode installed or not... (If you've lost your install dvd, XCode can be downloaded for free from developer.apple.com.)
On Linux, some basic dependencies have to be added with apt-get (routine for Linux users):
sudo apt-get install build-essential freeglut3-dev libfreeimage-dev libgl1-mesa-dev libopenal-dev libpango1.0-dev libsdl-ttf2.0-dev libsndfile-dev libxinerama-dev
Once the dependencies are in place, it's just a simple gem install. This can be performed with bundler, or with a simple:
gem install gosu
In case any of the judges want to check it out and see it works on their system or not, here is a link to a basic Gosu tutorial on github: Tutorial Link
The tutorial is simply called "loader". In order to try it out, one would:
clone it from github
cd into the "loader" folder
bundle install
ruby loader.rb
Not sure if this is asking too much of the judges?... If this wouldn't work out for most of the judges, we could try to compile to .exe and .app.
<<EDIT: It sounds like we will easily be able to create a .app of the game. Not 100% sure about .exe... >>
On very rare occasions, Gosu doesn't work properly on some Windows environments, which causes everything to "stutter" and move really slow.
I'm just posting here to try to get some advanced feedback so I can ensure that I've got everything all sorted out before the eleventh hour.
There are some additional instructions on the Gosu wiki (mac users skip past the C++ instructions to the Ruby instructions).