summaryrefslogtreecommitdiff
path: root/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-09-07 14:51:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit59bd94878156fd366d315c558ed0a96c9f599dee (patch)
tree50fadfa19f78a047ccc22946eebf87b7b003e1c0 /ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
parent5fac9389583661dbd4770f585b96d221bb9fcd80 (diff)
downloadslackbuilds-59bd94878156fd366d315c558ed0a96c9f599dee.tar.gz
ruby/rubygem-terminal-table: Modified SlackBuild for ruby-2.2.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild')
-rw-r--r--ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild b/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
index db5a24f3e9..775b3fc1ae 100644
--- a/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
+++ b/ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild
@@ -73,12 +73,12 @@ printf("%s/%s/gems/%s\n",
# print a friendly warning of unsatisfied ":runtime" dependencies
gem specification $CWD/$SRCNAM-$VERSION.gem | \
ruby -r yaml -r rbconfig -e '
-c = Config::CONFIG
+c = RbConfig::CONFIG
path = sprintf("%s/%s/gems/%s",
c["libdir"],
c["RUBY_INSTALL_NAME"],
c["ruby_version"])
-sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name }
+sys_gemspecs = Dir.glob(path + "/specifications/**/*.gemspec").map {|g| gs = Gem::Specification.load(g); gs.name }
obj = Gem::Specification.from_yaml($stdin)
obj.dependencies.each {|dep|
if not(dep.type == :runtime)