Sha256: d3d84c682b7d73d2c7d87152aa68588cbb2f26d2806d7b1406053accb7d3f498
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
gems = ARGV[0] raise "Error: Need to specify gems are first argument!" if gems.nil? gems = gems.split(",") gems.each do |gem| begin unless require gem print "#{gem}" exit 1 end rescue => e puts "Probably attempted to require a gem that doesn't exist!: #{gem}" end end exit 0
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
resquire-1.0.2 | lib/template.rb |
resquire-1.0.1 | lib/template.rb |
resquire-1.0.0 | lib/template.rb |