Created
September 11, 2012 19:28
-
-
Save nathanborgo/3701361 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# resolve bin path, ignoring symlinks | |
require "pathname" | |
bin_file = Pathname.new(__FILE__).realpath | |
# add self to libpath | |
path = File.expand_path("../../lib", bin_file) | |
$LOAD_PATH.unshift path | |
require 'heploy/cli' | |
Heploy::CLI.start | |
puts $LOAD_PATH | |
$LOAD_PATH.delete path | |
puts $LOAD_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh: /Users/nathan/code/gems/heploy: not found | |
! | |
! Invalid RUBY_VERSION specified: The-path-`/Users/nathan/code/gems/heploy`-does-not-exist. | |
! Valid versions: ruby-1.9.3-p0, ruby-1.9.3-p125, rbx-1.2.4, rbx-2.0.0dev-20120115-1.9, rbx-2.0.0dev-20120115-1.8, rbx-2.0.0dev-20120123-1.9, rbx-2.0.0dev-20120123-1.8, ruby-1.9.2-p290, jruby-1.6.5.1, jruby-1.6.7, ruby-1.9.3, ruby-1.9.2, ruby-1.8.7, ruby-1.9.3-jruby-1.7.0.preview1, ruby-1.8.7-jruby-1.7.0.preview1, ruby-1.9.3-rbx-2.0.0dev, ruby-1.8.7-rbx-2.0.0dev | |
! | |
sh: /Users/nathan/code/gems/heploy: not found | |
! Heroku push rejected, failed to compile Ruby/rails app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment