From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: [PATCHES] Add ruby-rspec, bundler, and ruby-useragent Date: Sat, 30 May 2015 17:57:23 -0400 Message-ID: References: <87382hsayu.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87zj4n9joh.fsf@gnu.org> <20150530210201.GA15305@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yyokz-0006oX-U5 for guix-devel@gnu.org; Sat, 30 May 2015 17:57:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yyokv-0001gy-Ju for guix-devel@gnu.org; Sat, 30 May 2015 17:57:29 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yyokv-0001gu-FC for guix-devel@gnu.org; Sat, 30 May 2015 17:57:25 -0400 Received: by padj3 with SMTP id j3so16197364pad.0 for ; Sat, 30 May 2015 14:57:23 -0700 (PDT) In-Reply-To: <20150530210201.GA15305@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel On Sat, May 30, 2015 at 5:02 PM, Pjotr Prins wrote: > I ran bundler with success using the latest ruby patch :). It requires > a tweak to the environment so the GEM_PATH points at > > $HOME/.guix-profile/lib/ruby/gems/2.2.0/ > > The script I use to run Ruby is at > > https://github.com/pjotrp/guix-notes/blob/master/scripts/ruby-guix-env > > that essentially replaces the old rvm or rbenv! So much better :) Oh, wow! Maybe you can help me because I tried to use Guix to replace rvm/rbenv at work and I failed miserably. Native extensions failed to build successfully or would fail to dlopen shared libraries later on. The ffi gem was particularly problematic. I had no choice but to switch to rbenv to keep moving with my tasks. Have you experienced similar problems? > BTW: would it be an idea to name the bundler package ruby-bundler instead? The reason I didn't name it as such was because it's primary focus is being an executable program that users interact with, not a library. Thanks for your feedback. I'm eager to have some more hands helping out with Ruby packages. :) - Dave