diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-08 14:58:51 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-10 12:05:11 +0200 |
commit | 1bf9f10484f8aa5e6efb8be3e9152c9a482d9359 (patch) | |
tree | 41b0fc34250f49286092f5cec153c9773971b24f /bin | |
parent | b7d4556cde2df5ff0184988741e5d31dd3f3fbc3 (diff) | |
download | bundler-1bf9f10484f8aa5e6efb8be3e9152c9a482d9359.tar.gz |
Make sure we run the correct ronn with a binstubcommit_docs_to_source_control
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ronn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/ronn b/bin/ronn new file mode 100755 index 0000000000..4501d03af3 --- /dev/null +++ b/bin/ronn @@ -0,0 +1,12 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +load File.expand_path("../with_rubygems", __FILE__) if ENV["RGV"] + +require_relative "../spec/support/rubygems_ext" + +begin + Spec::Rubygems.gem_load("ronn", "ronn") +rescue Gem::LoadError => e + warn "We couln't activate ronn (#{e.requirement}). Run `gem install ronn:'#{e.requirement}'`" +end |