Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8431785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:56:58+00:00 2026-06-10T05:56:58+00:00

I have a Rails app and its throwing error in the browser We’re sorry,

  • 0

I have a Rails app and its throwing error in the browser We're sorry, but something went wrong.. I went on to checks on the logs, and this is what i get:

Compiled visitor.js  (0ms)  (pid 15667)
Compiled application.js  (3574ms)  (pid 15667)
Compiled visitor.css  (73ms)  (pid 15667)
Compiled aboutvideos.css  (1ms)  (pid 15667)
Compiled admin.css  (1ms)  (pid 15667)
Compiled bootstrap_and_overrides.css  (802ms)  (pid 15667)
Compiled jquery.fancybox.css  (0ms)  (pid 15667)
Compiled scaffolds.css  (8ms)  (pid 15667)
Compiled stores.css  (1ms)  (pid 15667)
Compiled application.css  (1001ms)  (pid 15667)


Started GET "/" for 190.166.197.58 at 2012-08-25 16:51:44 +0000
Processing by VisitorController#home as HTML
  Rendered visitor/home.html.erb within layouts/application (3.9ms)
Completed 500 Internal Server Error in 131ms

ActionView::Template::Error (visitor.css isn't precompiled):
    3: <head>
    4:   <title><%=h yield(:title) %></title>
    5:   <% if controller_name == "visitor" %>
    6:   <%= stylesheet_link_tag    "visitor", :media => "all" %>
    7:   <%= stylesheet_link_tag    "jquery.fancybox", :media => "all" %>
    8:   <%= javascript_include_tag "visitor" %>
    9:   <%= javascript_include_tag "jquery" %>
  app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___794713378064579018_17000980'

As you can see the visitor.css is getting compiled, then i get error that visitor.css isnt precompiled. I have included the *=required visitor in the application.css. What’s could be wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:56:59+00:00Added an answer on June 10, 2026 at 5:56 am

    If you require visitor.css (*= require formtastic) within application.css, then you don’t need to include it yourself (<%= stylesheet_link_tag "visitor", :media => "all" %>).

    If you don’t, then you have to add it in your production.rb:

    config.assets.precompile += %w( visitor.css )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have rails app which are working perfectly in the local computer. But when
I have a Rails app that uses Cloudfront as its CDN and sprockets to
My Rails app passes its test but then says 0% passed. Its a Rails
I have an rails app which redirects wrong urls to /. I made 404.html
I have some rails app, a view with a field, lets say its called
I have an Rails 3 app with the following in its gemfile: source 'http://rubygems.org'
This is a bit complicated but here goes. I have a Rails app that
In a Rails app I have a Company ActiveRecord Object and one of its
I have a Rails app implementing a game, so it's expected that a player
I have a couple of models in a Rails app. Let's say it's Products

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.