17 Oct
2012
17 Oct
'12
3:39 p.m.
Dear all, Started playing with MacRuby again and I need to access the environment variables. Say I have a export VARIABLE_NAME = Whatever I have tried both: ENV['VARIABLE_NAME'] and NSProcessInfo.processInfo.environment.objectForKey('VARIABLE_NAME') Neither of which returns anything Both works in macirb Kind Regards, Erik