rails add gem to gemfile from terminal code example Example: rails add gem to gemfile # In your terminal bundle add your_gem_name