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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:03:16+00:00 2026-06-15T10:03:16+00:00

I successfully deployed my rails app to my VPS, but when I try to

  • 0

I successfully deployed my rails app to my VPS, but when I try to look at my server from browser, I get a 500 error (“We’re sorry, but something’s wrong”). The app is working fine locally, so I think the problem lies in not my code but somewhere else.

Here’s the log from /current/log/production.log

ActionView::Template::Error (jquery.js isn't precompiled):
    4:   <title>Songhomme</title>
5:   <%= stylesheet_link_tag    "application", :media => "all" %>
6:   <%= javascript_include_tag "application" %>
7:   <%= javascript_include_tag 'jquery' %>
8:   <%= csrf_meta_tags %>
9: </head>
10: <body>
  app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb___2525571063257357898_28769560'

I also got the following error:

ActionView::Template::Error (/home/deployer/apps/songhomme/releases/20121204091428/app/views/posts/_posts.erb:27: syntax error, unexpected ',', expecting ')'
...ppend= ( link_to (t.name + " ", '/tags/' + t.id.to_s) );@out...

The code is working fine locally, so I’m not sure what’s wrong with the second part of code. For the first part of code, does running rake assets:precompile before I push to my repo solve the problem?

I appreciate your help.

  • 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-15T10:03:18+00:00Added an answer on June 15, 2026 at 10:03 am

    Try declaring your js includes in the manifest file application.js , not by javascript_include_tag. Since Rails version 3 this is the proper way . So , in your application.js :

    //= require jquery
    //= require jquery_ujs
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have successfully deployed an app using webapp2/jinja2 and a Paste server, but
I have a Rails app deployed on Heroku with the Heroku scheduler add-on successfully
I've deployed a Ruby on Rails app successfully and followed the asset pipeline guide
Currently, I have successfully deployed my ASP.NET App in the Production server. Now I
After I've successfully deployed a Rails 3 app on heroku, it fails to start.
After successfully opening Pop3Folder , and retrieving messages from it, I then sometimes get
I successfully deployed the demo web app that comes with Jython. It uses modjy
I have been wondering: Has anyone successfully deployed a Google App Engine which uses
I have developed a Ruby on Rails application and successfully deployed on Weblogic using
I successfully deployed my Django site to IIS7 but I still have problems about

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.