.gemrc containing "gem: --no-ri --no-rdoc"

24 views
Skip to first unread message

fugee ohu

unread,
Oct 29, 2015, 12:54:33 PM10/29/15
to Ruby on Rails: Talk
I put a .gemrc file in my home directory, the same directory my Gemfile is in, with just "gem: --no-ri --no-rdoc" but when i install gems the docs still get installed, causing me to have to wait

Colin Law

unread,
Oct 29, 2015, 1:41:12 PM10/29/15
to Ruby on Rails: Talk
Gemfile should in the root directory of the rails application, not in
the users home directory, which is where .gemrc should be (at least
that is where mine is). So on Ubuntu linux it is
/home/username/.gemrc

Colin

fugee ohu

unread,
Oct 30, 2015, 3:35:26 AM10/30/15
to Ruby on Rails: Talk
Thanks Colin
Reply all
Reply to author
Forward
0 new messages