fastlane/lib/fastlane/fastlane_require.rb in fastlane-2.0.5 vs fastlane/lib/fastlane/fastlane_require.rb in fastlane-2.1.0
- old
+ new
@@ -16,10 +16,10 @@
# Instead tell the user how to add it to their Gemfile
UI.important("Missing gem '#{gem_name}', please add the following to your local Gemfile:")
UI.important("")
UI.command_output("gem \"#{gem_name}\"")
UI.important("")
- UI.user_error!("Add 'gem \"#{gem_name}\"' to your Gemfile and restart fastlane")
+ UI.user_error!("Add 'gem \"#{gem_name}\"' to your Gemfile and restart fastlane") unless Helper.test?
end
require "rubygems/command_manager"
installer = Gem::CommandManager.instance[:install]