Created
August 25, 2021 07:12
-
-
Save Aphellirus/91b9f902ed15de1803580ed919fccf07 to your computer and use it in GitHub Desktop.
bundler/inline for automation in Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=begin | |
With bundler/inline there is no need to use external gems | |
it lets you download/install/activate gems directly in the script | |
skipping the need to handle bundle install or call it through bundle exec | |
=end | |
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'hashie', '3.6' | |
# etc | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment