aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/chruby/chruby-0.3.9.ebuild')
-rw-r--r--dev-ruby/chruby/chruby-0.3.9.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-ruby/chruby/chruby-0.3.9.ebuild b/dev-ruby/chruby/chruby-0.3.9.ebuild
new file mode 100644
index 0000000..1dd9a02
--- /dev/null
+++ b/dev-ruby/chruby/chruby-0.3.9.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=7
+
+DESCRIPTION="Small script for changing current Ruby version in shell."
+HOMEPAGE="https://github.com/postmodern/chruby"
+SRC_URI="https://github.com/postmodern/chruby/archive/v${PV}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="|| ( app-shells/bash app-shells/zsh )"
+RDEPEND="${DEPEND}"
+
+pkg_postinst() (
+ elog "chruby aims to be project-specific Ruby version changer. "
+ elog "For changing system default Ruby version use "
+ elog "app-eselect/eselect-ruby."
+)