From owner-freebsd-ruby@FreeBSD.ORG Wed Apr 24 14:11:21 2013 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DDC508DF for ; Wed, 24 Apr 2013 14:11:21 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) by mx1.freebsd.org (Postfix) with ESMTP id CAF55172D for ; Wed, 24 Apr 2013 14:11:21 +0000 (UTC) Received: from [10.1.3.5] (cnet520-windstream.mcclatchyinteractive.com [166.108.16.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 620FB1A1455; Wed, 24 Apr 2013 14:11:21 +0000 (UTC) Message-ID: <5177E808.9030804@mail.lifanov.com> Date: Wed, 24 Apr 2013 10:11:20 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 MIME-Version: 1.0 To: Thibaut DELOFFRE Subject: Re: help with porting vagrant References: <5177E408.9040301@mail.lifanov.com> <5177E746.6030606@mail.lifanov.com> In-Reply-To: <5177E746.6030606@mail.lifanov.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Apr 2013 14:11:21 -0000 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 >> > >> 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 , 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 to install it cleanly? >> >> Thank you! _______________________________________________ >> 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 >> " >> >> > > 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.