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

  • Home
  • SEARCH
  • 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 8280265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T09:36:41+00:00 2026-06-08T09:36:41+00:00

In my application.js I have this: //= require jquery_ujs //= require jquery.validate.min //= require

  • 0

In my application.js I have this:

//= require jquery_ujs
//= require jquery.validate.min
//= require jquery.tokeninput
//= require script

in my gemfile, I read somewhere that I should put this if I want to ‘live compile’ the assets each time i deploy.

gem 'therubyracer', :require => 'v8'

When i put this, i can run cap deploy and cap deploy:assets:precompile successfully.

I also read from here that this is an extremely bad idea. So now im confused whether Im supposed to do this or not… When i dont put therubyracer in my gemfile i get an error when i deploy (below), even if i run assets:prcompile first before I deploy… but its my understanding if i DO use that this is a huge amount of overhead…?

could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.

  • 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-08T09:36:43+00:00Added an answer on June 8, 2026 at 9:36 am

    Apparently they’re not the same thing, and I need to simply add the assets to environments/production.rb where its commented

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

Sidebar

Related Questions

This is the default application.js : //= require jquery //= require jquery_ujs //= require_tree
I have a problem, my rake file looks like this: require File.expand_path('../config/application', __FILE__) require
I have this application that need to do some things in protected paths (like
I have this application that will recurse all folders in a given directory and
i have this strange bug where... in my application.js file i have //= require
I have a web application with require.js, backbone.js and jquery. The brief structure of
i have used impersonation in this application. whenever this error occurs i required to
In my c# application i have this small form which is used to set
I have this application where I implement the ActionBar Fragment interface. Underlying the interface,
I have this application written in JSF 2.0 facelets and it has the following

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.