Adding psych on Gemfile explicitly
authorJaume Devesa <devvesa@gmail.com>
Mon, 14 Dec 2015 11:49:31 +0000 (12:49 +0100)
committerJaume Devesa <devvesa@gmail.com>
Mon, 14 Dec 2015 14:02:25 +0000 (15:02 +0100)
It seems like bundle has a bug[1] that, somehow, it unloads the psych
library unless is installed through bundle itself. It will be fixed on
bundle 1.2.

[1]: http://github.com/bundler/bundler/issues/2068

Change-Id: Ic2fa8a8f114c3183a656bfdb1bc2d6d6413dbb75

Gemfile

diff --git a/Gemfile b/Gemfile
index 6d4ce9a..91c5f0a 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -14,6 +14,10 @@ group :development, :test do
   gem 'puppet-lint-numericvariable',          :require => 'false'
   gem 'json',                                 :require => 'false'
   gem 'webmock',                              :require => 'false'
+  # adding 'psych' explicitly
+  # https://github.com/bundler/bundler/issues/2068
+  # TODO: drop it in a future release of 'bundle'.
+  gem 'psych',                                :require => 'false'
 end
 
 group :system_tests do