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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:45:38+00:00 2026-06-06T20:45:38+00:00

I have a site with the Slidedeck jquery plugin on it. When I serve

  • 0

I have a site with the Slidedeck jquery plugin on it. When I serve it locally it works just fine and looks great. After I push it to Heroku, though, it doesn’t work at all.

I’m including all my files using sprockets, and I also use a gem that takes care of themes (themes_for_rails). I have an initializer in config:

 ThemesForRails.config do |config|
  # themes_dir is used to allow ThemesForRails to list available themes. It is not used to resolve any paths or routes.
  config.themes_dir = ":root/app/assets/themes"

  # assets_dir is the path to your theme assets.
  config.assets_dir = ":root/app/assets/themes/halo"

  # views_dir is the path to your theme views
  config.views_dir =  ":root/app/views/themes/halo"

  # themes_routes_dir is the asset pipeline route base. 
  # Because of the way the asset pipeline resolves paths, you do
  # not need to include the 'themes' folder in your route dir.
  #
  # for example, to get application.css for the default theme, 
  # your URL route should be : /assets/default/stylesheets/application.css
  config.themes_routes_dir = "assets"
end

This is in my application.js:

//= require jquery
//= require jquery_ujs
//= require_tree .
//= require_tree ../themes/halo/javascripts

Maybe my problem is that I am using relative paths in Heroku. I don’t know exactly how to do absolute paths, though.

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

    I haven’t used the Slidedeck library before, but here are some things to look into to narrow down your bug source:

    • Javascript erroring out. Load up the console in your app on Heroku. Does basic Javascript work? If not, something could be eating your errors–I’ve seen this happen before but I haven’t been able to find what exactly causes it.

    • Is there actually an issue with Slidedeck loading? If it’s wrapped in a class (like how jQuery is wrapped in the jQuery class), can you reference that class in the console?

    • Relative paths should be fine on Heroku…but I notice in this line:

      //= require_tree ../themes/halo/javascripts

      you’re requiring the equivalent of app/assets/themes/halo/javascripts. Is that right? Why not use the javascripts folder? If you have css, and images in this folder as well, you can split them into their respective app/assets/ subfolders, just to be sure. (My teammates have told me that this isn’t or shouldn’t be necessary, but I’ve found it to help me in one or two instances).

    • Were there any console errors pushing to Heroku related to asset precompile failure? They have a dedicated page for that error.

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

Sidebar

Related Questions

I have a site that uses JS and jQuery and works fine on all
I have a site with a search box that works fine in all browsers
I have site that works fine but when i put it through Google translate
So I have site list on certain pages that basically just have links to
I want to have site wide default settings for all jQuery validation uses on
I have site that I want to look like this: but instead it looks
I have a site built using jQuery and jQueryUI. All dialogs are using the
Jquery wont load. I'm a noob, but have persisted, trawled this site & tried
After googling I didn't find answer to my question. So, question. I have site
I have site which uses $(selector).load(path) function in more than 300 pages. Now my

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.