I got "Circular dependency detected while autoloading constant".
I removed config.autoload_paths += Dir["#{Rails.root}/app/api/*"] from application.rbthen it started to work again.
If anybody else had the same issue, it makes sense to update the README.md.
I am using Rails 4.0.1.