X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DF7B6DC00B9 for ; Mon, 8 Jul 2013 21:57:13 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id ia10so3774279vcb.14 for ; Mon, 08 Jul 2013 14:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rgeyWXhjQAYakXvmNgYcfaF89EPoZ2sNUNzIzFZLga0=; b=Y4eYZVnNvEP6jKqWc1jtev0Fjlk0ilY0W7NUjMFkohiAc7nv9UHgvJ70g4lGr6A/iE RXJkcpwMlkaFvUcTM4JXUQMR9qrBIiJh0PGu58jpHgqEtdFosvMTDe2Rwea0M99ZKEZi 1obo6a7GEmO7+PvA8dXQk70icfRLI4IXYGzsSDTU9/7Xk8Z7IVKjFfbwaeTzTbyYYufV VVL1FQQFXNumTWdkvLvB+tnsypWlDerqfyuEOz5XfhRmGQvriOrnOZOWgpWQkwlK1fZS xodTxqvDIlzCiUY12t3nASoCi42aeTasjXAqsAb8MKcFSGryMbCQFjJm/VGyAi6VxHYd rHaw== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.58.2.101 with SMTP id 5mr15047811vet.23.1373320632839; Mon, 08 Jul 2013 14:57:12 -0700 (PDT) Received: by 10.220.199.70 with HTTP; Mon, 8 Jul 2013 14:57:12 -0700 (PDT) Date: Mon, 8 Jul 2013 14:57:12 -0700 Message-ID: Subject: [alpine-devel] [PATCH] main/ruby: Added dependency on ruby-gems. From: Quora Dodrill To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=047d7b33cfae7bb40b04e10720c2 --047d7b33cfae7bb40b04e10720c2 Content-Type: text/plain; charset=ISO-8859-1 >From 4aa434f8b8cf208ac5087791094aa45412128e95 Mon Sep 17 00:00:00 2001 Instllaing ruby without ruby-gems makes ruby fail with the following error when trying to run ruby without a file to interpret. [quora@genesect:~] > ruby /usr/lib/ruby/2.0.0/rubygems.rb:15:in `require': cannot load such file -- rubygems/compatibility (LoadError) from /usr/lib/ruby/2.0.0/rubygems.rb:15:in `' from :1:in `require' from :1:in `' Installing ruby-gems fixes this and makes ruby programs run as they should. --- main/ruby/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 9da0f6d..df63972 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -11,7 +11,7 @@ pkgdesc="An object-oriented language for quick and easy programming" url="http://www.ruby-lang.org/en/" arch="all" license="Ruby" -depends="" +depends="ruby-gems" makedepends="zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev libffi-dev coreutils yaml-dev autoconf" subpackages="$pkgname-doc $pkgname-dev $pkgname-irb $pkgname-gems \ -- 1.8.3.2 --047d7b33cfae7bb40b04e10720c2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
From 4aa434f8b8cf208ac5087791094aa45412128e95 Mon Sep= 17 00:00:00 2001

Instllaing ruby without ruby-gem= s makes ruby fail with the following error when trying to run ruby without = a file to interpret.

[quora@genesect:~] > ruby
/usr/lib/ruby/2.= 0.0/rubygems.rb:15:in `require': cannot load such file -- rubygems/comp= atibility (LoadError)
=A0 =A0 =A0 =A0 from /usr/lib/ruby/2.0.0/ru= bygems.rb:15:in `<top (required)>'
=A0 =A0 =A0 =A0 from <internal:gem_prelude>:1:in `require'
=A0 =A0 =A0 =A0 from <internal:gem_prelude>:1:in `<compil= ed>'

Installing ruby-gems fixes this and ma= kes ruby programs run as they should.
---
=A0main/ruby/APKBUILD | 2 +-
=A01 file changed= , 1 insertion(+), 1 deletion(-)

diff --git a/main/= ruby/APKBUILD b/main/ruby/APKBUILD
index 9da0f6d..df63972 100644<= /div>
--- a/main/ruby/APKBUILD
+++ b/main/ruby/APKBUILD
= @@ -11,7 +11,7 @@ pkgdesc=3D"An object-oriented language for quick and= easy programming"
=A0arch=3D"all"
=A0license=3D"Ruby"
-depends=3D""
+depends=3D"ruby-gems"
=A0makedepends=3D"zlib-dev openssl-dev libiconv-dev gdbm-dev d= b-dev readline-dev
=A0 =A0 =A0 =A0 libffi-dev coreutils yaml-dev autoconf"
=A0subpackages=3D"$pkgname-doc $pkgname-dev $pkgname-irb $pkgname-gem= s \
--=A0
1.8.3.2

--047d7b33cfae7bb40b04e10720c2-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---