From 22cc22d21ac530b10d3d3d323daf72c5e7f07f31 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Thu, 5 Sep 2013 17:19:10 -0300 Subject: fixing ruby1 --- pcr/ruby1/PKGBUILD | 4 ++-- pcr/ruby1/ruby.install | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pcr/ruby1') diff --git a/pcr/ruby1/PKGBUILD b/pcr/ruby1/PKGBUILD index c20b8720a..4a441bc1c 100644 --- a/pcr/ruby1/PKGBUILD +++ b/pcr/ruby1/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=ruby pkgname=("${_pkgname}1" "${_pkgname}1-docs") pkgver=1.9.3_p448 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64' 'mips64el') url='http://www.ruby-lang.org/en/' license=('BSD' 'custom') @@ -52,7 +52,7 @@ package_ruby1() { pkgdesc='An object-oriented language for quick and easy programming (1.9 ver.)' depends=('gdbm' 'openssl' 'libffi' 'libyaml') optdepends=('tk: for Ruby/TK' - 'ruby-docs: Ruby documentation') + 'ruby1-docs: Ruby documentation') backup=('etc/gem1rc') install='ruby.install' diff --git a/pcr/ruby1/ruby.install b/pcr/ruby1/ruby.install index ce78e96ec..21e9b98a2 100644 --- a/pcr/ruby1/ruby.install +++ b/pcr/ruby1/ruby.install @@ -3,9 +3,9 @@ print_gem_default_target() { echo 'The default location of gem installs is $HOME/.gem/ruby' echo 'Add the following line to your PATH if you plan to install using gem' - echo '$(ruby -rubygems -e "puts Gem.user_dir")/bin' + echo '$(ruby1 -rubygems -e "puts Gem.user_dir")/bin' echo 'If you want to install to the system wide location, you must either:' - echo 'edit /etc/gemrc or run gem with the --no-user-install flag.' + echo 'edit /etc/gem1rc or run gem with the --no-user-install flag.' } # arg 1: the new package version -- cgit v1.2.3