diff options
author | Andre Arko <andre@arko.net> | 2015-08-13 10:55:14 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-08-13 10:55:14 -0700 |
commit | e38feb6c39d66ceabb21061cad9211ebbf6c6358 (patch) | |
tree | b715af2f811e55b2c1faa82de66e78b5c1f23ea5 /bin | |
parent | 21ddb03ee952f96ef3cf09935c8c90db2503e088 (diff) | |
download | bundler-e38feb6c39d66ceabb21061cad9211ebbf6c6358.tar.gz |
rescue gem load errors so setup can run
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rake | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,11 @@ require "rubygems" bundler_spec = Gem::Specification.load(File.expand_path("../../bundler.gemspec", __FILE__)) bundler_spec.dependencies.each do |dep| - gem dep.name, dep.requirement.to_s + begin + gem dep.name, dep.requirement.to_s + rescue Gem::LoadError => e + puts "#{e.message} (#{e.class})" + end end load Gem.bin_path("rake", "rake") |