Sha256: 2080b14cc9e5a595ae053508f3746e621248eb3ddd0ea1c3a7c2da3edc174279

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

#!/usr/bin/env ruby
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'rubygems'
require 'railsonfire'
require 'railsonfire/helpers/base'
require 'gems'

ENV["public-key"] = <<-eos
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAtuHyhunxRlbCGigqUFgA8XFlaberqgm+S0LQ0HGWY6hlwBsyo9oE
e06n1sHu3CgeCinOhdDVNS5r8y0neZrABpHnq9rizk49l6U/KBqmebZL5i90RD/8
366UHAYDMAN3ensw8Fb1il3mBwVpdAFsTfmu1LyriJXOOGJKD3zeHzFaCbLqjyzL
sHtn9ve/nMUNI/V4z28sWSoP4gLlZD0yQd1loWYb9usjXPlL4ZqKELhn70bu+Omm
AxUaO2u0fk9ixurx9nIsydQWTRI3h8xLO1pfx/TcG3QDEhp3trD0KFNVU1a2UvCQ
Ynhi9CV9Q9alALkNpKGyhBEMuS4HNtcrVQIDAQAB
-----END RSA PUBLIC KEY-----
  eos

include Railsonfire::Helper

begin
  if `gem list railsonfire`[Gems.info('railsonfire')["version"]]
    CLI.start
  else
    puts "You have an old version of Railsonfire installed. Please update by running gem update railsonfire."
  end
rescue Exception => e
  if e.class != SystemExit && e.class != Interrupt
    puts ""
    puts "Sorry, an Error occured and we were informed. Please try again."
    notify(e.class, "Cought Exception with: #{e.class}", {:backtrace => e.backtrace, :error_class => e.class, :error_message => e.message})
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
railsonfire-0.2.15 bin/railsonfire
railsonfire-0.2.13 bin/railsonfire