News for hackers. Stuff that matters.
Re:Ruby 1.9.3-p385 is released by why-el on Wednesday February 06, 2013 @01:41PM (#5178017)
This will run these options for every gem command though. Better restrict it to install and update.
Re:Ruby 1.9.3-p385 is released by scraplab on Wednesday February 06, 2013 @02:31PM (#5178295)
Like so:

    install: --no-rdoc --no-ri 
    update:  --no-rdoc --no-ri
Re:Ruby 1.9.3-p385 is released by regularfry on Wednesday February 06, 2013 @03:53PM (#5178755)
Also add --env-shebang so that you don't get stupid shebang lines which lock you to a specific interpreter.
Re:Ruby 1.9.3-p385 is released by kawsper on Wednesday February 06, 2013 @02:10PM (#5178198)
Is it a problem that this gets passed to every gem command?
Re:Ruby 1.9.3-p385 is released by why-el on Wednesday February 06, 2013 @03:37PM (#5178648)
Yes because it does not make sense to pass it to some commands. For instance, what would `gem list --no-rdoc --local` mean? You will get a lot of invalid option errors.