Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 419 Bytes
version = ARGV.pop
%w( core api auth dash promo sample ).each do |framework|
puts "Installing #{framework}..."
`cd #{framework} && gem build spree_#{framework}.gemspec && gem install spree_#{framework}-#{version}.gem --no-ri --no-rdoc && rm spree_#{framework}-#{version}.gem`
end
puts "Installing Spree..."
`gem build spree.gemspec`
`gem install spree-#{version}.gem --no-ri --no-rdoc `
`rm spree-#{version}.gem`