Skip to content
This repository
Browse code

update Gemfile template to 1.9 hash syntax

  • Loading branch information...
commit 5db367a7fe528c33bc02a066e633c3e700496ac7 1 parent d4a7dee
Francesco Rodríguez authored May 29, 2012
2  railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -19,7 +19,7 @@ source 'https://rubygems.org'
19 19
 # gem 'unicorn'
20 20
 
21 21
 # Deploy with Capistrano
22  
-# gem 'capistrano', :group => :development
  22
+# gem 'capistrano', group: :development
23 23
 
24 24
 # To use debugger
25 25
 # gem 'debugger'

8 notes on commit 5db367a

aaronchi

Noooooooooooooooooooo

Carlos Brando

I also hate that "::".

andyl
andyl commented on 5db367a June 04, 2012

Hate the double colons. Bring back the old style!

Xenda
xenda commented on 5db367a June 04, 2012

Isn't it better to future-proof Rails for the new Ruby 1.9 syntax? I actually find it cleaner.

aaronchi

I just thought this commit was in need of a flame war ;)

Xenda
xenda commented on 5db367a June 04, 2012

:trollface:

Kieran Pilkington

I prefer the old style. I think Ruby went backward with the new hash syntax.

But, make :development a string, then it looks better.

gem 'capistrano', group: 'development'
Please sign in to comment.
Something went wrong with that request. Please try again.