Sha256: 0c2f52e59c952adf8faacdbd87bcb9c897c2af2a1500b1daeafd96ea90a054ed
Contents?: true
Size: 850 Bytes
Versions: 1
Compression:
Stored size: 850 Bytes
Contents
begin require 'rake' rescue LoadError require 'rubygems' gem 'rake', '~> 0.8.3.1' require 'rake' end require 'pathname' BASE_PATH = Pathname.new(__FILE__).dirname LIB_PATH = BASE_PATH + 'lib' PKG_PATH = BASE_PATH + 'pkg' DOC_PATH = BASE_PATH + 'rdoc' $LOAD_PATH.unshift LIB_PATH.to_s require 'ib-ruby/version' NAME = 'ib-ruby' CLASS_NAME = IB # Load rakefile tasks Dir['tasks/*.rake'].sort.each { |file| load file } # Project-specific tasks ## Migrations # rake db:new_migration name=FooBarMigration # rake db:migrate # rake db:migrate VERSION=20081220234130 # rake db:migrate:up VERSION=20081220234130 # rake db:migrate DB=osx-test # rake db:rollback # rake db:rollback STEP=3 begin require 'tasks/standalone_migrations' rescue LoadError => e puts "gem install standalone_migrations to get db:migrate:* tasks! (Error: #{e})" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ib-ruby-0.7.6 | Rakefile |