Skip to content

Instantly share code, notes, and snippets.

@dozortsev
Last active August 29, 2015 13:58
Show Gist options
  • Save dozortsev/9993698 to your computer and use it in GitHub Desktop.
Save dozortsev/9993698 to your computer and use it in GitHub Desktop.
# Install RVM : https://rvm.io/
$ \curl -sSL https://get.rvm.io | bash -s stable --rails --autolibs=enabled --ruby=2.1.1
# Reboot terminal
$ ruby -v
# Use last version
# Set new version by default
$ rvm --default use ruby-2.1.1
$ ruby -v
$ gem install guard guard-livereload
# Go to test folder and...
$ guard init
# Guardfile content
guard 'livereload' do
watch(%r{.+\.(css|js|html)})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment