diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-09-02 16:38:37 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-09-02 16:38:37 +0200 |
commit | 823fb7f7d74946640c38b91241c83a916588df91 (patch) | |
tree | d48e9c526340928a1d23636d1446a783b425ee22 /Rakefile | |
parent | 95ac5d0b0f79fe3fb20b380e6aec2e2e64f329ef (diff) |
add ruby-api-wrapper require to init script
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ end desc "Migrate the database through scripts in db/migrate. Target specific version with VERSION=x" task :migrate => :load_config do - [ 'rubygems', 'active_record', 'logger' ].each{ |l| require l } + [ 'rubygems', 'opentox-ruby-api-wrapper', 'active_record', 'logger' ].each{ |l| require l } ActiveRecord::Base.establish_connection( :adapter => @@config[:database][:adapter], :host => @@config[:database][:host], |