Sha256: ad2753a36bc1c6ce7afc8ff355ff4ef43492ad496e3826aa8e060b90d183d979
Contents?: true
Size: 787 Bytes
Versions: 1
Compression:
Stored size: 787 Bytes
Contents
require 'rubygems' require 'rubygems/gem_runner' require 'rubygems/exceptions' #http://gist.github.com/236148 required_version = Gem::Requirement.new "> 1.8.6" unless required_version.satisfied_by? Gem.ruby_version then abort "Expected Ruby Version #{required_version}, was #{Gem.ruby_version}" end def install(lib) begin matches = Gem.source_index.find_name(lib) if matches.empty? puts "Installing #{lib}" Gem::GemRunner.new.run ['install', lib] else puts "Found #{lib} gem - skipping" end rescue Gem::SystemExitException => e end end puts "Installing required dependencies" install 'rake' install 'rubyzip' install 'jeweler' install 'rspec' install 'derickbailey-notamock' install 'jekyll' install 'watchr'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.2.0.preview2 | install_dependencies.rb |