http://docs.sencha.com/extjs/4.2.0/#!/guide/themingの手順に従いました
が、コマンドでアプリをビルドしようとすると次のエラーが発生しますsencha app build
。
(注: 私の OS は win 7 x64 で、rubyinstaller-2.0.0-p0-x64インストーラーで ruby をインストールし、 SenchaCmd-3.1.1.274-windows.exeインストーラーでSencha コマンドをインストールしました。通常のコマンド プロンプト ウィンドウと「Ruby でコマンド プロンプトを起動」の両方を実行しましたが、エラーは同じでした。)
[INF] executing compass using system installed ruby runtime
NoMethodError on line ["23"] of D: undefined method `empty?' for nil:NilClass
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/sass-3.1.7/lib/sass/engine.rb:293:in `_render'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/sass-3.1.7/lib/sass/engine.rb:240:in `render'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:140:in `block (2 levels) in compile'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:139:in `block in compile'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/logger.rb:45:in `red'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:138:in `compile'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:118:in `compile_if_required'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:103:in `block (2 levels) in run'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:101:in `each'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:101:in `block in run'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/compiler.rb:100:in `run'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/commands/update_project.rb:45:in `perform'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/commands/base.rb:18:in `execute'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/commands/project_base.rb:19:in `execute'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in `run!'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/bin/compass:30:in `block in <top (required)>'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/bin/compass:44:in `call'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/ge
ms/compass-0.12.2/bin/compass:44:in `<top (required)>'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/bi
n/compass:23:in `load'
D:/Program Files/sencha/Sencha/Cmd/3.1.1.274/extensions/sencha-compass/gems/bi
n/compass:23:in `<main>'
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: compass process exited with non-zero code
: 1
[ERR]
[ERR] Total time: 1 minute 20 seconds
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: The following error occurred while e
xecuting this line:
[ERR] D:\temp\my-workspace\theme-demo-app\.sencha\app\build-impl.xml:248: com.se
ncha.exceptions.ExProcess: compass process exited with non-zero code : 1
[ERR]
[ERR] Total time: 1 minute 21 seconds
[ERR] com.sencha.exceptions.BasicException: The following error occurred while e
xecuting this line:
D:\temp\my-workspace\theme-demo-app\.sencha\app\build-impl.xml:248: com.sencha.e
xceptions.ExProcess: compass process exited with non-zero code : 1
この後、gem install sass
コマンドで SASS をインストールし、SASS 3.2.8 をインストールしました (ただし、Sencha Command は、SASS を自分でインストールする場合はインストールする必要がないと言っていました: Introduction to Sencha Cmd )...しかし、同じエラーです。
コンパススルーgem install compass
(バージョン:0.12.2)もインストールし、Sencha app build
コマンドを再度実行します...同じエラーが発生しました...
何か助けて?!