Package: ruby-sass
Version: 3.1.4-5.1
Severity: grave
Tags: patch
Justification: renders package unusable
Hi,
with the current 3.1.4-5 package I get errors like the following with any of
the distributed
executables in /bin:
/usr/bin/sass-convert:3:in `require': no such file to load --
/usr/bin/../lib/sass (LoadError)
from /usr/bin/sass-convert:3
The attached patch against the package at
git://anonscm.debian.org/collab-maint/ruby-sass.git
fixes them.
Thanks,
Antonio Ospite
http://ao2.it
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (900, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-ao2 (SMP w/1 CPU core)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ruby-sass depends on:
ii ruby 4.8 Transitional package for ruby1.8
ii ruby1.8 [ruby-interpreter] 1.8.7.352-1 Interpreter of object-oriented scr
ruby-sass recommends no packages.
Versions of packages ruby-sass suggests:
pn ruby-compass <none> (no description available)
-- no debconf information
>From 42fdea4c16cdee71e2983537c9ba6324b2b66b0a Mon Sep 17 00:00:00 2001
From: Antonio Ospite <[email protected]>
Date: Sun, 24 Jul 2011 14:10:33 +0200
Subject: [PATCH] Fix the path of the library in the executables files under /bin
X-Face: z*RaLf`X<@C75u6Ig9}{oW$H;1_\2t5)({*|jhM<pyWR#k60!#=#>/Vb;]yA5<GWI5`6u&+
;6b'@y|8w"wB;4/e!7wYYrcqdJFY,~%Gk_4]cq$Ei/7<j&N3ah(m`ku?pX.&+~:_/wC~dwn^)MizBG
!pE^+iDQQ1yC6^,)YDKkxDd!T>\I~93>J<_`<4)A{':UrE
This fixes message like:
/usr/bin/sass-convert:3:in `require': no such file to load --
/usr/bin/../lib/sass (LoadError)
from /usr/bin/sass-convert:3
Signed-off-by: Antonio Ospite <[email protected]>
---
debian/changelog | 7 ++++
debian/patches/1003-fix-library-path.patch | 42 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
create mode 100644 debian/patches/1003-fix-library-path.patch
diff --git a/debian/changelog b/debian/changelog
index cd88e8e..1c2d5a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-sass (3.1.4-5.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix the path of the library in the executables files under /bin
+
+ -- Antonio Ospite <[email protected]> Sun, 24 Jul 2011 13:27:57 +0200
+
ruby-sass (3.1.4-5) unstable; urgency=low
* Fix VERSION resolving.
diff --git a/debian/patches/1003-fix-library-path.patch
b/debian/patches/1003-fix-library-path.patch
new file mode 100644
index 0000000..d95dcec
--- /dev/null
+++ b/debian/patches/1003-fix-library-path.patch
@@ -0,0 +1,42 @@
+Description: Fix for "no such file to load -- /usr/bin/../lib/sass (LoadError)"
+Author: Antonio Ospite <[email protected]>
+Last-Update: 2011-07-24
+
+diff --git a/bin/sass b/bin/sass
+index 2b01e92..126c627 100755
+--- a/bin/sass
++++ b/bin/sass
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env ruby
+ # The command line Sass parser.
+
+-require File.dirname(__FILE__) + '/../lib/sass'
++require '/usr/lib/ruby/vendor_ruby/sass'
+ require 'sass/exec'
+
+ opts = Sass::Exec::Sass.new(ARGV)
+diff --git a/bin/sass-convert b/bin/sass-convert
+index 97ee024..8181a26 100755
+--- a/bin/sass-convert
++++ b/bin/sass-convert
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env ruby
+
+-require File.dirname(__FILE__) + '/../lib/sass'
++require '/usr/lib/ruby/vendor_ruby/sass'
+ require 'sass/exec'
+
+ opts = Sass::Exec::SassConvert.new(ARGV)
+diff --git a/bin/scss b/bin/scss
+index 0791cfb..7bd4360 100755
+--- a/bin/scss
++++ b/bin/scss
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env ruby
+ # The command line Sass parser.
+
+-require File.dirname(__FILE__) + '/../lib/sass'
++require '/usr/lib/ruby/vendor_ruby/sass'
+ require 'sass/exec'
+
+ opts = Sass::Exec::Scss.new(ARGV)
diff --git a/debian/patches/series b/debian/patches/series
index 0569854..23edfe1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
1001-avoid-rubygems.patch
1002-fix-VERSION-path.patch
+1003-fix-library-path.patch
--
1.7.5.4