Results 1 to 2 of 2

Thread: Problems building with older Sencha Cmd

  1. #1
    Ext JS Premium Member cmeans's Avatar
    Join Date
    Jun 2010
    Chicago, IL USA

    Question Problems building with older Sencha Cmd

    I have an old project which needed a simple update.

    I'm on a Win7 machine, the project was built with ExtJS 4.1.3 commercial, and Cmd

    For some reason, Sencha Cmd now has major problems building the project. (It's been 2+ years since I last had to work on it, so I'm sure my environment has changed a bit, though I am on the same laptop...with no OS upgrades.)

    Initially, there was an issue with it finding the right version of Java...I've got it running with 1.8.0_131.

    Then I had problems with Compass & Sass. The error being something like Sass 3.5 was deprecated. I was using Ruby 1.93.

    I've now upgraded to Ruby 2.2, installed Compass...then got an error about installed I'm getting a Ruby error regarding a frozen array:

    [INF] [shellscript] RuntimeError on line ["24"] of C: can'''t modify frozen Array
    [INF] [shellscript] Run with --trace to see the full backtrace
    [INF] [shellscript] error app.scss (C:/Workspaces/eclipse/HoneyBaked Locator/src/WebSite/ext/resources/themes/lib/utils.rb:24:in `parsebox''': can'''t modify frozen Array)

    My Ruby is weak, and even if I get past this problem, my guess is that there'll just be another.

    Is there an easy path for me to take to get this older project built and deployed?


  2. #2
    Ext JS Premium Member cmeans's Avatar
    Join Date
    Jun 2010
    Chicago, IL USA

    Thumbs up

    As there was no answer, I forged ahead and put in a fix for the utils.rb Ruby script, and thankfully, there were no more road-blocks.

    In case it's useful for someone else, the fix was to change the line:

    new_list = list.clone.to_a

    new_list = ([] << list.dup.to_a).flatten!
    There may be a simpler solution, but this is what I came up with.


Similar Threads

  1. Sencha Build with older extjs 4.1.1
    By Gary Schlosberg in forum Sencha Cmd
    Replies: 5
    Last Post: 19 Oct 2016, 6:42 AM
  2. Sencha Cmd with older applications?
    By kerbo in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 9 Jul 2015, 4:43 PM
  3. Problems building apps for android using Sencha cmd 5
    By Yulric in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 25 Oct 2014, 3:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts