在为OpenShift安装自定义盒式磁带后,Ruby失败了

时间:2016-02-10 18:48:34

标签: ruby openshift openshift-client-tools openshift-cartridge

所以我正在尝试安装具有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>'

0 个答案:

没有答案