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!

7
  • did you set config.assets.compile = true already? Commented Mar 28, 2013 at 15:32
  • 2
    Try to restart the server after rake assets:precompile and check Commented Mar 28, 2013 at 15:35
  • @Vinay where? in the environments/development.rb ? Commented Mar 28, 2013 at 15:35
  • 1
    Try to restart the server first after you finished the rake assets:precompile and check is that solved and let know Commented Mar 28, 2013 at 15:37
  • 1
    wohooo thanksssssssss! @Vinay Commented Mar 28, 2013 at 15:43

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

2 Comments

Actually, I'm getting the same error ActionView::Template::Error (redesign/four-steps.png isn't precompiled) in other views...
did you restarted the server?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.