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 7069739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:28:57+00:00 2026-05-28T05:28:57+00:00

So in my localhost the stylesheet application.css is referenced as /assets/application.css and everything is

  • 0

So in my localhost the stylesheet application.css is referenced as /assets/application.css and everything is fine, but when I deployed the app to Heroku, the css file is requested at the location /stylesheets/application.css. Is there something I didn’t config right? I am just using stylesheet_link_tag "applicaiton" in my code.
Update, I actually got:

ActionController::RoutingError (No route matches [GET]
“/assets/application.css”);

How does this happen, the file is right there.

  • 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-05-28T05:28:57+00:00Added an answer on May 28, 2026 at 5:28 am

    I think you might not have the right stack on Heroku. You current stack doesn’t support rails 3.1 and doesn’t support Assets pipeline either.

    To fix this you would need to switch to the Cedar stack: http://devcenter.heroku.com/articles/stack

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If i browse my site using http://localhost:8080/abc/Login/index.jsf , everything works fine. But if browse
I have in <link href=/assets/application.css media=screen rel=stylesheet type=text/css /> <script src=/assets/application.js type=text/javascript></script> but when
Given a normal nhibernate config file: <?xml version=1.0?> <?xml-stylesheet type=text/xsl href=http://localhost/xmlStylesheets/nhibernate.xsl?> <hibernate-configuration xmlns=urn:nhibernate-configuration-2.2> <session-factory>
In my Rails app. the javascript_include_tag seems to work fine in my localhost (mogrel)
I have a strange problem with css file in google app engine. If i
the system-created page http://localhost:3000/pages/home shows up fine. but when i change the content of
In config.php $config['base_url'] = 'http://localhost/codeigniter/'; In View <link rel=stylesheet href=<?php base_url(); ?>css/default.css type=text/css />
File structure is as follows: index.php settings/ |-manage_account.php templates/viriditio-v2/ |-index.tpl templates/virditio-v2/css |-style.css localhost/~braden/virditio/index.php shows
I've set up application.html.erb to link to a stylesheet using the following code <%=
I hava an absolute url in my stylesheet. http://localhost/images/myimage.jpg . I also have a

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.