Change gemfile and changed precompile option to TRUE in application.rb