Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update Gemfile template to 1.9 hash syntax

  • Loading branch information...
commit 5db367a7fe528c33bc02a066e633c3e700496ac7 1 parent d4a7dee
Francesco Rodríguez frodsan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/generators/rails/app/templates/Gemfile
2  railties/lib/rails/generators/rails/app/templates/Gemfile
View
@@ -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

Noooooooooooooooooooo

Carlos Brando

I also hate that "::".

andyl

Hate the double colons. Bring back the old style!

Xenda

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 ;)

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.