README.markdown in standalone_migrations-2.0.2 vs README.markdown in standalone_migrations-2.0.3
- old
+ new
@@ -10,19 +10,16 @@
USAGE
=====
Install Ruby, RubyGems and a ruby-database driver (e.g. `gem install mysql`) then:
- sudo gem install standalone_migrations
+ $ gem install standalone_migrations
Add to `Rakefile` in your projects base directory:
```ruby
-begin
- require 'tasks/standalone_migrations'
-rescue LoadError => e
- puts "gem install standalone_migrations to get db:migrate:* tasks! (Error: #{e})"
-end
+require 'standalone_migrations'
+StandaloneMigrations::Tasks.load_tasks
```
Add database configuration to `db/config.yml` in your projects base directory e.g.:
development: