rubygem-bundler trouble on 10-stable

Mathias Picker Mathias.Picker at virtual-earth.de
Thu Nov 14 17:09:30 UTC 2013


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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"




More information about the freebsd-ports mailing list