seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 996 forks source link

Missing classes when deploying at Centos server #255

Closed fernandomm closed 10 years ago

fernandomm commented 12 years ago

Hi,

I do all development on Mac OS and them deploy on a Centos server. I did the usual things: git clone, bundle install, rake db:migrate etc.

When i opened the application ( using Apache + Passenger ) i noticed some CSS issues. Checking it a bit further i noticed that there were some missing classes in CSS file ( Eg.: "primary" class )

At the top of the CSS file i also see some strange things:

/*!
 * Bootstrap @VERSION
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 * Date: @DATE
 */

@VERSION shouldn't be there as in my development env, it shows the actual version.

Any ideas of why this is happening?

I'm using Ruby 1.9.3 and Rails 3.2.1.

dougc84 commented 12 years ago

I'm having similar issues with the most recent version, and I'd have to say they're related here.

Side note first: @fernandomm, comments show up if you don't have compression turned on in your production.rb file.

I'm noticing the same issue. Additionally, I noticed in the compiled code that URLs are ""double quoted"", so they don't appear correctly. I use the Icons all over the place, and all of them fell off the earth into a bottomless pit of dispair. Something bad happened with 2.0.9 - I reverted back to 2.0.7 and it's working fine (and I'm sure 2.0.8 works great too).