summaryrefslogtreecommitdiff
path: root/pcr/ruby1
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-09-05 17:19:10 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-09-05 17:19:10 -0300
commit22cc22d21ac530b10d3d3d323daf72c5e7f07f31 (patch)
treebd5e81d7721f905592fabab57856ea1a9f4af7fb /pcr/ruby1
parent1cd688c7b7c7ad84cd4f3f57219189df70343b46 (diff)
downloadabslibre-22cc22d21ac530b10d3d3d323daf72c5e7f07f31.tar.gz
abslibre-22cc22d21ac530b10d3d3d323daf72c5e7f07f31.tar.bz2
abslibre-22cc22d21ac530b10d3d3d323daf72c5e7f07f31.zip
fixing ruby1
Diffstat (limited to 'pcr/ruby1')
-rw-r--r--pcr/ruby1/PKGBUILD4
-rw-r--r--pcr/ruby1/ruby.install4
2 files changed, 4 insertions, 4 deletions
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