Sha256: c602e5c6d4be696a81875b550073aafb5551cff9d5bfb9946f1b7ca9f0069dc6

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

#!/usr/bin/env ruby
require 'rvmify'

def usage
  puts "To use rvmify, you must specify a directory."
  puts
  puts "Examples: rvmify ."
  puts "          rmvify /path/to/myproject"
  abort
end

dir = ARGV.shift

usage if dir.nil?

begin
  Rvmify.generate(File.expand_path(dir))
rescue => e
  abort(e.message)
rescue Timeout::Error => e
  abort("Request Timeout")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rvmify-0.2.0 bin/rvmify