Skip to content

Instantly share code, notes, and snippets.

@devpuppy
Forked from sr/heroku-gemfile.rb
Created February 14, 2010 20:55
Show Gist options
  • Save devpuppy/304257 to your computer and use it in GitHub Desktop.
Save devpuppy/304257 to your computer and use it in GitHub Desktop.
def disable_rubygems; nil; end
def source(s); $src = s unless s[/gemcutter/] end
def gem(n, v)
if Hash === v
$stderr.puts "ignoring git gem #{n}"
return
end
puts "#{n} --version '#{v}' #{$src ? " -s#{$src}": ""}"
end
load ARGV[0] || "Gemfile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment