diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-09-07 14:51:12 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 59bd94878156fd366d315c558ed0a96c9f599dee (patch) | |
tree | 50fadfa19f78a047ccc22946eebf87b7b003e1c0 /ruby/rubygem-terminal-table | |
parent | 5fac9389583661dbd4770f585b96d221bb9fcd80 (diff) | |
download | slackbuilds-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')
-rw-r--r-- | ruby/rubygem-terminal-table/rubygem-terminal-table.SlackBuild | 4 |
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) |