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 (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...