summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/mikutter/mikutter-9999.ebuild')
-rw-r--r--net-misc/mikutter/mikutter-9999.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/net-misc/mikutter/mikutter-9999.ebuild b/net-misc/mikutter/mikutter-9999.ebuild
index d68d7552aef..7ad7bb2a429 100644
--- a/net-misc/mikutter/mikutter-9999.ebuild
+++ b/net-misc/mikutter/mikutter-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-USE_RUBY="ruby20 ruby21"
+USE_RUBY="ruby21 ruby22"
inherit eutils ruby-ng
@@ -36,7 +36,7 @@ ruby_add_rdepend "dev-ruby/addressable
dev-ruby/delayer
dev-ruby/delayer-deferred
dev-ruby/httpclient
- dev-ruby/json
+ dev-ruby/json:0
dev-ruby/instance_storage
dev-ruby/memoist
>=dev-ruby/moneta-0.7
@@ -63,14 +63,10 @@ all_ruby_unpack() {
each_ruby_install() {
local rubyversion
- #if use ruby_targets_ruby22; then
- # rubyversion=ruby22
- if use ruby_targets_ruby21; then
+ if use ruby_targets_ruby22; then
+ rubyversion=ruby22
+ elif use ruby_targets_ruby21; then
rubyversion=ruby21
- elif use ruby_targets_ruby20; then
- rubyversion=ruby20
- else
- die "Select Ruby verion 2.x"
fi
exeinto /usr/share/mikutter