diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock
index 40d06201dfe4e9bbf24e7a88f76c1e21d70f1ea4..ca9fdc1bf97b01d654ea943abf7b240542dbb75d 100644
--- a/ruby/Gemfile.lock
+++ b/ruby/Gemfile.lock
@@ -1,9 +1,9 @@
 GIT
   remote: https://github.com/lyda/mmap.git
-  revision: 379bdbd2c848e96d8f89e954663b8c26529b8919
+  revision: 397013dd15a4e5f3f2cd9ddbad39850ec9f61d33
   branch: non-global-version
   specs:
-    mmap (0.2.7)
+    mmap (0.2.7a)
 
 GEM
   remote: https://rubygems.org/
diff --git a/ruby/run.sh b/ruby/run.sh
new file mode 100755
index 0000000000000000000000000000000000000000..2945b45fdaa9d8e58fd0f67fbd547ed2e982c5bf
--- /dev/null
+++ b/ruby/run.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+test -f Gemfile.lock && rm Gemfile.lock
+bundle install
+bundle exec ruby test.rb