PDA

View Full Version : [1.1.0] Error compiling SASS theme



AndreaCammarata
26 Mar 2011, 6:58 AM
Hi guys,
I'm facing this error trying to compile my SASS theme



...resources/sass/../themes/lib/theme_images.rb: undefined method `inline_image_string' for #<Sass::Script::Functions::EvaluationContext:0x1010eebe0>


If I compile the same theme with 1.0.1a I got no problem about it.
Did you already notice this issue?

Thank you guys.

stormin_walker
26 Mar 2011, 1:57 PM
Yeah - Sencha upgraded Compass support to 0.11. There have been a few complaints (including from me) that it wasn't made explicit in the release notes about this breaking change. So you will need to upgrade Compass to the latest beta version. To do that (in Mac - but essentially the same in Windows) do this:

$ gem install chunky_png -v 0.12.0
$ gem install compass --pre

(I tried to install the latest version of chunky_png but 0.11 Beta 3 has a dependency on that particular version).

Hope that helps,

Craig

AndreaCammarata
26 Mar 2011, 2:11 PM
Thank you stormin_walker!
I follow your seggest and now I'm able to compile my theme without any error.

Thank you for your support and fast reply.
Cheers

vishalnnsingh
3 Apr 2011, 11:46 PM
D:\xampplite\htdocs\igenapp\core\resources>compass compile sass
D:/Ruby186/lib/ruby/gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/util.rb:41:in `[]': odd number of arguments for Hash (Argu
mentError)
from D:/Ruby186/lib/ruby/gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/util.rb:41:in `to_hash'
from D:/Ruby186/lib/ruby/gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/util.rb:73:in `map_vals'
from D:/Ruby186/lib/ruby/gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/script/color.rb:39
from D:/Ruby186/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from D:/Ruby186/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from D:/Ruby186/lib/ruby/gems/1.8/gems/sass-3.1.0.alpha.252/lib/sass/../sass/script/literal.rb:10
from D:/Ruby186/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from D:/Ruby186/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
... 30 levels...
from D:/Ruby186/lib/ruby/gems/1.8/gems/compass-0.11.beta.5/bin/compass:8:in `fallback_load_path'
from D:/Ruby186/lib/ruby/gems/1.8/gems/compass-0.11.beta.5/bin/compass:19
from D:/Ruby186/bin/compass:19:in `load'
from D:/Ruby186/bin/compass:19