Sencha Touch 1.1.0 +指南针0.11
我在开始为 Sencha Touch 设置主题时遇到了很大的困难。据一些消息来源称,问题显然是版本冲突。
vegard@vegard-desktop:~/phonegap/sencha-touch/resources/sass$ compass compile
exists ../css
unchanged android.scss
unchanged apple.scss
unchanged bb6.scss
compile sencha-touch.scss
NoMethodError on line 9 of /home/vegard/phonegap/sencha-touch/resources/sass/../themes/lib/theme_images.rb: undefined method `inline_image_string' for #<Sass::Script::Functions::EvaluationContext:0x7f6851732fd8>
Run with --trace to see the full backtrace
此论坛帖子似乎表明这是版本冲突,我应该使用 gem install compass --pre 来获取正确的版本以及特定版本的 chunky_png 。 Sencha 本身已更新,告诉我们我需要预发布(即今天起的 0.11.beta.7,即使 0.11.1 已准备就绪):
2011 年 4 月 18 日更新:自 Sencha Touch 起 1.1,我们使用的是Compass的测试版,并且已经更新了线路 相应地如下。
gem install compass --pre
注意:您可能需要使用
sudo gem install...
进行安装以进行管理 特权。
即使我尝试了以下版本的 Compass,我仍然无法让它工作,并且出现上述错误:
- 0.11.1
- 0.11.beta.7
- 0.11.beta.6
- 0.10.6
我已经卸载了已安装的版本每次尝试之间。我尝试过各种版本的 chunky_png
。它们都不起作用。
I am having great trouble getting started with theming for Sencha Touch. The problem is apparently a version conflict, according to some sources.
vegard@vegard-desktop:~/phonegap/sencha-touch/resources/sass$ compass compile
exists ../css
unchanged android.scss
unchanged apple.scss
unchanged bb6.scss
compile sencha-touch.scss
NoMethodError on line 9 of /home/vegard/phonegap/sencha-touch/resources/sass/../themes/lib/theme_images.rb: undefined method `inline_image_string' for #<Sass::Script::Functions::EvaluationContext:0x7f6851732fd8>
Run with --trace to see the full backtrace
This forum thread seems to indicate that it is a version conflict, and that I should use gem install compass --pre
to get the correct version, along with a specific version of chunky_png
. Sencha themselves have updated to tell us that I need the pre-release (meaning 0.11.beta.7 as of today, even though 0.11.1 is ready):
Update 4/18/11: As of Sencha Touch
1.1, we are using the beta version of Compass, and have updated the line
below accordingly.
gem install compass --pre
Note: You may need to install using
sudo gem install…
for administrative
privileges.
I still cannot get it to work, and I get the error above, even if I've tried the following versions of Compass:
- 0.11.1
- 0.11.beta.7
- 0.11.beta.6
- 0.10.6
I've uninstalled the installed version between each try. I've tried with various versions of chunky_png
. None of them work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论