wait with includes until Rails is fully initialized
ensure correct asset host
Merge pull request #3 from magnusvk/master

Make it work with Rails 4