Skip to content

Instantly share code, notes, and snippets.

@wireframe
Created October 1, 2014 19:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wireframe/3f7e431f0d63ddb381c0 to your computer and use it in GitHub Desktop.
Save wireframe/3f7e431f0d63ddb381c0 to your computer and use it in GitHub Desktop.
# paste script into IRB shell
# cherry-pick gems to update
gems = %w(
newrelic_rpm
travis
some_other_gem
)
gems.each do |gem|
puts "updating #{gem}"
system "bundle update #{gem}"
end
# print remaining outdated gems after update
system "bundle outdated"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment