Sha256: 46f1a336b00dc4a9646c964df23bf8b873cade73089d802c11c8dd22b4343806
Contents?: true
Size: 356 Bytes
Versions: 12
Compression:
Stored size: 356 Bytes
Contents
# Small script to run migrations (mainly for use in Travis CI) # set correct rails version rails_major_version = 3 rails_major_version = ENV["RAILS_VERSION"][0] unless ENV["RAILS_VERSION"].nil? # switch to dummy-app for rails version and run migrations Dir.chdir("./spec/dummy-rails-#{rails_major_version}") do system "bundle exec rake db:migrate" end
Version data entries
12 entries across 12 versions & 1 rubygems