# Need help setting up SDL with Ruby

**URL:** <https://www.ruby-forum.com/t/need-help-setting-up-sdl-with-ruby/96899>\
**Category:** Ruby\
**Created:** [January 24, 2006, 11:51pm UTC](https://www.ruby-forum.com/t/need-help-setting-up-sdl-with-ruby/96899 "2006-01-24T23:51:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dark-omen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c68b51/32.png) [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Post date:** [January 24, 2006, 11:51pm UTC](https://www.ruby-forum.com/t/need-help-setting-up-sdl-with-ruby/96899/1 "2006-01-24T23:51:47Z")

</div>

Hello everyone,

Can anybody help me set up SDL with Ruby? What do I need to get in order  
to have SDL with Ruby?

Thanks

---

<div class="post-metadata">

**Author:** ![dark-omen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c68b51/32.png) [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Post date:** [January 25, 2006, 12:06am UTC](https://www.ruby-forum.com/t/need-help-setting-up-sdl-with-ruby/96899/2 "2006-01-25T00:06:18Z")

</div>

Scott d\_o wrote:

> Hello everyone,
> 
> Can anybody help me set up SDL with Ruby? What do I need to get in order  
> to have SDL with Ruby?
> 
> Thanks

A few options to get you started:

ruby-game: [http://rubygame.seul.org/](http://rubygame.seul.org/)  
rudl: [RUDL, Ruby and SDL download | SourceForge.net](http://sourceforge.net/projects/rudl/)  
ruby/sdl: [http://www.kmc.gr.jp/~ohai/rubysdl.en.html](http://www.kmc.gr.jp/~ohai/rubysdl.en.html)

-Justin

---

<div class="post-metadata">

**Author:** ![dark-omen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c68b51/32.png) [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Post date:** [January 27, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/need-help-setting-up-sdl-with-ruby/96899/3 "2006-01-27T14:24:47Z")

</div>

Justin C. wrote:

> Scott d\_o wrote:
> 
> > Hello everyone,
> > 
> > Can anybody help me set up SDL with Ruby? What do I need to get in order  
> > to have SDL with Ruby?
> > 
> > Thanks
> 
> A few options to get you started:
> 
> ruby-game: [http://rubygame.seul.org/](http://rubygame.seul.org/)  
> rudl: [RUDL, Ruby and SDL download | SourceForge.net](http://sourceforge.net/projects/rudl/)  
> ruby/sdl: [Ruby/SDL](http://www.kmc.gr.jp/~ohai/rubysdl.en.html)
> 
> -Justin

I am having trouble installing sdl with ruby. I chose RUDL, the one  
where you click the ruby file that says install, I followed the  
directions, but when I tried to run one of the examples that came with  
it, it did not work. One of the errors it gave me was “(eval):114:  
undefined method `print_centered' for class `RUDL::SFont’ (NameError  
)  
from  
c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `re  
quire’”

Can anybody help?  
Thanks
