Skip to content

Instantly share code, notes, and snippets.

@yyyyyyuanfei
Created November 8, 2012 09:59
Show Gist options
  • Select an option

  • Save yyyyyyuanfei/4037897 to your computer and use it in GitHub Desktop.

Select an option

Save yyyyyyuanfei/4037897 to your computer and use it in GitHub Desktop.
blueprint for simple ruby script
source "http://ruby.taobao.org"
group :development do
gem "guard-ruby"
gem 'rb-fsevent', '~> 0.9.1'
end
GEM
remote: http://ruby.taobao.org/
specs:
coderay (1.0.8)
guard (1.5.3)
listen (>= 0.4.2)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
thor (>= 0.14.6)
guard-ruby (0.0.1)
guard
listen (0.5.3)
lumberjack (1.0.2)
method_source (0.8.1)
pry (0.9.10)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.3.1)
rb-fsevent (0.9.2)
slop (3.3.3)
thor (0.16.0)
PLATFORMS
ruby
DEPENDENCIES
guard-ruby
rb-fsevent (~> 0.9.1)
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'ruby' do
# run any benchmarking files
watch(/bench.*\.rb/)
# run a program when it's data is changed
watch(/.*\.csv/) { 'convert.rb' }
# run a program when it has been changed
watch(/.*\.rb/)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment