Windows Installation Guide

From Rubygame

Jump to: navigation, search

This wiki has moved! You can view and edit the new wiki on GitHub!

Gather Dependencies

The rest are optional dependencies, but highly recommended. If you don't have them, you won't be able to use certain features of Rubygame.

Once you have downloaded everything, unzip them and copy all *.dll files into the appropriate directory, depending on your version of Windows:

This will allow the libraries to be detected and loaded by Rubygame.

IMPORTANT NOTE: You should not expect or even force the users of your game to do this. You should supply all required DLL's for your game (including SDL) within your application folder. That way, users don't need administrator rights to install your application and the system32 directory is not cobbled with third-party DLL's.

Install Rubygame

The simplest way to install Rubygame is: gem install rubygame

Note: There is a known issue with Ruby-FFI version 0.6 on Windows. If you experience any problem installing Ruby-FFI, please install an earlier version with gem install ffi --version "<0.6". Then try again to install Rubygame with gem install rubygame.

Or you can download the source from Github and follow the installation instructions in README.

Conclusion

If all goes well, you have successfully installed Rubygame. Try to execute require 'rubygame' in an irb session and run the provided samples to ensure that everything is acceptable.

If you have any trouble installing Rubygame, please post in the forums.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox