Sha256: 16ae371b6946168af5a6a47befb1acb9ba6ec100be8ca0336cadb210bf5a93da

Contents?: true

Size: 750 Bytes

Versions: 4

Compression:

Stored size: 750 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems'
begin
  if File.exists?(File.join(Dir.pwd,'Gemfile'))
    require 'bundler'
    Bundler.require
  end
  $:.unshift File.join(File.dirname(__FILE__),'..')
  require 'templater'
  require 'generators/rhoconnect'
  require 'lib/rhoconnect'
  require 'commands/execute'

  Execute.start
rescue SystemExit => se
  # This is normal
rescue Exception => e
  if ARGV[0] == 'update' and e.class == Gem::LoadError
    puts e.message
    puts "\nUpdate your Gemfile to latest rhoconnect release and run 'rhoconnect update' again."
    puts "See http://docs.rhomobile.com/rhoconnect/install#upgrading-an-existing-application about update details.\n\n"
  else
    puts "Run rhoconnect command error: #{e.inspect}"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rhoconnect-3.4.5 bin/rhoconnect
rhoconnect-3.4.4 bin/rhoconnect
rhoconnect-3.4.3 bin/rhoconnect
rhoconnect-3.4.2 bin/rhoconnect