From owner-freebsd-ports@FreeBSD.ORG Thu Nov 14 17:09:30 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB51ECE5 for ; Thu, 14 Nov 2013 17:09:29 +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 AB5A02BD7 for ; Thu, 14 Nov 2013 17:09:29 +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 1Vh0Q3-0008Rv-Kb for freebsd-ports@freebsd.org; Thu, 14 Nov 2013 18:09:28 +0100 Subject: Re: rubygem-bundler trouble on 10-stable From: Mathias Picker To: freebsd-ports@freebsd.org In-Reply-To: <1384448723.2240.7.camel@marcopolo.fritz.box> References: <1384448723.2240.7.camel@marcopolo.fritz.box> Content-Type: text/plain; charset="us-ascii" Organization: virtual earth GmbH Date: Thu, 14 Nov 2013 18:09:23 +0100 Message-ID: <1384448963.2240.10.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:09:30 -0000 On Thu, 2013-11-14 at 18:05 +0100, Mathias Picker wrote: > 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... > Silly me, I forgot to add any info ;) marcopolo% uname -a FreeBSD marcopolo.fritz.box 10.0-BETA3 FreeBSD 10.0-BETA3 #1 r258128M: Thu Nov 14 12:53:53 CET 2013 mathiasp@marcopolo.fritz.box:/usr/obj/usr/src/sys/GENERIC amd64 marcopolo% pkg info|grep ruby plasma-scriptengine-ruby-4.10.5_1 Plasma scriptengine for Ruby rbenv-0.4.0_2 Manage multiple versions of ruby ruby-2.0.0.195_1,1 An object-oriented interpreted scripting language ruby20-gems-1.8.25 Package management framework for the Ruby language ruby20-korundum-4.10.5_1 Ruby bindings for KDE ruby20-qtruby-4.10.5 Ruby bindings for Qt rubygem-bundler-1.3.5 A tool that manages gem dependencies for ruby applications rubygem-chunky_png-1.2.8 Ruby library to read and write PNG images rubygem-compass-0.12.2 Provides an open-source CSS authoring framework rubygem-ffi-1.9.0 Extension for dynamic libraries & binding functions rubygem-fssm-0.2.10 Provides a state tracking and event firing utility rubygem-i18n-0.6.5,2 New wave Internationalization support for Ruby rubygem-redcloth-4.2.9 A module for using Textile in Ruby rubygem-sass-3.2.9 Sass is an extension of CSS3 marcopolo% ruby -v ruby 2.0.0p195 (2013-05-14 revision 40734) [amd64-freebsd10] marcopolo% gem -v 1.8.25 marcopolo% bundle -v Bundler version 1.3.5 marcopolo% gem env RubyGems Environment: - RUBYGEMS VERSION: 1.8.25 - RUBY VERSION: 2.0.0 (2013-05-14 patchlevel 195) [amd64-freebsd10] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/2.0 - RUBY EXECUTABLE: /usr/local/bin/ruby20 - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - amd64-freebsd-10 - GEM PATHS: - /usr/local/lib/ruby/gems/2.0 - /home/mathiasp/.gem/ruby/2.0 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ And updating to a current rubygems didn't work either... > > Thanks for any help, tips, debugging directions, > > Mathias > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"