Sha256: 98709f11778d9e2e442a7559d5008812771943db13e36bd70f33b8a84146c73c
Contents?: true
Size: 691 Bytes
Versions: 15
Compression:
Stored size: 691 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'templater' require File.join(File.dirname(__FILE__), '..','generators','rhoconnect') $:.unshift File.join(File.dirname(__FILE__),'..','lib') require File.join(File.dirname(__FILE__), '..','lib','rhoconnect') # Stub this method to force 1.8 compatibility (come on templater!) class Encoding def find "utf-8" end def dummy? false end end class String def force_encoding(enc) return self end def encoding if RUBY_VERSION =~ /1\.8/ and Encoding.responds_to?('new') Encoding.new else Encoding.default_external end end end Rhoconnect.run_cli(Dir.pwd, 'rhoconnect', Rhoconnect::VERSION, ARGV)
Version data entries
15 entries across 15 versions & 1 rubygems