travis-ci/travis-ci — Issue #305: Setup missing steps
Author: krainboltgreene-iseatz
Created: 2011-11-10 15:37:38+00:00
State: open

On a fresh download of master I attempted:

```
$ rake travis:setup
/Users/kurtisrainbolt-greene/.rvm/gems/ruby-1.9.3-rc1@travis-ci/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require': iconv will be deprecated in the future, use String#encode instead.
rake aborted!
No such file or directory - /Users/kurtisrainbolt-greene/Repositories/Ruby/travis-ci/config/database.yml

Tasks: TOP => travis:setup => travis:setup:db => environment
(See full trace by running task with --trace)
```

After running `cp config/database.example.yml config/database.yml` I tried again:

```
$ rake travis:setup
/Users/kurtisrainbolt-greene/.rvm/gems/ruby-1.9.3-rc1@travis-ci/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require': iconv will be deprecated in the future, use String#encode instead.
rake aborted!
FATAL: database "travis_development" does not exist

Tasks: TOP => travis:setup => travis:setup:db => environment
(See full trace by running task with --trace)
```

So I tried `be rake db:setup` and went at it again and `travis:setup` finally worked. So here's my edit to the README:

``` markdown
# Development

Setup is pretty easy. You need to execute 3 commands:

$ bundle install
$ cp config/database.example.yml config/database.yml
$ bundle exec rake db:setup
$ bundle exec rake travis:setup
$ foreman start

Application is now up & running on `http://localhost:5000`
```