我是sencha touch的新手。在命令提示符下编译 COMPASS COMPILE 时出现错误消息。
使用以下软件:
touch 2.3.1
ruby 2.0.0-p451
(sass-3.4.5
)
(compass -0.12.2
) - 更新版本无效
senchaCmd 4.0.2.67
将app.scss
文件更改为
@import 'sencha-touch/base';
@import 'sencha-touch/base/all'
然后使用命令提示符编译app.scss
文件。 Compass编译显示以下错误
C:\wamp\www\MyApp\resources\sass>compass compile c:/wamp/www/MyApp/resources/sas
s
C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `r
equire': cannot load such file -- sass/script/node (LoadError)
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/sass
_extensions/monkey_patches/browser_support.rb:1:in `<top (required)>'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/sass
_extensions/monkey_patches.rb:2:in `block in <top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/sass
_extensions/monkey_patches.rb:1:in `each'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/sass
_extensions/monkey_patches.rb:1:in `<top (required)>'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/sass
_extensions.rb:9:in `<top (required)>'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass.rb:5
:in `block in <top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass.rb:4
:in `each'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass.rb:4
:in `<top (required)>'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_requir
e.rb:54:in `require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:20:i
n `block in <top (required)>'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:8:in
`fallback_load_path'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:19:i
n `<top (required)>'
from C:/Ruby200/bin/compass:23:in `load'
from C:/Ruby200/bin/compass:23:in `<main>'
请有人指导我。 在此先感谢!!!