Heroku rails producion enviroment removing css vendor prefixes

15 views
Skip to first unread message

Ekaitz Hernández Troyas

unread,
Sep 1, 2015, 10:26:44 AM9/1/15
to Ruby on Rails: Talk
I am pushing my code to heroku with a production.rb enviroment file and when I open the css file that rails has created all css vendor prefixes have disappeared. May be sass-rails gem is doing something weird.

My css with development.rb http://pastebin.com/wbWwgvDG

    [layout-align="center center"], [layout-align="start center"],
    [layout-align="end center"], [layout-align="space-between center"],
    [layout-align="space-around center"] {
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

My css with production.rb http://pastebin.com/0Tydqem2

    [layout-align="center center"], [layout-align="start center"],
    [layout-align="end center"], [layout-align="space-between center"],
    [layout-align="space-around center"] {
        align-items: center
    }

I have written to stackoverflow, and rails IRC but I don't get any help. 

What can be happening? Thanks! 

Ekaitz Hernandez

unread,
Sep 3, 2015, 5:40:24 AM9/3/15
to rubyonra...@googlegroups.com
I am pushing my code to heroku with a production.rb enviroment file and
when I open the css file that rails has created all css vendor prefixes
have disappeared. May be sass-rails gem is doing something weird. I
don't what is happening.

My css with development.rb http://pastebin.com/wbWwgvDG

[layout-align="center center"], [layout-align="start center"],
[layout-align="end center"], [layout-align="space-between center"],
[layout-align="space-around center"] {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}

My css with production.rb http://pastebin.com/0Tydqem2

[layout-align="center center"], [layout-align="start center"],
[layout-align="end center"], [layout-align="space-between center"],
[layout-align="space-around center"] {
align-items: center
}

I have written to stackoverflow, and rails IRC but I don't get any help.

What can be happening? Do you know if another compressor can work
better?Thanks!

--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages