# Can't install gem ruby-pg

**URL:** <https://www.ruby-forum.com/t/cant-install-gem-ruby-pg/179122>\
**Category:** Rails\
**Created:** [November 18, 2009, 1:20am UTC](https://www.ruby-forum.com/t/cant-install-gem-ruby-pg/179122 "2009-11-18T01:20:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hangingclowns](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b5e925/32.png) [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Post date:** [November 18, 2009, 1:20am UTC](https://www.ruby-forum.com/t/cant-install-gem-ruby-pg/179122/1 "2009-11-18T01:20:38Z")

</div>

I’m running ruby 1.9.1 and need a gem sitting here:

> **[GitHub - maxime/ruby-pg-for-ruby-1.9.1rc2: this is just a hacked version of...](https://github.com/maxime/ruby-pg-for-ruby-1.9.1rc2)**
>
> this is just a hacked version of ruby-pg that compiles with ruby 1.9.1rc2 - GitHub - maxime/ruby-pg-for-ruby-1.9.1rc2: this is just a hacked version of ruby-pg that compiles with ruby 1.9.1rc2

I do:

[root@www admin]# gem install maxime-ruby-pg-for-ruby-1.9.1rc2  
ERROR: could not find gem maxime-ruby-pg-for-ruby-1.9.1rc2 locally or  
in a repository  
[root@www admin]#

my sources are:

[root@www admin]# gem sources  
\*\*\* CURRENT SOURCES \*\*\*

[http://gems.rubyforge.org/](http://gems.rubyforge.org/)  
[http://gems.github.com](http://gems.github.com)  
[http://gems.github.com](http://gems.github.com)  
[http://gems.github.com](http://gems.github.com)

Driving me crazy

---

<div class="post-metadata">

**Author:** ![hangingclowns](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b5e925/32.png) [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Post date:** [November 18, 2009, 5:29am UTC](https://www.ruby-forum.com/t/cant-install-gem-ruby-pg/179122/2 "2009-11-18T05:29:55Z")

</div>

Allen W. wrote:

> I’m running ruby 1.9.1 and need a gem sitting here:
> 
> [GitHub - maxime/ruby-pg-for-ruby-1.9.1rc2: this is just a hacked version of ruby-pg that compiles with ruby 1.9.1rc2](http://github.com/maxime/ruby-pg-for-ruby-1.9.1rc2)
> 
> I do:
> 
> [root@www admin]# gem install maxime-ruby-pg-for-ruby-1.9.1rc2  
> ERROR: could not find gem maxime-ruby-pg-for-ruby-1.9.1rc2 locally or  
> in a repository  
> [root@www admin]#
> 
> my sources are:
> 
> [root@www admin]# gem sources  
> \*\*\* CURRENT SOURCES \*\*\*
> 
> [http://gems.rubyforge.org/](http://gems.rubyforge.org/)  
> [http://gems.github.com](http://gems.github.com)  
> [http://gems.github.com](http://gems.github.com)  
> [http://gems.github.com](http://gems.github.com)
> 
> Driving me crazy

Hi,  
If you are using windows system and want to install PostgreSQL with  
ruby 1.9.1 than refer this URL may be it’s help you.  
[http://blog.smajn.net/2009/07/installing-ruby-191-rails-232-and.html](http://blog.smajn.net/2009/07/installing-ruby-191-rails-232-and.html)

Thanks,  
Priyanka P.
