1
0
Fork 0
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:
Prathamesh Sonpatki 2015-12-25 11:09:39 +05:30
parent f037e4ac89
commit 35551f85c7

View file

@ -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,