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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:36:43+00:00 2026-06-06T16:36:43+00:00

I am working on a Rails 3.1 app that makes use of CoffeeScript. As

  • 0

I am working on a Rails 3.1 app that makes use of CoffeeScript. As a new Rails developer, I have been making changes to some configuration to try to make the most of the asset pipeline and Heroku.

However, I am now in a position whereby, no matter what changes I make to the app/assets/javascripts/*.js.coffee files, the local Rails development server refused to pick up those changes and recompile the app. The only way I can trigger recompilation of .js.coffee files is to stop WEBrick and restart it.

This problem does not seem to affect my pushes to Heroku, however. Those seem to recompile just fine.

Some details on my setup:

  • I do not compile assets locally with rake assets:precompile. Instead, I use the “#2 compiling assets during slug compilation” method described here.
  • The relevant parts of my Gemfile look like this:

    gem 'rails', '3.2.3'
    gem 'rake', '0.9.2.2'
    gem 'activesupport', '~> 3.2.3'
    gem 'json'
    
    group :assets do
      gem 'sass-rails', '~> 3.2.3'
      gem 'coffee-rails', '~> 3.2.1' 
      ..
    end
    
  • My config/environments/development.rb has these relevant (I think) lines. If something here looks odd, I don’t really recall why the change was made (though perhaps I documented something in my SCM).

  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false

  # Print deprecation notices to the Rails logger
  config.active_support.deprecation = :log

  # Only use best-standards-support built into browsers
  config.action_dispatch.best_standards_support = :builtin

  # Do not compress assets
  config.assets.compress = false

  # Expands the lines which load the assets
  config.assets.debug = true

  config.assets.compile = true

  config.serve_static_assets = true

  # Generate digests for assets URLs
  config.assets.digest = true

Any thoughts on what to look for?
Thanks.

  • 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-06T16:36:45+00:00Added an answer on June 6, 2026 at 4:36 pm

    After removing config.assets.compile, config.serve_static_assets, and config.assets.digest, CoffeeScript compilation works again.

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

Sidebar

Related Questions

I'm working on a Rails app that implements some social network features as relationships,
I am working on a Rails app that allows you to create a configuration
I've been working on a rails app that uses the restful authentication plugin. It
I am working on some specs for my Rails app that involve re-ordering Models
I've been working on a rails app for a couple of days now that
I have been working to deploy a relatively large Rails app (Rails 2.3.5) and
I have a new app (Rails 2.3.8) that uses lots of money fields. I'm
Now that I have a working Rails 3 web app, I'd like to make
I'm trying to get a What's new section working in my Rails app that
I'm working on a Rails app that existing users can invite additional members to

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.