Skip to content

Instantly share code, notes, and snippets.

View gbetous's full-sized avatar

Guillaume Betous gbetous

  • Betous Consulting
  • Toulouse, France
  • 12:28 (UTC +02:00)
View GitHub Profile
@gbetous
gbetous / gist:5093859
Created March 5, 2013 20:13
rvmsudo issue on Ubuntu 12.04 LTS
guillaume@launageek:~/www/demo$ rvmsudo get head
Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. export rvmsudo_secure_path=1 to avoid the warning./usr/bin/env: get: No such file or directory
guillaume@launageek:~/www/demo$ ls -l /etc/sudoers
-r--r----- 1 root root 723 janv. 31 2012 /etc/sudoers
guillaume@launageek:~/www/demo$ ls -l /usr/bin/env
-rwxr-xr-x 1 root root 27040 nov. 19 23:25 /usr/bin/env
guillaume@launageek:~/www/demo$ /usr/bin/env
rvm_bin_path=/usr/local/rvm/bin
rvm_error_clr=
TERM=xterm