# Rubygems and ~/.gem

**URL:** <https://www.ruby-forum.com/t/rubygems-and-gem/158899>\
**Category:** Ruby\
**Created:** [January 29, 2009, 6:27am UTC](https://www.ruby-forum.com/t/rubygems-and-gem/158899 "2009-01-29T06:27:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mifi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7993a0/32.png) [@mifi](https://www.ruby-forum.com/u/mifi)\
**Post date:** [January 29, 2009, 6:27am UTC](https://www.ruby-forum.com/t/rubygems-and-gem/158899/1 "2009-01-29T06:27:39Z")

</div>

I’ve been very happy to see the latest improvments in rubygems  
regarding installation of both 1.9.1 and 1.8.x gems in my home  
directory, but there are still a few rough edges.  
I have not found any configuration to disable the warning that is  
issued every time i do `gem install` about rubygems not being able to  
write to `/usr/bin` and `/usr/lib/ruby/gems/...`

Changing the line installer.rb:50 to  
@home\_install\_warning = false

Fixed that problem for me, would be nice if that was an option in  
~/.gemrc so i don’t have to do it for every version of ruby 1.9 or  
rubygems i install.  
Now it still seems as if `gem cleanup` wants to clean up somewhere  
outside my home and fails.

GEM\_HOME=~/.gem/ruby/1.8 gem cleanup

Fixes this problem, here as well, an option or better default would be  
nice.

Thanks for the last release, I love how rubygems progresses,  
^ manveru

---

<div class="post-metadata">

**Author:** ![mifi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7993a0/32.png) [@mifi](https://www.ruby-forum.com/u/mifi)\
**Post date:** [January 29, 2009, 6:31am UTC](https://www.ruby-forum.com/t/rubygems-and-gem/158899/2 "2009-01-29T06:31:45Z")

</div>

On Thu, Jan 29, 2009 at 2:26 PM, Michael F.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve been very happy to see the latest improvments in rubygems  
> regarding installation of both 1.9.1 and 1.8.x gems in my home  
> directory, but there are still a few rough edges.  
> I have not found any configuration to disable the warning that is  
> issued every time i do `gem install` about rubygems not being able to  
> write to `/usr/bin` and `/usr/lib/ruby/gems/...`
> 
> Changing the line installer.rb:50 to  
> @home\_install\_warning = false

@home\_install\_warning = true

That is, sorry 🙂
