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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:27:59+00:00 2026-06-04T13:27:59+00:00

I run into a quite strange issue : I’m working with : Rails 3.1.1

  • 0

I run into a quite strange issue :

I’m working with :

  • Rails 3.1.1
  • Bootstrap-sass 1.4.4 (didn’t have time to upgrade to 2.0 yet)

An known issue in previous bootstrap-sass 1.4.0 was the one described here relating to IE gradients displays.
This was fixed in 1.4.3 by the introduction (from what I understood) of ie_hex_str function and specific filters for IE like :

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie_hex_str($startColor)}', endColorstr='#{ie_hex_str($endColor)}', GradientType=0);

Some details are given here.

I still have the problem and my issue is that after the assets precompilation I get something like :

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='ie_hex_str(#FFFFFE)', endColorstr='ie_hex_str(#E6E6E6)', GradientType=0);

That is the ie_hex_str was not interpreted when compiling the assets.
I didn’t touch any of the bootstrap-sass code so I don’t understand what’s going on…

Any idea ?

UPDATE :

The “funny” thing is that I have 2 applications using the same versions of rails and bootstrap-sass and doing pretty much the same thing and they don’t react the same way. For one the ie_hex_str is correctly interpreted.

  • 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-04T13:28:01+00:00Added an answer on June 4, 2026 at 1:28 pm

    I couldn’t find out what was going on. It seems that the functions in the sass mixins of bootstrap-sass are not getting interpreted during assets precompilation.

    As I couldn’t figure out why, I used a workaround: I overrode the definitions I’m using such as btn :

    .btn {
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFFFE, endColorstr=#FFE6E6E6, GradientType=0);
    
      .primary {
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF049CDB, endColorstr=#FF0064CD, GradientType=0);
      }
    }
    

    Using the color I need.
    At least it works well.

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

Sidebar

Related Questions

I seem to run into this situation quite a lot and have yet to
I have run into this jquery plugin and i quite understand how this works:
I've run into a strange timewarp while doing some math with time, and it
Hello StackOverflow community, I have run into a problem that quite frankly is baffling
This question is quite simple but I have run into the problem a few
I run into a very strange bug, quite hard to reproduce: AttributeError: 'list' object
I have started playing around with db4o but quite soon I have run into
I have just run into quite surprising problem. The case is simple: return all
I've run into this issue quite a few times and never liked the solution
quite new to JQuery and Ive run into a problem. I have a form

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.