RubyMine does not see shell variables

Why RubyMine does not see environment variables?

I have installed TorqueBox for Rails deploying (Mac OS-X 10.6.1  - Snow Leopard). I also put "export JBOSS_HOME=..." into /etc/profile and I can confirm that this variable can be seen from shell The problem is, when I run rake tasks from RubyMine. E.g Tools -> Rake Tasks -> torquebox -> rails -> server ->check shows that RubyMine cannot see the environment.

/opt/jruby/bin/jruby -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /opt/jruby/bin/rake torquebox:server:check --trace
(in /Volumes/300GB/TorqueBox/jror)
** Invoke torquebox:server:check (first_time)
** Execute torquebox:server:check
rake aborted!
$JBOSS_HOME is not set


but from shell...

$ echo $JBOSS_HOME
/opt/torquebox/jboss


What's going on?

1 comment
Comment actions Permalink

What's going on?

It is standard behaviour of Mac OS. Please read javascript:;

0

Please sign in to leave a comment.