changed environment.rb config.assets.compile to true