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?
请先登录再写评论。
It is standard behaviour of Mac OS. Please read javascript:;