Advertisement
Guest User

Untitled

a guest
Jun 10th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #!/usr/bin/ruby2.1
  2. #
  3. # This file was generated by RubyGems.
  4. #
  5. # The application 'jekyll' is installed as part of a gem, and
  6. # this file is here to facilitate running it.
  7. #
  8.  
  9. require 'rubygems'
  10.  
  11. version = ">= 0"
  12.  
  13. if ARGV.first
  14. str = ARGV.first
  15. str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
  16. if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
  17. version = $1
  18. ARGV.shift
  19. end
  20. end
  21.  
  22. gem 'jekyll', version
  23. load Gem.bin_path('jekyll', 'jekyll', version)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement