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