Date: Wed, 24 Apr 2013 10:11:20 -0400 From: Nikolai Lifanov <lifanov@mail.lifanov.com> To: Thibaut DELOFFRE <thibaut.deloffre@gmail.com> Cc: freebsd-ruby@freebsd.org Subject: Re: help with porting vagrant Message-ID: <5177E808.9030804@mail.lifanov.com> In-Reply-To: <5177E746.6030606@mail.lifanov.com> References: <5177E408.9040301@mail.lifanov.com> <CAEm2TpofMXELqESpEyeH_RYA8DLtZ3Rgoh=itEmw9OTBB4pG_g@mail.gmail.com> <5177E746.6030606@mail.lifanov.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/24/2013 10:08 AM, Nikolai Lifanov wrote: > On 04/24/2013 10:02 AM, Thibaut DELOFFRE wrote: >> Hello, >> >> You need to install rugygems and: >> >> $ gem fetch vagrant $ gem unpack vagrant $ 'your work here' >> >> You're welcome >> >> Thibaut >> >> >> On Wed, Apr 24, 2013 at 3:54 PM, Nikolai Lifanov >> <lifanov@mail.lifanov.com <mailto:lifanov@mail.lifanov.com>> >> wrote: >> >> Hello. >> >> I am trying to port Vagrant (http://vagrantup.com/) and I hit >> somewhat of a wall. I want to use all of the rubygem magic in >> bsd.ruby.mk <http://bsd.ruby.mk>, but I need to build the gem >> first ("gem build vagrant.gemfile"). It seems that I can't >> override the DISTNAME or EXTRACT_SFX if I want to use >> USE_RUBYGEMS, and it needs to be downloaded from GH as a >> .tar.gz. >> >> How can I fetch/extract/build a rubygem and then use the logic in >> bsd.ruby.mk <http://bsd.ruby.mk> to install it cleanly? >> >> Thank you! _______________________________________________ >> freebsd-ruby@freebsd.org <mailto:freebsd-ruby@freebsd.org> >> mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ruby To >> unsubscribe, send any mail to >> "freebsd-ruby-unsubscribe@freebsd.org >> <mailto:freebsd-ruby-unsubscribe@freebsd.org>" >> >> > > But here is the problem: vagrant stopped shipping as a gem since > 1.1.x http://mitchellh.com/abandoning-rubygems > http://rubygems.org/gems/vagrant > > However, it still uses rubygems and bundler together to create the > "installer". So I need to first build the gem and then install the > gem. _______________________________________________ > freebsd-ruby@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ruby To > unsubscribe, send any mail to > "freebsd-ruby-unsubscribe@freebsd.org" > To be more specific: I can install it alright, but I would like to create a port of it and I would like help with how to reuse the USE_RUBYGEM logic without stuffing a lot of it into the port Makefile if I actually have to make the gem first.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5177E808.9030804>