sacckey/rubyboy

A Game Boy emulator written in Ruby

Ruby

262

247 commits

updated Jul 26, 2026

See the code

README



A Game Boy emulator written in Ruby

Try the demo in your browser! - Powered by WebAssembly

Screenshots

Requirements

SDL2

Installation

This project requires Ruby 3.2.0 or higher.

[!TIP] To enhance performance, it is highly recommended to use Ruby 3.3.x with YJIT.

Install the gem and add to the application's Gemfile by executing:

$ bundle add rubyboy

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install ffi rubyboy

Usage

$ RUBYOPT=--yjit rubyboy <rom_path>
KeyButton
W
A
S
D
JA
KB
USelect
IStart

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sacckey/rubyboy. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Rubyboy project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

emulator
gameboy
gameboy-emulator
ruby

Contributors

sacckey

237 commits

komagata

8 commits

byroot

2 commits

sacckey/rubyboy

A Game Boy emulator written in Ruby

Ruby

262

247 commits

updated Jul 26, 2026

See the code

README



A Game Boy emulator written in Ruby

Try the demo in your browser! - Powered by WebAssembly

Screenshots

Requirements

SDL2

Installation

This project requires Ruby 3.2.0 or higher.

[!TIP] To enhance performance, it is highly recommended to use Ruby 3.3.x with YJIT.

Install the gem and add to the application's Gemfile by executing:

$ bundle add rubyboy

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install ffi rubyboy

Usage

$ RUBYOPT=--yjit rubyboy <rom_path>
KeyButton
W
A
S
D
JA
KB
USelect
IStart

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sacckey/rubyboy. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Rubyboy project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

emulator
gameboy
gameboy-emulator
ruby

Contributors

sacckey

237 commits

komagata

8 commits

byroot

2 commits

Languages

Ruby

99.9%