<pre class="diff"><code><span class="diff__file">Gemfile</span>

source 'https://rubygems.org'

<span class="diff__added-line diff__added-line--first diff__added-line--last"><b>+</b>gem 'bundler', '>= 1.8.4'</span>

gem 'rails'

gem 'sass-rails'
gem 'uglifier'
gem 'coffee-rails'

<span class="diff__added-line diff__added-line--first diff__added-line--last"><b>+</b>source 'https://<%= Rails.configuration.x.hostname %>' do</span>
<span class="diff__added-line diff__added-line--first"><b>+</b>  gem 'rails-assets-bootstrap'</span>
<span class="diff__added-line"><b>+</b>  gem 'rails-assets-angular'</span>
<span class="diff__added-line diff__added-line--last"><b>+</b>  gem 'rails-assets-leaflet'</span>
<span class="diff__added-line diff__added-line--last"><b>+</b>end</span>
 </code></pre>

<pre class="diff"><code><span class="diff__file">Gemfile</span>

<span class="diff__added-line diff__added-line--first diff__added-line--last"><b>+</b>gem 'bundler', '>= 1.8.4'</span>

<span class="diff__added-line diff__added-line--first"><b>+</b>source 'https://rubygems.org' do</span>
&nbsp;&nbsp;gem 'rails'

&nbsp;&nbsp;gem 'sass-rails'
&nbsp;&nbsp;gem 'uglifier'
&nbsp;&nbsp;gem 'coffee-rails'
<span class="diff__added-line diff__added-line--last"><b>+</b>end</span>

<span class="diff__added-line diff__added-line--first"><b>+</b>source 'https://<%= Rails.configuration.x.hostname %>' do</span>
<span class="diff__added-line"><b>+</b>  gem 'rails-assets-bootstrap'</span>
<span class="diff__added-line"><b>+</b>  gem 'rails-assets-angular'</span>
<span class="diff__added-line"><b>+</b>  gem 'rails-assets-leaflet'</span>
<span class="diff__added-line diff__added-line--last"><b>+</b>end</span>
 </code></pre>

Change Gemfile example to use block for rubygems
Change Gemfile example to use block for rubygems

This is instead of global as there is a security issue
https://github.com/bundler/bundler/issues/5051
