I need to remove the RUBYOPT variable from the environment so I can
install MacRuby.
I’ve checked all my (local) environment (dot) files. I can’t find any
RUBYOPT env variable definition. In fact, it is global, since I can see
it in another user session within my MacBook Pro.
I’ve checked the /etc/profile but RUBYOPT isn’t defined there.
Question: Where would the global env RUBYOPT definition/assignment be?
…and is there an effective way to track down the source of global env
variables definitions/assignments?
… Where else can I find (global) startup files to check?
Why not try doing what Marc said? Use grep -r. And start at “/”, the top
level. It will take a long time but at least you’ll find it. For maximum
scope you might need to run as the superuser. Anyway way this has long
ago ceased to have anything to do with Ruby. m.
… Where else can I find (global) startup files to check?
Why not try doing what Marc said? Use grep -r. And start at “/”, the top
level. It will take a long time but at least you’ll find it. For maximum
scope you might need to run as the superuser. Anyway way this has long
ago ceased to have anything to do with Ruby. m.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.