2011-08-18 21:45:59 +00:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
|
|
|
require 'rubygems'
|
|
|
|
require 'penchant'
|
|
|
|
|
|
|
|
if Penchant::Gemfile.do_full_env_switch!(ARGV[0])
|
2011-08-19 18:01:34 +00:00
|
|
|
system %{bundle}
|
2011-08-18 21:45:59 +00:00
|
|
|
puts "Gemfile switched to #{ARGV[0]}"
|
|
|
|
else
|
|
|
|
exit 0
|
|
|
|
end
|
|
|
|
|