summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-08 14:58:51 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-10 12:05:11 +0200
commit1bf9f10484f8aa5e6efb8be3e9152c9a482d9359 (patch)
tree41b0fc34250f49286092f5cec153c9773971b24f /bin
parentb7d4556cde2df5ff0184988741e5d31dd3f3fbc3 (diff)
downloadbundler-1bf9f10484f8aa5e6efb8be3e9152c9a482d9359.tar.gz
Make sure we run the correct ronn with a binstubcommit_docs_to_source_control
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ronn12
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