Hi Erik,_______________________________________________Are you trying to access the environment variables from inside an app or just another script?Can you also tell me what version of MacRuby you are using?Thanks,MarkOn 2012-10-17, at 11:39 AM, Erik Lundqvist <willcodejavaforfood@gmail.com> wrote:Dear all,_______________________________________________Started playing with MacRuby again and I need to access the environment variables.Say I have a export VARIABLE_NAME = WhateverI have tried both:ENV['VARIABLE_NAME']andNSProcessInfo.processInfo.environment.objectForKey('VARIABLE_NAME')Neither of which returns anythingBoth works in macirbKind Regards,Erik
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macruby-devel
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macruby-devel