如何解决Rhc设置红宝石错误和<!doctype处的无效字符
运行rhc设置时,我从Ruby中收到多个错误,此后,我又从ruby中得到了很多相同的错误,导致进入An unexpected error occurred: invalid character at "<!doctype "
。
C:\Users\Micu>rhc setup -l myemail@example.com
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-4.2.1/lib/commander/user_interaction.rb:328: warning: constant ::NIL is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-4.2.1/lib/commander/user_interaction.rb:328: warning: constant ::Data is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-4.2.1/lib/commander/user_interaction.rb:328: warning: constant ::TRUE is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-4.2.1/lib/commander/user_interaction.rb:328: warning: constant ::FALSE is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-4.2.1/lib/commander/user_interaction.rb:328: warning: constant ::Fixnum is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-4.2.1/lib/commander/user_interaction.rb:328: warning: constant ::Bignum is deprecated
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/commander-4.2.1/lib/commander/user_interaction.rb:328: warning: constant ::TimeoutError is deprecated
OpenShift Client Tools (RHC) Setup Wizard
This wizard will help you upload your SSH keys,set your application namespace,and check that other programs like Git
are properly installed.
If you have your own OpenShift server,you can specify it now. Just hit enter to use the server for OpenShift Online:
openshift.redhat.com.
Enter the server hostname: |openshift.redhat.com|
这包括顶部的第一个错误,并且在我按Enter键后输入以下内容:
You can add more servers later using 'rhc server'.
Using myemail@example.com to login to openshift.redhat.com
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746: warning: Object#timeout is deprecated,use Timeout.timeout instead.
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:616: warning: Object#timeout is deprecated,use Timeout.timeout instead.
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:872: warning: Object#timeout is deprecated,use Timeout.timeout instead.
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:950: warning: Object#timeout is deprecated,use Timeout.timeout instead.
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746: warning: Object#timeout is deprecated,use Timeout.timeout instead.
An unexpected error occurred: invalid character at "<!doctype "
我明白了。 我拥有最新的一切,并已多次重启计算机。还尝试了this thread上的说明。是否存在错误或我做错了什么(可能是做错了,因为我在这个问题上是完全陌生的?)?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。