Use Bundler in a Ruby script - DEV Community
10-Mar-2023 831
What to do then? Creating a gem seems too heavy for our script, and it's not advisable to expect users to do the installation by themselves (it's okay for a gem but for a script that would start having 4-5 of them it's a lot).Fortunately, Bundler is there for us, in fact, the installer offers a module that we can include in our script and that offers all the features of a Gemfile but to define our gems inside the script.
Use Bundler in a Ruby script - DEV Community #ruby #rubydeveloper #rubyonrails #Bundler #script #Community #bundler #dev #script https://rubyonrails.ba/link/use-bundler-in-a-ruby-script-dev-community