Permalink
Browse files

update Gemfile template to 1.9 hash syntax

  • Loading branch information...
Francesco Rodriguez
Francesco Rodriguez committed May 29, 2012
1 parent d4a7dee commit 5db367a7fe528c33bc02a066e633c3e700496ac7
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -19,7 +19,7 @@ source 'https://rubygems.org'
# gem 'unicorn'
# Deploy with Capistrano
-# gem 'capistrano', :group => :development
+# gem 'capistrano', group: :development
# To use debugger
# gem 'debugger'

8 comments on commit 5db367a

@aaronchi

This comment has been minimized.

Show comment
Hide comment
@aaronchi

aaronchi Jun 4, 2012

Contributor

Noooooooooooooooooooo

Contributor

aaronchi replied Jun 4, 2012

Noooooooooooooooooooo

@carlosbrando

This comment has been minimized.

Show comment
Hide comment
@carlosbrando

carlosbrando Jun 4, 2012

Contributor

I also hate that "::".

Contributor

carlosbrando replied Jun 4, 2012

I also hate that "::".

@andyl

This comment has been minimized.

Show comment
Hide comment
@andyl

andyl Jun 5, 2012

Hate the double colons. Bring back the old style!

andyl replied Jun 5, 2012

Hate the double colons. Bring back the old style!

@xenda

This comment has been minimized.

Show comment
Hide comment
@xenda

xenda Jun 5, 2012

Contributor

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

Contributor

xenda replied Jun 5, 2012

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

@aaronchi

This comment has been minimized.

Show comment
Hide comment
@aaronchi

aaronchi Jun 5, 2012

Contributor

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

Contributor

aaronchi replied Jun 5, 2012

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

@xenda

This comment has been minimized.

Show comment
Hide comment
@xenda

xenda Jun 5, 2012

Contributor

:trollface:

Contributor

xenda replied Jun 5, 2012

:trollface:

@KieranP

This comment has been minimized.

Show comment
Hide comment
@KieranP

KieranP Jun 5, 2012

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'

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.