lib/minke/tasks/fetch.rb in minke-1.11.0 vs lib/minke/tasks/fetch.rb in minke-1.11.1

- old
+ new

@@ -4,10 +4,13 @@ def run args = nil puts "## Update dependencies" puts '### Install gems' - @shell_helper.execute('bundle install -j3 && bundle update') + rvm_installed = @shell_helper.execute('which rvm') + rvm_command = 'source /usr/local/rvm/scripts/rvm && ' if rvm_installed + + @shell_helper.execute("#{rvm_command}bundle install -j3 && bundle update") puts '### Install generator dependencies' if @generator_config.build_settings.build_commands.fetch != nil run_with_block do