Skip to content

Instantly share code, notes, and snippets.

@jonbartlett
Created July 5, 2016 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonbartlett/57b07889097b8b1995e6f3d42e664c28 to your computer and use it in GitHub Desktop.
Save jonbartlett/57b07889097b8b1995e6f3d42e664c28 to your computer and use it in GitHub Desktop.
call a ruby script from crontab when using rbenv
/bin/bash -c 'export PATH="$HOME/.rbenv/bin:$PATH" ; eval "$(rbenv init -)" ; cd /home/vagrant/projects/tmux-status/ ; ruby -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment