My Ruby installation is from the Ubuntu package repository. Yesterday,
I upgraded my system to Heron and since then one of my Ruby scripts
stopped working. I traced the problem to this:
$ROLL_PATH is interpreted by the shell before sudo is ever invoked.
So that’s not it. Anyone have any idea what’s going on?
[…]
This is unrelated to Ruby or Ubuntu. This is how sudo works. Read the
sudoers man page, looking for env_keep. You will need to edit the
/etc/sudoers file (with visudo, not directly).
$ROLL_PATH is interpreted by the shell before sudo is ever invoked.
So that’s not it. Anyone have any idea what’s going on?
[…]
This is unrelated to Ruby or Ubuntu. This is how sudo works. Read the
sudoers man page, looking for env_keep. You will need to edit the
/etc/sudoers file (with visudo, not directly).
Ok. That makes sense. Though I don’t yet understand what changed --it
was working fine before the dist-upgrade.
Thanks,
T.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.