ref: refs/heads/master
commit f0b38207a57a3d5d91b85f50d362bd03dcdc0a84
Author: Duncan Mac-Vicar P
Date: Tue Aug 11 19:09:33 2009 +0200
pass RAILS_PARENT
---
Rakefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Rakefile b/Rakefile
index 0cac556..af4a184 100644
--- a/Rakefile
+++ b/Rakefile
@@ -6,7 +6,9 @@ def sudo(cmd)
%x[sudo -p "Password: " #{cmd}]
end
-vars = ['PKG_BUILD', 'RCOV_PARAMS', 'RAILS_ENV']
+# recognized variables
+vars = ['PKG_BUILD', 'RCOV_PARAMS', 'RAILS_ENV', 'RAILS_PARENT']
+ENV['RAILS_PARENT'] = File.join(Dir.pwd, 'webservice')
env = ENV.map { |key,val| ENV[key] ? %(#{key}="#{ENV[key]}") : nil }.reject {|x| x.nil?}.join(' ')
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org