Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Exchange / Best way to distribute a Ruby Gosu game
- - By SPK Date 2013-01-15 18:46

what's the most effective and easiest way to deploy a game written in Ruby for Linux?
Let's pretend the target machine has nothing pre installed to launch the game.
Parent - By Spooner Date 2013-01-15 23:07
As far as I'm aware, there isn't. You can currently make executables for Windows and OSX, but not Linux. Although I suppose it would be possible to compile 32bit and 64bit versions of Ruby and package them with a game, I doubt anyone would bother setting that up since it is relatively easy to install Ruby on Linux.
Parent - - By jlnr (dev) Date 2013-01-16 02:47
I wonder if you could set up a dpk (or whatever they are called :)) that has all of Ruby/Gosu's dependencies as its dpk dependencies. Then on first startup or on installation, it would "bundle install" which would pull in all of the Ruby gems.

The problem is that any Ruby/Gosu game has both packaged dependencies (via Gosu) as well as Ruby gem depenencies (at least Gosu). Let me know if you find a good solution for this, I'd be happy to put it on the Wiki.
Parent - By erikskoglund Date 2013-01-16 19:57
This would actually be pretty interesting. Would love to be able to release a linux version of my game too.
Parent - By RavensKrag Date 2013-01-25 15:52
I assume you mean .deb, or debian packages.  This seems totally doable :D
Up Topic Gosu / Gosu Exchange / Best way to distribute a Ruby Gosu game

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill