Skip to content

Commit

Permalink
Update Gemfile to use bootstrap-sass 3.3.4 with rails 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer authored and mejackreed committed Jul 6, 2015
1 parent c4bf487 commit a401d6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -20,10 +20,11 @@ if File.exists?(file)
else
gem 'rails', ENV['RAILS_VERSION'] if ENV['RAILS_VERSION']

if ENV['RAILS_VERSION'] and ENV['RAILS_VERSION'] =~ /^4.2/
if ENV['RAILS_VERSION'].nil? || ENV['RAILS_VERSION'] > "4.2"
gem 'responders', "~> 2.0"
gem 'sass-rails', ">= 5.0"
else
gem 'bootstrap-sass', '< 3.3.5' # 3.3.5 requires sass 3.3, incompatible with sass-rails 4.x
gem 'sass-rails', "< 5.0"
end
end

0 comments on commit a401d6f

Please sign in to comment.