Upgrading Sencha CMD with Emergence on Gentoo

Upgrade Sencha CMD

This guide assumes your system is setup according to Installing Sencha CMD with Emergence on Gentoo

First, download and install the latest Sencha CMD binaries:


user@hostname ~ $ wget http://cdn.sencha.com/cmd/

user@hostname ~ $ unzip SenchaCmd-

user@hostname ~ $ chmod +x SenchaCmd-

user@hostname ~ $ sudo ./SenchaCmd-

  1. Within the installer, first accept Sencha's license
  2. Then specify /usr/local/bin as the installation directory
  3. Finally, enter Y to confirm the installation

After Sencha CMD is installed, we need to update the symlink for emergence to use for finding the current version:


user@hostname ~ $ cd /usr/local/bin/Sencha/Cmd/

user@hostname /usr/local/bin/Sencha/Cmd $ sudo rm current

user@hostname /usr/local/bin/Sencha/Cmd $ sudo ln -sf current

Then we need to create a directory the build tool will need to write to for internal version tracking:


user@hostname /usr/local/bin/Sencha/Cmd $ sudo mkdir repo

user@hostname /usr/local/bin/Sencha/Cmd $ sudo chown nobody:nobody -R repo

Upgrade frameworks to latest version

First, upload and extract the latest version to /usr/local/lib/sencha/[framework]


user@hostname ~ $ unzip sencha-touch-2.1.1.zip

user@hostname ~ $ sudo mv touch-2.1.1 /usr/local/lib/sencha/touch/2.1.1

Sencha::$frameworks['touch']['sdkPath'] must then be configured to match your current version's path

Ensure that you are using the latest versions of php-classes/Sencha.class.php, site-root/sencha-cmd/app-build.php, and sencha-workspace/.sencha/workspace/sencha.cfg from skeleton.emr.ge