Created
September 23, 2010 18:45
-
-
Save pivotal-legacy/594121 to your computer and use it in GitHub Desktop.
Vendor Jasmine gem for Rails3
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
require 'fileutils' | |
FileUtils.mkdir_p('vendor/gems') | |
Dir.chdir('vendor/gems') do | |
%x[git clone git://github.com/pivotal/jasmine-gem.git jasmine] | |
Dir.chdir('jasmine') do | |
%x[git submodule update --init] | |
%x[git fetch origin rspec2-rails3] | |
%x[git checkout rspec2-rails3] | |
%x[ruby copy_examples.rb] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment