pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Ruby error



In message <2bfe3d92b743c9250329f1e1820d1dc2%fdy2.co.uk@localhost>
	on Thu, 26 Mar 2020 12:02:59 +0000,
	Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
> I'm getting errors like this:
> 
> /usr/pkg/lib/ruby/2.7.0/rubygems/dependency.rb:313:in `to_specs':
> Could not find 'mini_portile2' (~> 2.4.0) - did find:
> [mini_portile2-2.5.0] (Gem::MissingSpecVersionError)
> Checked in
> 'GEM_PATH=/u10/rjs/.gem/ruby/2.7.0:/usr/pkg/lib/ruby/gems/2.7.0',
> execute `gem env` for more information
Please apply and test below patch.

-- 
Takahiro Kambe <taca%back-street.net@localhost>

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/ruby-nokogiri/Makefile,v
retrieving revision 1.52
diff -u -u -r1.52 Makefile
--- Makefile	10 Mar 2020 14:28:19 -0000	1.52
+++ Makefile	26 Mar 2020 14:21:57 -0000
@@ -14,8 +14,9 @@
 USE_TOOLS+=		pkg-config
 MAKE_ENV+=		NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
 RUBYGEM_OPTIONS+=	--format-executable
-OVERRIDE_GEMSPEC+=	:files ports/archives/libxml2-2.9.10.tar.gz= \
-				ports/archives/libxslt-1.1.34.tar.gz=
+OVERRIDE_GEMSPEC+=	mini_portile2>=2.4.0 \
+			:files ports/archives/libxml2-2.9.10.tar.gz= \
+			ports/archives/libxslt-1.1.34.tar.gz= \
 
 .include "../../devel/ruby-pkg-config/tool.mk"
 .include "../../textproc/libxml2/buildlink3.mk"


Home | Main Index | Thread Index | Old Index