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

Version Path
rhoconnect-3.1.2 bin/rhoconnect
rhoconnect-3.1.1 bin/rhoconnect
rhoconnect-3.1.0 bin/rhoconnect
rhoconnect-3.1.0.beta2 bin/rhoconnect
rhoconnect-3.1.0.beta1 bin/rhoconnect
rhoconnect-3.0.6 bin/rhoconnect
rhoconnect-3.0.5 bin/rhoconnect
rhoconnect-3.0.4 bin/rhoconnect
rhoconnect-3.0.3 bin/rhoconnect
rhoconnect-3.0.2 bin/rhoconnect
rhoconnect-3.0.1 bin/rhoconnect
rhoconnect-3.0.0 bin/rhoconnect
rhoconnect-3.0.0.rc1 bin/rhoconnect
rhoconnect-3.0.0.beta3 bin/rhoconnect
rhoconnect-3.0.0.beta1 bin/rhoconnect