add gem in ruby files code example Example: rails add gem to gemfile # In your terminal bundle add your_gem_name