Skiping installation of ri and RDoc documentation while installing gems

Published on

Probably most of the time you would like to skip ri and RDoc installation while installing some new gems, specially on production server. I do like to skip ri and RDoc documentation while installing gems on my development machine, because it takes more time to generate ri and RDoc then actual installation of gem. We … Continue reading Skiping installation of ri and RDoc documentation while installing gems

Ever tried Rails.root

Published on

Guys, have you ever tried Rails.root. It gives same value as RAILS_ROOT. But now in edge rails it is modified and you can do much more with it. You can use Rails.root at places like: as Both gives the same result. Enjoy…