mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Changed default value of :rc
option to nil
- This fixes an error thrown by Thor because type of default value of `:rc` option which is `:boolean` does not match with it's default type which is `string`. - Ref - https://github.com/erikhuda/thor/blob/master/lib/thor/parser/option.rb#L125
This commit is contained in:
parent
f037e4ac89
commit
35551f85c7
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ module Rails
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue