Rails rake tasks

A few updates that should address the rails/rake task issue mentioned in #8.