1

I just clone my repo into my server and created a vhost for it.

However I keep getting:

ActionView::Template::Error (application.css isn't precompiled):

I already executed RAILS_ENV=development bundle exec rake assets:precompile

and I'm still getting the same error in the apache2 error.log and when I try to get to my site I just see:

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

Any ideas?

Thanks!

content01
  • 3,115
  • 6
  • 41
  • 61

1 Answers1

1

Add the following line in your config/environments/development.rb file

config.assets.manifest = Rails.root.join("public/assets")

and restart your server and check.

If your getting espectator.git is not check out.

Then try to run bundle install. If it's not solved, try to run bundle install --deployment

Sri
  • 2,233
  • 4
  • 31
  • 55