# Installing rubygame on 1.9

**URL:** <https://www.ruby-forum.com/t/installing-rubygame-on-1-9/165575>\
**Category:** Ruby\
**Created:** [April 15, 2009, 1:05pm UTC](https://www.ruby-forum.com/t/installing-rubygame-on-1-9/165575 "2009-04-15T13:05:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [April 15, 2009, 1:05pm UTC](https://www.ruby-forum.com/t/installing-rubygame-on-1-9/165575/1 "2009-04-15T13:05:19Z")

</div>

OS = Debian Lenny  
version = 1.9  
objective = install rubygame from gem  
outcome = barf

any clues? Should I point gem to a directory?

gem1.9 install rubygame --remote  
Building native extensions. This could take a while…  
ERROR: Error installing rubygame:  
ERROR: Failed to build gem native extension.

rake RUBYARCHDIR=/var/lib/gems/1.9.0/gems/rubygame-2.4.1/lib  
RUBYLIBDIR=/var/lib/gems/1.9.0/gems/rubygame-2.4.1/lib  
rake aborted!  
no such file to load – rubygems  
/var/lib/gems/1.9.0/gems/rubygame-2.4.1/Rakefile:39:in `require’  
(See full trace by running task with --trace)  
(in /var/lib/gems/1.9.0/gems/rubygame-2.4.1)

Gem files will remain installed in  
/var/lib/gems/1.9.0/gems/rubygame-2.4.1 for inspection.  
Results logged to /var/lib/gems/1.9.0/gems/rubygame-2.4.1/gem\_make.out

–  
John M.  
07739 171 531  
MSc (DIC)

Timezone: GMT

---

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [April 15, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/installing-rubygame-on-1-9/165575/2 "2009-04-15T17:20:29Z")

</div>

On Wed, Apr 15, 2009 at 5:04 AM, john maclean [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ```
> ERROR: Failed to build gem native extension.
> 
> ```
> 
> Gem files will remain installed in  
> Timezone: GMT

Is your environment set up correctly? I had a similar problem after  
unmasking and installing 1.9 on Gentoo. Turned out the ebuild didn’t  
setup  
the environment correctly.

–  
“Hey brother Christian with your high and mighty errand, Your actions  
speak  
so loud, I canâ€™t hear a word youâ€™re saying.”

-Greg Graffin (Bad Religion)
