Auto update Gemfile when installing ruby gems

npm lets you save a module into your package.json file using the –save options. You can do the same in ruby, by installing a gem called ‘gemrat’ and then using that command to install your gems.

gem install gemrat
gemrat <name_of_the_gem> # This installs your gem and saves it in your Gemfile

# Example
gemrat bcrypt

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...