[DRE-maint] Bug#627820: compass-susy-plugin: susy.rb not available in the ruby load path anymore
Micah Anderson
micah at debian.org
Tue May 24 18:50:07 UTC 2011
Package: compass-susy-plugin
Version: 0.9~20110427-1
Severity: important
Hi!
I've recently installed a newer version of the package that you made of
compass-susy-plugin, and was surprised to find it doesn't work how I
expected. I poked around and then I found these entries in the
changelog:
* Fix registration of Sass library extension:
+ Install ruby code privately to compass (not public ruby module).
+ Stop (build-)dependending on ruby packages.
+ Drop note in long description about ruby library relation.
+ Rename binary package: Strip ruby version suffix.
+ Conflict with and replace compass-susy-plugin1.8.
and I'm wondering why you did that? The project that I originally
packaged this for requires that the susy code also be available as a
public ruby module.
The gem that provides compass-susy-plugin features a lib directory that
contains susy.rb, and because of this the issue I have with the package
doesn't happen
(/var/lib/gems/1.8/gems/compass-susy-plugin-0.8.1/lib/susy.rb) We
initialize susy by simply doing a: require 'susy' -- but perhaps there
is a better/more correct way?
If you follow the susy tutorial on the web you are instructed to do
this:
$ compass create myproject -r susy -u susy
but if you do that with the debian package, you get this:
LoadError on line 105 of /usr/lib/ruby/1.8/compass/configuration/data.rb: no such file to load -- susy
Run with --trace to see the full backtrace
It seems buggy especially if the fresh compass project you created fails
So, I'm a bit puzzled why you went through this process of unregistering
it as a global ruby library... but I suspect there is something that I
do not know!
maybe usr/share/compass/frameworks/* should be added to the load path by
compass?
micah
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-ruby-extras-maintainers
mailing list