Created
November 8, 2012 09:59
-
-
Save yyyyyyuanfei/4037897 to your computer and use it in GitHub Desktop.
blueprint for simple ruby script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source "http://ruby.taobao.org" | |
| group :development do | |
| gem "guard-ruby" | |
| gem 'rb-fsevent', '~> 0.9.1' | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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