Bootstrap css file is added automatically in production but no locally as
it should be in Rails App
Okay so this is a pretty weird problem, I have a Rails app that uses the
bootstrap grid and no other bootstrap css file. Locally everything renders
just fine, but in production mode, (I'm using Heroku) it seems as though
the bootstrap css stylesheet is being added, and I have no idea where it's
coming from or why it's doing this. It wasn't doing this before and I'm
pretty sure I haven't added anything that would automatically include the
bootstrap css styles. I hope I'm missing something obvious here, but I
just can't pin-point the problem and it has never happend before,
hopefully you guys can tell me what I'm doing wrong. I'll post my gem file
as I think it must have something to do with that:
source 'https://rubygems.org'
gem 'rails', '3.2.12'
gem 'bcrypt-ruby', '3.0.1'
gem 'faker', '1.0.1'
gem 'jquery-rails', '2.0.2'
gem 'activeadmin'
gem 'rename'
gem 'obscenity'
gem 'omniauth'
gem 'omniauth-facebook'
group :development, :test do
gem 'sqlite3', '1.3.5'
gem 'rspec-rails', '2.11.0'
gem 'guard-rspec', '1.2.1'
gem 'guard-spork', '1.2.0'
gem 'spork', '0.9.2'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '3.2.5'
gem 'coffee-rails', '3.2.2'
gem 'uglifier', '1.2.3'
end
group :test do
gem 'capybara', '1.1.2'
gem 'factory_girl_rails', '4.1.0'
gem 'cucumber-rails', '1.2.1', :require => false
gem 'database_cleaner', '0.7.0'
# gem 'launchy', '2.1.0'
# gem 'rb-fsevent', '0.9.1', :require => false
# gem 'growl', '1.0.3'
end
group :production do
gem 'pg', '0.12.2'
end
No comments:
Post a Comment