0

所以我正在尝试安装具有 python3.5 https://github.com/Praisebetoscience/openshift-cartridge-python-3.5的自定义墨盒

我正在运行的命令是:

rhc app create bot nodejs-0.10 http://cartreflect-claytondev.rhcloud.com/github/Praisebetoscience/openshift-cartridge-python-3.5

然而,在墨盒安装完成后,红宝石崩溃并出现一个奇怪的错误。我对 ruby​​ 不是很熟悉,我不确定为什么这是来自核心库。你知道是什么原因造成的吗?

C:/Ruby193/lib/ruby/1.9.1/erb.rb:838:in `eval': (erb):1: syntax error, unexpecte
d tCONSTANT, expecting keyword_do or '{' or '(' (SyntaxError)
...    % Received % Xferd  Average Speed   Time    Time     Tim...
...                               ^
        from C:/Ruby193/lib/ruby/1.9.1/erb.rb:838:in `result'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.38.4/lib/rhc/highline_ext
ensions.rb:48:in `say'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.38.4/lib/rhc/helpers.rb:3
21:in `error'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.38.4/lib/rhc/command_runn
er.rb:96:in `rescue in run!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.38.4/lib/rhc/command_runn
er.rb:71:in `run!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.2.1/lib/commander/d
elegates.rb:12:in `run!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.38.4/lib/rhc/cli.rb:37:in
 `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rhc-1.38.4/bin/rhc:20:in `<top
(required)>'
        from C:/Ruby193/bin/rhc:23:in `load'
        from C:/Ruby193/bin/rhc:23:in `<main>'
4

0 回答 0