I agree with @Ernest; he should work. Here's a sample ...
Rake task for echo booths:
task :echo_env do
puts "VAR1: #{ENV['VAR1']}"
puts "VAR2: #{ENV['VAR2']}"
end
Task completion:
VAR1=first VAR2=second bundle exec rake echo_env
Output:
VAR1: first
VAR2: second
source
share