lib/geordi/commands/rake.rb in geordi-3.2.0 vs lib/geordi/commands/rake.rb in geordi-4.0.0

- old
+ new

@@ -8,12 +8,14 @@ - test - cucumber LONGDESC def rake(*args) + invoke_cmd 'bundle_install' + %w[development test cucumber].each do |env| # update long_desc when changing this if File.exist? "config/environments/#{env}.rb" - call = %w[bundle exec rake] + args + ["RAILS_ENV=#{env}"] + call = [Util.binstub('rake')] + args + ["RAILS_ENV=#{env}"] Interaction.note_cmd call.join(' ') Util.system! *call end end