Issue with compass 0.8.3 and Haml 2.2

16 views
Skip to first unread message

Noel

unread,
Jul 6, 2009, 2:22:57 PM7/6/09
to compas...@googlegroups.com
If I use

chriseppstein-compass (0.8.2)
haml-edge (2.1.56)

i have no problems. but if i uninstall haml-edge and use

haml (2.2.0)
chriseppstein-compass (0.8.3)

I get this:

/Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/module/aliasing.rb:33:in
`alias_method': undefined method `image_url' for module
`Compass::SassExtensions::Functions::ImageUrl' (NameError)
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/module/aliasing.rb:33:in
`alias_method_chain'
from /usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.3/lib/compass/app_integration/rails/image_url.rb:13
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.3/lib/compass/app_integration/rails.rb:5
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.3/lib/compass/app_integration.rb:2
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.3/lib/compass.rb:21
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /Users/noel/My_Development_Stuff/yourtogo/config/initializers/compass.rb:1
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in
`load_without_new_constant_marking'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in
`load'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in
`load'
from /Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:600:in
`load_application_initializers'
from /Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:599:in
`each'
from /Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:599:in
`load_application_initializers'
from /Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:174:in
`process'
from /Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in
`send'
from /Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in `run'
from /Users/noel/My_Development_Stuff/yourtogo/config/environment.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from /Users/noel/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
from /Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/commands/server.rb:84
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from script/server:3

Chris Eppstein

unread,
Jul 6, 2009, 2:48:43 PM7/6/09
to compas...@googlegroups.com
Fixed and re-released as 0.8.4. Sorry for the inconvenience. I need to add a better set of test cases around rails integration.

chris

James K

unread,
Jul 6, 2009, 2:25:24 PM7/6/09
to Compass
I've got the same error

Noel

unread,
Jul 6, 2009, 3:30:48 PM7/6/09
to compas...@googlegroups.com
Chris,

0.8.4 fixed that error, but now getting the error below

I uninstalled haml-edge and all other versions of compass

$ gem list chriseppstein-compass
*** LOCAL GEMS ***
chriseppstein-compass (0.8.4)

$ gem list haml
*** LOCAL GEMS ***
haml (2.2.0)

Any ideas?

-Noel

/*
Errno::ENOENT: No such file or directory -
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.2/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass

Backtrace:
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/files.rb:19:in
`read'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/files.rb:19:in
`tree_for'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/file_node.rb:33:in
`perform!'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:179:in
`_perform'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:156:in
`perform'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:200:in
`perform_children'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:200:in
`map'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:200:in
`perform_children'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:191:in
`perform!'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:179:in
`_perform'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:156:in
`perform'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/tree/node.rb:103:in
`render'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/plugin.rb:83:in
`update_stylesheet'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/plugin.rb:69:in
`update_stylesheets'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/plugin.rb:64:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/plugin.rb:64:in
`update_stylesheets'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/plugin.rb:62:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/plugin.rb:62:in
`update_stylesheets'
/usr/local/lib/ruby/gems/1.8/gems/haml-2.2.0/rails/../lib/sass/plugin/rails.rb:16:in
`process_without_compass'
/usr/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.4/lib/compass/app_integration/rails/action_controller.rb:7:in
`process'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:391:in
`process'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:386:in
`call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/routing/route_set.rb:433:in
`call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:88:in
`dispatch'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:111:in
`_call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82:in
`initialize'
/Users/noel/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in
`call'
/Users/noel/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in
`call'
/Users/noel/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
/Users/noel/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:9:in
`cache'
/Users/noel/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:28:in
`call'
/Users/noel/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/head.rb:9:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in
`call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/params_parser.rb:15:in
`call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:in
`call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:93:in
`call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/reloader.rb:9:in
`call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/failsafe.rb:11:in
`call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in
`synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/Users/noel/.gem/ruby/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:106:in
`call'
/Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:31:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `call'
/Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/rack/log_tailer.rb:17:in
`call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/content_length.rb:13:in
`call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/chunked.rb:15:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:in
`process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:in
`run'
/Users/noel/.gem/ruby/1.8/gems/rails-2.3.2/lib/commands/server.rb:111
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
*/

Chris Eppstein

unread,
Jul 6, 2009, 3:34:43 PM7/6/09
to compas...@googlegroups.com
Looks like a bug. Try deleting your .sass-cache folder in RAILS_ROOT/tmp as a workaround.

chris

Noel

unread,
Jul 6, 2009, 3:46:30 PM7/6/09
to compas...@googlegroups.com
that worked. had to delete sass_cache folder and then save
screen.sass file so the css was recompiled.

Chris Eppstein

unread,
Jul 6, 2009, 4:00:47 PM7/6/09
to compas...@googlegroups.com
I've opened a bug against haml for this issue:

Nathan Weizenbaum

unread,
Jul 12, 2009, 10:24:27 AM7/12/09
to compas...@googlegroups.com
I've fixed this in revision 4b58422. Thanks for the report!
Reply all
Reply to author
Forward
0 new messages