Skip to content

Instantly share code, notes, and snippets.

@johnsonch
Created February 1, 2013 17:48
Show Gist options
  • Save johnsonch/4692870 to your computer and use it in GitHub Desktop.
Save johnsonch/4692870 to your computer and use it in GitHub Desktop.
rvmsudo issue
cd ~/
echo pwd
export rvmsudo_secure_path=1
echo "export ok"
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)"
echo "rvmsudo ok"
cd /home
echo "change directory"
echo pwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment