# Installing Ruby Gems under Ruby 1.9 \[Windows\]

**URL:** <https://www.ruby-forum.com/t/installing-ruby-gems-under-ruby-1-9-windows/146739>\
**Category:** Ruby\
**Created:** [August 24, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/installing-ruby-gems-under-ruby-1-9-windows/146739 "2008-08-24T22:19:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lynchnco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/c77e96/32.png) [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Post date:** [August 24, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/installing-ruby-gems-under-ruby-1-9-windows/146739/1 "2008-08-24T22:19:49Z")

</div>

Hi,  
Has anyone gotten gems to install correctly using Ruby 1.9?

I have the latest Ruby 1.9 binary, and Ruby Gems.

When I run “ruby setup.rb” I get an error message like this:

setup.rb:18: command not found: (null)  
setup.rb:18:in `exec': No such file or directory (Errno::ENOENT) from setup.rb:18:in`’

Thanks very much for your help  
-Patrick

---

<div class="post-metadata">

**Author:** ![lynchnco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/c77e96/32.png) [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Post date:** [August 24, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/installing-ruby-gems-under-ruby-1-9-windows/146739/2 "2008-08-24T22:51:30Z")

</div>

So I from some more reading, I discovered that Ruby Gems comes  
pre-installed with 1.9.

Here’s my real stumbling point then I guess:

Has anybody managed to install QTRuby with Ruby 1.9 on Windows? I’m  
having an awful lot of trouble, and information is scarce.  
-Patrick
