Its now safe to run rake and guard from outside the dev box

This commit is contained in:
Fabio Rehm 2013-03-02 20:39:27 -03:00
parent 61c4982fde
commit 76ec1326b6
2 changed files with 0 additions and 4 deletions

View file

@ -1,8 +1,6 @@
# A sample Guardfile # A sample Guardfile
# More info at https://github.com/guard/guard#readme # More info at https://github.com/guard/guard#readme
raise 'You should start guard from the dev box!' unless ENV['USER'] == 'vagrant'
guard 'bundler' do guard 'bundler' do
watch('Gemfile') watch('Gemfile')
watch(/^.+\.gemspec/) watch(/^.+\.gemspec/)

View file

@ -1,3 +1 @@
raise 'This Rakefile is meant to be used from the dev box' unless ENV['USER'] == 'vagrant'
Dir['./tasks/**/*.rake'].each { |f| load f } Dir['./tasks/**/*.rake'].each { |f| load f }