Complete the code to run a Ruby script with Bundler ensuring isolated gem execution.
system('[1] ruby my_script.rb')
Using bundle exec runs the Ruby script with gems isolated to the bundle environment.
Complete the command to install gems and then run a script isolated with Bundler.
bundle install && [1] ruby app.rbAfter installing gems, bundle exec runs the script using the installed gems isolated by Bundler.
Fix the error by completing the command to run a Rake task with Bundler isolation.
[1] rake db:migrateUsing bundle exec before rake ensures the task runs with the correct gem versions.
Fill both blanks to create a command that installs gems and runs a Ruby script isolated by Bundler.
[1] install && [2] ruby script.rb
The first blank is bundle to install gems, and the second is bundle exec to run the script with gem isolation.
Fill all three blanks to create a command that installs gems, runs a Rake task, and then runs a Ruby script all isolated by Bundler.
[1] install && [2] rake db:seed && [3] ruby app.rb
Use bundle to install gems, then bundle exec to run both the rake task and the Ruby script with gem isolation.