1. #1
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    11
    Vote Rating
    0
    dtsm12 is on a distinguished road

      0  

    Default Ruby error from app build during "Theming Ext JS" walkthrough

    REQUIRED INFORMATION

    Sencha Cmd version(s) tested:
    • Sencha Cmd v4.0.0.203
    Operating System:
    • ________
    • Windows 7 Enterprise
    Framework used:
    • Ext JS 4.2.1.883
    Description:

    I'm going through the steps for theming Ext JS 4.2.2: http://docs.sencha.com/extjs/4.2.2/#!/guide/theming.

    When I run this ...
    Code:
    cd theme-demo-appsencha app build
    ... I get this error: "compass process exited with non-zero code : 1".

    When I run this ...
    Code:
    sencha --debug app build
    ... I get this error: "Could not find RubyGem compass (>= 0)".

    Diagnostic Output:
    Code:
    C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app>sencha diag show
    Sencha Cmd v4.0.0.203
    [INF]                            app.build.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace/build/ThemeDemoApp
    [INF]                            app.classpath : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app/app,C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming
    \my-workspace\theme-demo-app/app.js
    [INF]                          app.cmd.version : 4.0.0.203
    [INF]                           app.config.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app\.sencha\app
    [INF]                                  app.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app
    [INF]                            app.framework : ext
    [INF]                    app.framework.version : 4.2.1.883
    [INF]                                   app.id : d42e4bd9-a85d-451b-a732-a174c702c51a
    [INF]                                 app.name : ThemeDemoApp
    [INF]                            app.page.file : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app/index.html
    [INF]                            app.page.name : index.html
    [INF]                       app.requires.names :
    [INF]                    app.requires.packages :
    [INF]                       app.resource.paths : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app/resources
    [INF]                         app.sass.etcpath : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app/sass/etc/all.scss
    [INF]                       app.sass.namespace : ThemeDemoApp
    [INF]                         app.sass.srcpath : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app/sass/src
    [INF]                         app.sass.varpath : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app/sass/var
    [INF]                                app.theme : ext-theme-classic
    [INF]                         app.web.mappings : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace
    [INF]                             app.web.port : 1841
    [INF]                     buildenvironment.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app
    [INF]                buildenvironment.load.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app
    [INF]                           cmd.config.dir : C:\UBS\Dev\Programs\Sencha\Cmd\SenchaCmd-4.0.0.203\Sencha\Cmd\4.0.0.203
    [INF]                                  cmd.dir : C:\UBS\Dev\Programs\Sencha\Cmd\SenchaCmd-4.0.0.203\Sencha\Cmd\4.0.0.203
    [INF]                     cmd.framework.minver : 4.2.0
    [INF]                    cmd.framework.version : 4.2.99.99999
    [INF]                             cmd.jvm.args : -Xms128m -Xmx1024m -Djava.awt.headless=true
    [INF]               cmd.merge.tool.args.araxis : -wait -merge -3 -a1 {base} {user} {generated} {out}
    [INF]               cmd.merge.tool.args.kdiff3 : {base} {user} {generated} -o {out}
    [INF]              cmd.merge.tool.args.p4merge : {base} {user} {generated} {out}
    [INF]            cmd.merge.tool.args.smartsync : {user} {generated} {base}
    [INF]           cmd.merge.tool.args.sourcegear : --merge --result={out} {user} {base} {generated}
    [INF]             cmd.merge.tool.args.tortoise : -base:{base} -theirs:{generated} -mine:{user} -merged:{out}
    [INF]                               cmd.minver : 3.0.0.0
    [INF]                             cmd.platform : windows
    [INF]                          cmd.server.port : 1841
    [INF]                              cmd.version : 4.0.0.203
    [INF]                             cmd.web.port : 1841
    [INF]                                  ext.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace/ext
    [INF]                      framework.classpath : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\ext/src
    [INF]                     framework.cmd.minver : 3.1.0.206
    [INF]                    framework.cmd.version : 3.1.2.342
    [INF]                     framework.config.dir : C:\UBS\Dev\Programs\Sencha\Cmd\SenchaCmd-4.0.0.203\Sencha\Cmd\4.0.0.203\plugins\ext\4.2
    [INF]                            framework.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\ext
    [INF]                           framework.name : ext
    [INF]                   framework.packages.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\ext/packages
    [INF]                        framework.version : 4.2.1.883
    [INF]                           repo.local.dir : C:\UBS\Dev\Programs\Sencha\Cmd\SenchaCmd-4.0.0.203\Sencha\Cmd\repo
    [INF]         system.java.net.useSystemProxies : true
    [INF]                         theme.base.names : ext-theme-base,ext-theme-neutral,ext-theme-classic
    [INF]                      theme.base.packages : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\ext\packages\ext-theme-base,C:\UBS\Dev\MyProjects\ExtJS-4.
    2-Theming\my-workspace\ext\packages\ext-theme-neutral,C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\ext\packages\ext-theme-classic
    [INF]                      workspace.build.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace/build
    [INF]                    workspace.cmd.version : 4.0.0.203
    [INF]                     workspace.config.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\.sencha\workspace
    [INF]                            workspace.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace
    [INF]                   workspace.packages.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace/packages
    [INF]                      workspace.theme.dir : C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace/packages/${args.themeName}

    Steps to reproduce the problem:

    Code:
    C:\UBS\Dev\MyProjects\ExtJS-4.2-Theming\my-workspace\theme-demo-app>sencha --debug app build > app-build.txt
    app-build.txt has been zipped up and attached.

    The result that was expected:
    • A succcessful build
    The result that occurs instead:
    • "compass process exited with non-zero code : 1" build error
    • "Could not find RubyGem compass (>= 0)" error from debug build
    Attached Files

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    11
    Vote Rating
    0
    dtsm12 is on a distinguished road

      0  

    Default

    To add more information
    • Ruby version 1.8.6
    Any ideas with this ?

    This is the second Sencha Cmd version I've unsuccessfully used to create an application.
    Both times I've run through Sencha documented steps and the tool fails.
    Here's the post my first attempt with v3.1.1 - http://www.sencha.com/forum/showthread.php?262460

  3. #3
    Sencha User dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,091
    Vote Rating
    57
    dawesi has a spectacular aura about dawesi has a spectacular aura about

      0  

    Default

    does it work with ruby 1.9.x? also what version of compass?

    seems to work fine for me with same build of sencha cmd.
    Lead Trainer / Sencha Specialist
    Community And Learning Systems

    Lead Architect
    DigitalTickets.net

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    11
    Vote Rating
    0
    dtsm12 is on a distinguished road

      0  

    Default

    I installed Ruby 1.9.3 and that fixes it.

    A couple of feedback notes for Sencha docuemntation:
    • The System Setup section of the "Introduction to Sencha Cmd" page lists Ruby 1.9.3 (or earlier).
    • This doesn't seem to be the case. Has it been tested with Ruby 1.8.6 on Windows ?
    • A minimum version would be useful.
    alsoIs there a better place to send documentation feedback ?

    David.

Thread Participants: 1