1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Remove mention of win32console from ansicon message

Per the comment above this message, it should only appear for people
who can't install win32console anyway, so mentioning win32console is
pointless.
This commit is contained in:
Ryan Fitzgerald 2014-05-05 00:18:48 -07:00
parent dd2d9b927b
commit 0963398ee0

View file

@ -105,12 +105,11 @@ class Pry
# only fail on jruby (where win32console doesn't work).
# Instead we'll recommend ansicon, which does.
rescue LoadError
warn <<-WARNING unless Pry.config.windows_console_warning == false
Can not require win32console.
For a better Pry experience on Windows, please use ansicon: https://github.com/adoxa/ansicon
(win32console has been deprecated).
If you use alternative to win32console or ansicon and want not to display this warning, you can
add "Pry.config.windows_console_warning=false" to your .pryrc.
warn <<-WARNING if Pry.config.windows_console_warning
For a better Pry experience on Windows, please use ansicon:
https://github.com/adoxa/ansicon
If you use an alternative to ansicon and don't want to see this warning again,
you can add "Pry.config.windows_console_warning = false" to your .pryrc.
WARNING
end
end