From owner-freebsd-ports@FreeBSD.ORG Thu Nov 14 17:05:36 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A968B8F0 for ; Thu, 14 Nov 2013 17:05:36 +0000 (UTC) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69EDE2B94 for ; Thu, 14 Nov 2013 17:05:36 +0000 (UTC) Received: from [92.230.242.236] (helo=[192.168.178.40]) by www94.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1Vh0MB-0008I8-RG for freebsd-ports@freebsd.org; Thu, 14 Nov 2013 18:05:27 +0100 Subject: rubygem-bundler trouble on 10-stable From: Mathias Picker To: "freebsd-ports@freebsd.org" Content-Type: text/plain; charset="us-ascii" Organization: virtual earth GmbH Date: Thu, 14 Nov 2013 18:05:23 +0100 Message-ID: <1384448723.2240.7.camel@marcopolo.fritz.box> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.97.8/18109/Thu Nov 14 12:41:12 2013) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 17:05:36 -0000 Hi all, I'm trying to get middleman up and running on a freshly installed 10-stable machine. I installed kde4, which pulled in ruby 1.9.3. I then installed the system rubygems and bundler. Finally I checked out a project that worked fine on 9-stable, also with ruby 1.9, and I get: marcopolo% bundle install Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Using RedCloth (4.2.9) Using i18n (0.6.5) Gem::Exception: Cannot load gem at [/usr/local/lib/ruby/gems/2.0/cache/multi_json-1.8.2.gem] in /usr/home/mathiasp/Projekte/Omanimali/omanimali-web An error occurred while installing multi_json (1.8.2), and Bundler cannot continue. Make sure that `gem install multi_json -v '1.8.2'` succeeds before bundling. ?? This is not what I expect. Trying bundler --path ~/.gem made the bundle, but the ffi (1.9.3) bombed on 10-stable with library.rb:123:in `block in ffi_lib': Could not open library 'libc.so': /usr/lib/libc.so: invalid file format (LoadError) :( In 9-stable bundler would use all systems libs and then ask for my password to install all other gems. I can find no reason why it changed its behaviour. For testing purposes, I upgraded ruby and all gems to ruby 2.0, and then I created a fresh user to try this with a fresh home directory. Both show the exact same error msg. Any idea? I really need to to get this running - my 9-stable disk died 2 days after I got BETA3 installed, I guess it was miffed at being replaced... Thanks for any help, tips, debugging directions, Mathias