- ignore any files we find in */.gem/*. in some versions of

rubygems, gems that are installed are also copied to ~/.gem/.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=77
This commit is contained in:
Marcus Rückert 2014-10-21 15:58:26 +00:00 committed by Git OBS Bridge
parent 96d3b7f5ee
commit a500be6d99
2 changed files with 7 additions and 1 deletions

View File

@ -44,7 +44,7 @@ if [ "x$gem_config" = "x" ] ; then
fi
if [ "x$gemfile" = "x" ] ; then
gemfile=$(find . -maxdepth 2 -type f -name "$defaultgem")
gemfile=$(find . -maxdepth 2 -type f -name "$defaultgem" -not -path \*/.gem/\* | head -n 1)
# if still empty, we pick the sources
if [ "x$gemfile" = "x" ] ; then
gemfile=$(find $RPM_SOURCE_DIR -name "$defaultgem")

View File

@ -12,6 +12,12 @@ Sat Oct 18 05:37:19 UTC 2014 - coolo@suse.com
- update gem_packages template from git
-------------------------------------------------------------------
Mon Sep 29 21:11:08 UTC 2014 - mrueckert@suse.de
- ignore any files we find in */.gem/*. in some versions of
rubygems, gems that are installed are also copied to ~/.gem/.
-------------------------------------------------------------------
Fri Sep 26 21:53:30 UTC 2014 - mrueckert@suse.de