Skip to content

Commit

Permalink
Merge pull request #22789 from prathamesh-sonpatki/fix-thor-default-t…
Browse files Browse the repository at this point in the history
…ype-error

Changed default value of `:rc` option to `nil`
  • Loading branch information
senny committed Dec 25, 2015
2 parents f037e4a + 35551f8 commit 0c973c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/generators/app_base.rb
Expand Up @@ -75,7 +75,7 @@ def self.add_shared_options_for(name)
class_option :edge, type: :boolean, default: false,
desc: "Setup the #{name} with Gemfile pointing to Rails repository"

class_option :rc, type: :string, default: false,
class_option :rc, type: :string, default: nil,
desc: "Path to file containing extra configuration options for rails command"

class_option :no_rc, type: :boolean, default: false,
Expand Down

0 comments on commit 0c973c3

Please sign in to comment.