Hello,
I try to adapt my buildfile depending on the environment setting.
I set up a minimalistic buildfile to check why, I cannot access
environment. The first puts works, the second not.
Most likely I misunderstood the usage. Do you have any idea?
-------
require 'buildr'
define 'foo' do
puts "Env #{ENV['BUILDR_ENV']}"
puts "#{environment}"
end
-------
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de