Skip to content

Instantly share code, notes, and snippets.

@johnsonch
Created February 1, 2013 16:32
Show Gist options
  • Save johnsonch/4692398 to your computer and use it in GitHub Desktop.
Save johnsonch/4692398 to your computer and use it in GitHub Desktop.
Error warning from rvmsudo
Running:
$ rvmsudo ruby-1.9.3-p286@mygemset -e "require 'ghost'; Ghost.store = Ghost::Store::HostsFileStore.new; host = Ghost::Host.new('myvagrant.com', '33.33.33.27'); Ghost.store.add(host)"
Results in:
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.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment