Sencha touch 罗盘编译sencha错误

Sencha touch 罗盘编译sencha错误,sencha-touch,sass,compass-sass,Sencha Touch,Sass,Compass Sass,我不熟悉sencha touch并尝试使用sass和compass。。 我安装了所有内容并设置了所有内容,但在尝试编译application.scss文件时,我收到以下消息: {:cache_location=>"/Users/EladG/Sites/Pt4u/resources/scss/.sass-cache", :sass=> {:cache_location=>"/Users/EladG/Sites/Pt4u/resources/scss/.sass-cache",

我不熟悉sencha touch并尝试使用sass和compass。。 我安装了所有内容并设置了所有内容,但在尝试编译application.scss文件时,我收到以下消息:

{:cache_location=>"/Users/EladG/Sites/Pt4u/resources/scss/.sass-cache", :sass=> 
{:cache_location=>"/Users/EladG/Sites/Pt4u/resources/scss/.sass-cache", :cache=>true,  
:line_comments=>false, :style=>:compressed, :load_paths=>
[#<Sass::Importers::Filesystem:0x10a58e548 @root="/Users/EladG/Sites/Pt4u/resources/scss">, 
#<Sass::Importers::Filesystem:0x10a58e520 @root="/Library/Ruby/Gems/1.8/gems/compass-0.12.alpha.4
/frameworks/blueprint/stylesheets">, #<Sass::Importers::Filesystem:0x10a58e430 @root="/Library
/Ruby/Gems/1.8/gems/compass-0.12.alpha.4/frameworks/compass/stylesheets">, 
Compass::SpriteImporter]}, :sass_files=>nil}
***error application.scss (Line 5: File to import not found or unreadable: sencha-touch/default/all.***
Load paths:
    /Users/EladG/Sites/Pt4u/resources/scss
 /Library/Ruby/Gems/1.8/gems/compass-0.12.alpha.4/frameworks/blueprint/stylesheets
/Library/Ruby/Gems/1.8/gems/compass-0.12.alpha.4/frameworks/compass/stylesheets
Compass::SpriteImporter)
Sass::SyntaxError on line 5 of /Users/EladG/Sites/Pt4u/resources/scss/application.scss: File to 
import not found or unreadable: sencha-touch/default/all.
Load paths:
/Users/EladG/Sites/Pt4u/resources/scss
/Library/Ruby/Gems/1.8/gems/compass-0.12.alpha.4/frameworks/blueprint/stylesheets
/Library/Ruby/Gems/1.8/gems/compass-0.12.alpha.4/frameworks/compass/stylesheets
Compass::SpriteImporter
Run with --trace to see the full backtrace
application.scss文件:

@import 'sencha-touch/default/all';
@include sencha-panel;
@include sencha-buttons;
@include sencha-sheet;
@include sencha-picker;
@include sencha-toolbar-forms;
@include sencha-tabs;
@include sencha-toolbar;
@include sencha-carousel;
@include sencha-indexbar;
@include sencha-list;
@include sencha-layout;
@include sencha-form;
@include sencha-loading-spinner;

// 3. Define custom styles (can use SASS/Compass), example:
// .mybox {
//     @include border-radius(4px);
// }
//$frame-base-color:#333;
@include pictos-iconmask(‘wifi’);
我的项目的url: /用户/EladG/Sites/Pt4u

sencha图书馆的url: /用户/EladG/Sites/sencha-touch-1.1.0/resources/themes/stylesheets/sencha-touch/default

谢谢,

指南针找不到sencha touch/default/all

您需要在config.rb中调整加载路径。我假设Pt4u看起来像这样:

然后,您将使用以下命令在config.rb中加载sencha:

load File.join(sass_path, '..', '..', 'sencha-touch-1.1.0', 'resources', 'themes')
考虑使用File.join,就像在命令行上使用cd一样。从sass_路径开始,进入一个目录到Pt4u,进入一个目录到站点,进入sencha-touch-1.1.0,进入资源,进入主题

指南针找不到sencha-touch/default/all

您需要在config.rb中调整加载路径。我假设Pt4u看起来像这样:

然后,您将使用以下命令在config.rb中加载sencha:

load File.join(sass_path, '..', '..', 'sencha-touch-1.1.0', 'resources', 'themes')
考虑使用File.join,就像在命令行上使用cd一样。从sass_路径开始,进入一个目录到Pt4u,进入一个目录到站点,进入sencha-touch-1.1.0,进入资源,进入主题

Pt4u
--scss
----config.rb
----application.scss
--css
load File.join(sass_path, '..', '..', 'sencha-touch-1.1.0', 'resources', 'themes')