13 lines
188 B
Ruby
Executable File
13 lines
188 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require 'rubygems'
|
|
require 'penchant'
|
|
|
|
if Penchant::Gemfile.do_full_env_switch!(ARGV[0])
|
|
system %{bundle}
|
|
puts "Gemfile switched to #{ARGV[0]}"
|
|
else
|
|
exit 0
|
|
end
|
|
|