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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:01:57+00:00 2026-06-03T17:01:57+00:00

i have this strange bug where… in my application.js file i have //= require

  • 0

i have this strange bug where…

in my application.js file i have

//= require jquery
//= require jquery-ui
//= require jquery_ujs
//= require twitter/bootstrap

if i do

 RAILS_ENV=development rake assets:precompile

my bootstrap drop down stops working. however, if i remove the require twitter/bootstrap and hit save on my editor, and then refresh the page on my local machine. it works again.

i dont understand why. this jquery/bootstrap loading has been an issue for weeks. recompiling my assets break it. it works if i recompiled it, but then remove it and refresh the browser

UPDATE.

my css is using custom.css.scss. theres nothing special in there except

@import "bootstrap";

at the top of the file.

ive reverted back to scss instead of less, and my application.js looks like…

//= require jquery
//= require bootstrap
//= require jquery-ui
//= require jquery_ujs
//= require_tree .

on my development machine, the weird bug above occurs but in production everything seems to work fine

  • 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-03T17:01:58+00:00Added an answer on June 3, 2026 at 5:01 pm

    i fixed it. i had to do…

    rake assets:clean 
    

    something was probably corrupt and also…

    config.serve_static_assets = false
    

    in my development.rb

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

Sidebar

Related Questions

We have this strange bug report from a customer: Log file last modification date
I have this strange issue with my web app. You see, I'm using jQuery
I have a really strange ‘bug’. I use this in my view: <% foreach
I have discovered a strange bug with my WPF application and I am trying
I have a strange bug in my Code Igniter application. When I call mysql_real_escape_string,
I have this strange bug in Safari Mac. When I use CSS columns (-webkit-column-count),
I have encountered a strange bug in my application, and I am trying to
I am encountering a strange bug in my code. I have a rails application
I have this strange bug with my popup menu. It happens rarely and seemingly
I have this strange call stack and I am stumped to understand why. It

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.