From 6613c971be438f4cb13dfdca4d82a17afa0bb241 Mon Sep 17 00:00:00 2001 From: Sten Larsson Date: Mon, 8 Jun 2015 16:15:02 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20call=20gem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In `lib/compat/multi_json.rb` there is a call to `Kernel#gem`. Normally these things will be handled by Bundler so it is unclear why this is here. This causes a problem when using https://github.com/iconara/puck since it doesn’t actually include gem specs but sets up required gems statically in a jar-file, causing the call to fail. The solution is to simply remove that call. --- lib/compat/multi_json.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/compat/multi_json.rb b/lib/compat/multi_json.rb index 6732454..6d82736 100644 --- a/lib/compat/multi_json.rb +++ b/lib/compat/multi_json.rb @@ -1,4 +1,3 @@ -gem 'multi_json', '>= 1.0.0' require 'multi_json' unless MultiJson.respond_to?(:load)