Sha256: 825ab52741547026a229ff491aa017b148d8d5c4fb65fb11d7e86ce63d972683
Contents?: true
Size: 840 Bytes
Versions: 2
Compression:
Stored size: 840 Bytes
Contents
#!/usr/bin/env ruby -W0 require 'rubygems' begin if File.exists?(File.join(Dir.pwd,'Gemfile')) require 'bundler' Bundler.require end $:.unshift File.join(File.dirname(__FILE__),'..') $:.unshift File.join(File.dirname(__FILE__),'..','lib') require 'templater' require 'generators/rhoconnect' require '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}" puts e.backtrace.join("\n") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rhoconnect-4.0.0.beta.10 | bin/rhoconnect |
rhoconnect-4.0.0.beta.12 | bin/rhoconnect |