Ruby 1.9 vs. rubygems

Name : ruby
Version : 1.9.1_p243-2
Conflicts With : rubygems rake
I suppose that implies rubygems is now packed with ruby. But there's a problem:
$ gem --version
1.3.1
$ pacman -Si rubygems
Version : 1.3.3-1
I need the newer version due to datamapper Rakefiles

lucke wrote:
You can file a feature request at bugs.archlinux.org.
http://wiki.archlinux.org/index.php/Rep … Guidelines
Thanks.
dannytatom wrote:
cro wrote:1. Why can't I depend on the package manager to keep it up to date? Isn't that what a package manager is there for, keeping packages up to date?
That is indeed what package managers are for, and rubygems is a package manager. I guess I should've clarified my original statement.
lol, rubygems is the package manager for the gems but NOT for itself! Pacman is responsible for the software called 'rubygems'.
dannytatom wrote:
cro wrote:2. Why does it make distribution easier? Pacman has mechanisms for that, e.g. to simply define ruby and the rubygems package as dependencies of packages that need ruby and rubygems installed. Doesn't it make it harder, because you now should update the ruby package also every time rubygems becomes outdated?
No, you don't. You update rubygems via 'sudo gem update --system'. Same way you update your gems, but with the --system option so that it updates rubygems itself as well.
This is bad. The gems are updated by rubygems, ok, this is cumbersome, but ok, works fine with pacman since the directory where the gems are placed is therefore managed by rubygems. But rubygems (the gems manager) is content of a package managed by pacman, be it 'ruby' or 'rubygems' that doesn't matter. So changes by updating rubgems (the gems manager) by itself will conflict with pacman.
dannytatom wrote:
cro wrote:3. Doesn't "gem update --system" conflict with pacman's package management because pacman does not know what files are added or removed by the internal rubygem update.
As far as I know, pacman could care less, as it's not handeling the files, rubygems is.
Just for the gems. pacman is definitely handling the files of rubygems (the gems manager).

Similar Messages

  • Ruby-audio from AUR fails to build [SOLVED]

    I'm attempting to install ruby-audio from AUR.  Got the PKGBUILD file.  Running makepkg results in a complaint about options for an install directory.   I'm not expert enough at the ruby ecosystem and gem to see any obvious problem.  What is the fix? 
    => makepkg
    ==> Making package: ruby-audio 1.6.1-1 (Mon Jun 16 09:51:10 PDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
      -> Found ruby-audio-1.6.1.gem
    ==> Validating source files with md5sums...
        ruby-audio-1.6.1.gem ... Passed
    ==> Extracting sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ERROR:  Use --install-dir or --user-install but not both
    ==> ERROR: A failure occurred in package().
        Aborting...
    Apparently the error is in the package() routine in PKGBUILD:
    package() {
      cd "$srcdir"
      # _gemdir is defined inside package() because if ruby[gems] is not installed on
      # the system, makepkg will exit with an error when sourcing the PKGBUILD.
      local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
      gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
        "$_gemname-$pkgver.gem"
    A search here in the Arch forums turned up nothing.
    Last edited by darenw (2014-06-19 03:43:00)

    Tell me if this works for you:
    # Maintainer: Josh Klar <[email protected]>
    # Contributor: Joel Almeida <aullidolunar at gmail dot c0m>
    pkgname=ruby-audio
    pkgver=1.6.1
    pkgrel=2
    pkgdesc="Wrapper around libsndfile to provide simplified sound reading and writing support for Ruby"
    arch=("any")
    url="http://rubygems.org/gems/ruby-audio"
    license=('GPL')
    depends=("ruby" "libsndfile")
    source=("https://rubygems.org/downloads/$pkgname-$pkgver.gem")
    noextract=('$pkgname-$pkgver.gem')
    md5sums=('d4f5cea4c14190ca67231a0349b6e141')
    package() {
    cd "$srcdir"
    local _gemdir="$(ruby -e'puts Gem.default_dir')"
    gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $pkgname-$pkgver.gem
    rm "$pkgdir/$_gemdir/cache/$pkgname-$pkgver.gem"
    install -Dm644 "$pkgdir$_gemdir/gems/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE"
    build() {
    cd "$srcdir"
    Last edited by Joel (2014-06-19 01:22:00)

  • Ruby gem "minitest" is really old version.

    Hi.
    Why ruby package (https://www.archlinux.org/packages/extra/x86_64/ruby/) contains minitest in version 4.7.5, which is 1.5 year old? (https://rubygems.org/gems/minitest/versions).
    Is it bug or feature?
    I've decided to learn ruby, so I've installed ruby package, then I've let pacgem (https://aur.archlinux.org/packages/pacgem/) make and install packages with individual gems, starting at "rails" and then all dependencies. Then i've advanced to first step in creating rails application -
    rails new ./
    with repsonse:
    /usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'minitest' (~> 5.1) - did find: [minitest-4.7.5] (Gem::LoadError)
    Pacgem did not want to install minitest from rubygems repo, but I want to have my system clean with all gems managed by package manager. And also newest version (ruby package looks like newest, but minitest inside don't and some gems (rails) need higher version to work). What to do now?

    OK, thank guys. If ruby is distributed with minitest 4.7.5 and minitest of other version can be installed without conflict (minitest in AUR use another files than official ruby package), then it is more bug in pacgem than in ruby. I'll try to raise bug in pacgem.

  • Help with ruby-gstreamer on aur

    Hello
    I'm trying to use ruby-gstreamer from aur, but i can't figure out why this package can't be used.
    I've managed to build and install it, but it seems th gem extension is unusable.
    I'm not familliar with ruby, so i don't really know where to go
    How to test the package :
    test.rb
    puts "Hello World!"
    require "gst"
    ruby test.rb
    Hello World!
    /usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'glib2' (= 2.0.2) among 11 total gem(s) (Gem::LoadError)
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1295:in `block in activate_dependencies'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `each'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `activate_dependencies'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1266:in `activate'
    from /usr/lib/ruby/2.1.0/rubygems.rb:196:in `rescue in try_activate'
    from /usr/lib/ruby/2.1.0/rubygems.rb:193:in `try_activate'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from test:3:in `<main>'
    Once i've find a way to fix the package, i will gladly take the ownership of it, since it is orphaned.
    Last edited by GloW_on_dub (2014-10-10 09:58:48)

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • Ruby gem Psych::SyntaxError (no file specified) (SOLVED)

    I'm trying to install some cool ruby gems, and at first it worked fine. Just installed ruby by with
    sudo pacman -S ruby
    and then I managed to install some gems with
    gem install _random_gem_
    When I tried to install another gem, shopify_theme, I started getting the famous "failed building native gem extension". I tried to fix it, I don't know if I did, but still I rebooted after a while and whop, it looked like it was installing as it should. I then tried to add the ruby gem to the PATH, and after that, everytime I type 'gem' I get:
    [user@arch]$ /usr/bin/gem
    /usr/lib/ruby/2.0.0/psych.rb:205:in `parse': (<unknown>): found character that cannot start any token while scanning for the next token at line 3 column 1 (Psych::SyntaxError)
    from /usr/lib/ruby/2.0.0/psych.rb:205:in `parse_stream'
    from /usr/lib/ruby/2.0.0/psych.rb:153:in `parse'
    from /usr/lib/ruby/2.0.0/psych.rb:129:in `load'
    from /usr/lib/ruby/2.0.0/rubygems/config_file.rb:318:in `load_file'
    from /usr/lib/ruby/2.0.0/rubygems/config_file.rb:191:in `initialize'
    from /usr/lib/ruby/2.0.0/rubygems/gem_runner.rb:66:in `new',
    from /usr/lib/ruby/2.0.0/rubygems/gem_runner.rb:66:in `do_configuration'
    from /usr/lib/ruby/2.0.0/rubygems/gem_runner.rb:46:in `run'
    from /usr/bin/gem:21:in `<main>'
    It doesn't even have to be a gem command, like gem list, or gem install. Whatever I type gives me the same error. I've tried uninstalling and reinstalling ruby, compiling it from source as well, but no luck. Since neither the bad character or the file in which the error occur isn't specified (maybe it is? I can't see it though), I'm having a hard time tracking it down and doing something about it.
    Any bright minds with the same experience out there? I'd love any help I can get :)
    Thanks in advance!
    Last edited by kottmaskinen (2013-09-26 10:29:01)

    AAAAAaaaahhhyeeeahh!!
    My ~/.gemrc had the wrong gem path in it!
    It had a dash and a new line in it, which wasn't cool, so I removed it and now it works Wow! I've been looking a week for how to solve this. This feels like christmas

  • Ruby tk segfault

    I am both a ruby and arch newbie, and stumbled upon what seems to be a bug. I could not find this particular error online.
    The simplest of tk programs:
    require 'tk'
    fails with a segfault.
    1) Is this a legit bug or something wrong on my local installation?
    2) Should I file a bug report on the arch bug tracker, or on the ruby site?
    Thanks in advance
    The whole error comes next:
    $ echo "require 'tk'" | ruby
    /usr/lib/ruby/1.9.1/tk.rb:1300: [BUG] Segmentation fault
    ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
    -- Control frame information -----------------------------------------------
    c:0004 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC :mainloop
    c:0003 p:0190 s:0011 b:0009 l:000998 d:000008 BLOCK /usr/lib/ruby/1.9.1/tk.rb:1300
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP
    -- Ruby level backtrace information ----------------------------------------
    /usr/lib/ruby/1.9.1/tk.rb:1300:in `block in <module:TkCore>'
    /usr/lib/ruby/1.9.1/tk.rb:1300:in `mainloop'
    -- C level backtrace information -------------------------------------------
    /usr/lib/libruby.so.1.9(+0x156189) [0x7f9c5dbe3189]
    /usr/lib/libruby.so.1.9(+0x57e19) [0x7f9c5dae4e19]
    /usr/lib/libruby.so.1.9(rb_bug+0xb3) [0x7f9c5dae5603]
    /usr/lib/libruby.so.1.9(+0xf78af) [0x7f9c5db848af]
    /usr/lib/libc.so.6(+0x35340) [0x7f9c5d715340]
    /usr/lib/libtcl8.6.so(+0x9d06e) [0x7f9c5c07506e]
    /usr/lib/libtcl8.6.so(Tcl_NRCallObjProc+0x2c) [0x7f9c5c0161cc]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0x748d) [0x7f9c5c36248d]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0x6319) [0x7f9c5c361319]
    /usr/lib/libruby.so.1.9(rb_protect+0xcd) [0x7f9c5dae982d]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0xd685) [0x7f9c5c368685]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(invoke_queue_handler+0x4c0) [0x7f9c5c369a90]
    /usr/lib/libtcl8.6.so(Tcl_ServiceEvent+0x7f) [0x7f9c5c0b4d7f]
    /usr/lib/libtcl8.6.so(Tcl_DoOneEvent+0x65) [0x7f9c5c0b4fe5]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0x5d50) [0x7f9c5c360d50]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0xaa3d) [0x7f9c5c365a3d]
    /usr/lib/libruby.so.1.9(rb_protect+0xcd) [0x7f9c5dae982d]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(lib_eventloop_main_core+0x3a1) [0x7f9c5c367221]
    /usr/lib/libruby.so.1.9(rb_ensure+0xb6) [0x7f9c5dae9a36]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0x8740) [0x7f9c5c363740]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0x8ee3) [0x7f9c5c363ee3]
    /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so(+0xbc47) [0x7f9c5c366c47]
    /usr/lib/libruby.so.1.9(+0x150573) [0x7f9c5dbdd573]
    /usr/lib/libruby.so.1.9(+0x147210) [0x7f9c5dbd4210]
    /usr/lib/libruby.so.1.9(+0x14b6de) [0x7f9c5dbd86de]
    /usr/lib/libruby.so.1.9(+0x14c3dd) [0x7f9c5dbd93dd]
    /usr/lib/libruby.so.1.9(+0x15bf32) [0x7f9c5dbe8f32]
    /usr/lib/libruby.so.1.9(+0x15c00e) [0x7f9c5dbe900e]
    /usr/lib/libpthread.so.0(+0x7e0f) [0x7f9c5d4cbe0f]
    /usr/lib/libc.so.6(clone+0x6d) [0x7f9c5d7c8efd]
    -- Other runtime information -----------------------------------------------
    * Loaded script: -
    * Loaded features:
    0 enumerator.so
    1 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
    2 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
    3 /usr/lib/ruby/1.9.1/rubygems/defaults.rb
    4 /usr/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb
    5 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb
    6 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb
    7 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb
    8 /usr/lib/ruby/1.9.1/rubygems.rb
    9 /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so
    10 /usr/lib/ruby/1.9.1/x86_64-linux/tkutil.so
    11 /usr/lib/ruby/1.9.1/tk/ttk_selector.rb
    12 /usr/lib/ruby/1.9.1/tk/autoload.rb
    13 /usr/lib/ruby/1.9.1/thread.rb
    14 /usr/lib/ruby/1.9.1/tk/event.rb
    * Process memory map:
    00400000-00401000 r-xp 00000000 08:05 277130368 /usr/bin/ruby
    00600000-00601000 r--p 00000000 08:05 277130368 /usr/bin/ruby
    00601000-00602000 rw-p 00001000 08:05 277130368 /usr/bin/ruby
    016ae000-02087000 rw-p 00000000 00:00 0 [heap]
    7f9c54000000-7f9c54261000 rw-p 00000000 00:00 0
    7f9c54261000-7f9c58000000 ---p 00000000 00:00 0
    7f9c58f92000-7f9c58f93000 rw-p 00000000 00:00 0
    7f9c58f93000-7f9c58fa8000 r-xp 00000000 08:05 805308899 /usr/lib/libgcc_s.so.1
    7f9c58fa8000-7f9c591a7000 ---p 00015000 08:05 805308899 /usr/lib/libgcc_s.so.1
    7f9c591a7000-7f9c591a8000 rw-p 00014000 08:05 805308899 /usr/lib/libgcc_s.so.1
    7f9c591a8000-7f9c5921c000 rw-p 00000000 00:00 0
    7f9c592a6000-7f9c592b2000 r-xp 00000000 08:05 805307411 /usr/lib/libnss_files-2.17.so
    7f9c592b2000-7f9c594b1000 ---p 0000c000 08:05 805307411 /usr/lib/libnss_files-2.17.so
    7f9c594b1000-7f9c594b2000 r--p 0000b000 08:05 805307411 /usr/lib/libnss_files-2.17.so
    7f9c594b2000-7f9c594b3000 rw-p 0000c000 08:05 805307411 /usr/lib/libnss_files-2.17.so
    7f9c594b3000-7f9c595b4000 rw-p 00000000 00:00 0
    7f9c595b4000-7f9c595bc000 r-xp 00000000 08:05 1306541 /usr/lib/ruby/1.9.1/x86_64-linux/tkutil.so
    7f9c595bc000-7f9c597bb000 ---p 00008000 08:05 1306541 /usr/lib/ruby/1.9.1/x86_64-linux/tkutil.so
    7f9c597bb000-7f9c597bc000 r--p 00007000 08:05 1306541 /usr/lib/ruby/1.9.1/x86_64-linux/tkutil.so
    7f9c597bc000-7f9c597bd000 rw-p 00008000 08:05 1306541 /usr/lib/ruby/1.9.1/x86_64-linux/tkutil.so
    7f9c597bd000-7f9c597be000 ---p 00000000 00:00 0
    7f9c597be000-7f9c59fbe000 rw-p 00000000 00:00 0 [stack:3995]
    7f9c59fbe000-7f9c59fc3000 r-xp 00000000 08:05 806222827 /usr/lib/libXdmcp.so.6.0.0
    7f9c59fc3000-7f9c5a1c2000 ---p 00005000 08:05 806222827 /usr/lib/libXdmcp.so.6.0.0
    7f9c5a1c2000-7f9c5a1c3000 r--p 00004000 08:05 806222827 /usr/lib/libXdmcp.so.6.0.0
    7f9c5a1c3000-7f9c5a1c4000 rw-p 00005000 08:05 806222827 /usr/lib/libXdmcp.so.6.0.0
    7f9c5a1c4000-7f9c5a1c6000 r-xp 00000000 08:05 806263830 /usr/lib/libXau.so.6.0.0
    7f9c5a1c6000-7f9c5a3c6000 ---p 00002000 08:05 806263830 /usr/lib/libXau.so.6.0.0
    7f9c5a3c6000-7f9c5a3c7000 r--p 00002000 08:05 806263830 /usr/lib/libXau.so.6.0.0
    7f9c5a3c7000-7f9c5a3c8000 rw-p 00003000 08:05 806263830 /usr/lib/libXau.so.6.0.0
    7f9c5a3c8000-7f9c5a3d7000 r-xp 00000000 08:05 805308870 /usr/lib/libbz2.so.1.0.6
    7f9c5a3d7000-7f9c5a5d6000 ---p 0000f000 08:05 805308870 /usr/lib/libbz2.so.1.0.6
    7f9c5a5d6000-7f9c5a5d8000 rw-p 0000e000 08:05 805308870 /usr/lib/libbz2.so.1.0.6
    7f9c5a5d8000-7f9c5a600000 r-xp 00000000 08:05 805309724 /usr/lib/libexpat.so.1.6.0
    7f9c5a600000-7f9c5a7ff000 ---p 00028000 08:05 805309724 /usr/lib/libexpat.so.1.6.0
    7f9c5a7ff000-7f9c5a801000 r--p 00027000 08:05 805309724 /usr/lib/libexpat.so.1.6.0
    7f9c5a801000-7f9c5a802000 rw-p 00029000 08:05 805309724 /usr/lib/libexpat.so.1.6.0
    7f9c5a802000-7f9c5a814000 r-xp 00000000 08:05 806268059 /usr/lib/libXext.so.6.4.0
    7f9c5a814000-7f9c5aa13000 ---p 00012000 08:05 806268059 /usr/lib/libXext.so.6.4.0
    7f9c5aa13000-7f9c5aa14000 r--p 00011000 08:05 806268059 /usr/lib/libXext.so.6.4.0
    7f9c5aa14000-7f9c5aa15000 rw-p 00012000 08:05 806268059 /usr/lib/libXext.so.6.4.0
    7f9c5aa15000-7f9c5aa33000 r-xp 00000000 08:05 806264326 /usr/lib/libxcb.so.1.1.0
    7f9c5aa33000-7f9c5ac32000 ---p 0001e000 08:05 806264326 /usr/lib/libxcb.so.1.1.0
    7f9c5ac32000-7f9c5ac33000 r--p 0001d000 08:05 806264326 /usr/lib/libxcb.so.1.1.0
    7f9c5ac33000-7f9c5ac34000 rw-p 0001e000 08:05 806264326 /usr/lib/libxcb.so.1.1.0
    7f9c5ac34000-7f9c5ac3e000 r-xp 00000000 08:05 806268627 /usr/lib/libXrender.so.1.3.0
    7f9c5ac3e000-7f9c5ae3d000 ---p 0000a000 08:05 806268627 /usr/lib/libXrender.so.1.3.0
    7f9c5ae3d000-7f9c5ae3e000 r--p 00009000 08:05 806268627 /usr/lib/libXrender.so.1.3.0
    7f9c5ae3e000-7f9c5ae3f000 rw-p 0000a000 08:05 806268627 /usr/lib/libXrender.so.1.3.0
    7f9c5ae3f000-7f9c5aed8000 r-xp 00000000 08:05 805322496 /usr/lib/libfreetype.so.6.10.0
    7f9c5aed8000-7f9c5b0d7000 ---p 00099000 08:05 805322496 /usr/lib/libfreetype.so.6.10.0
    7f9c5b0d7000-7f9c5b0dd000 r--p 00098000 08:05 805322496 /usr/lib/libfreetype.so.6.10.0
    7f9c5b0dd000-7f9c5b0de000 rw-p 0009e000 08:05 805322496 /usr/lib/libfreetype.so.6.10.0
    7f9c5b0de000-7f9c5b116000 r-xp 00000000 08:05 806267850 /usr/lib/libfontconfig.so.1.6.2
    7f9c5b116000-7f9c5b316000 ---p 00038000 08:05 806267850 /usr/lib/libfontconfig.so.1.6.2
    7f9c5b316000-7f9c5b317000 r--p 00038000 08:05 806267850 /usr/lib/libfontconfig.so.1.6.2
    7f9c5b317000-7f9c5b318000 rw-p 00039000 08:05 806267850 /usr/lib/libfontconfig.so.1.6.2
    7f9c5b318000-7f9c5b319000 rw-p 00000000 00:00 0
    7f9c5b319000-7f9c5b31b000 r-xp 00000000 08:05 808795238 /usr/lib/libXss.so.1.0.0
    7f9c5b31b000-7f9c5b51b000 ---p 00002000 08:05 808795238 /usr/lib/libXss.so.1.0.0
    7f9c5b51b000-7f9c5b51c000 r--p 00002000 08:05 808795238 /usr/lib/libXss.so.1.0.0
    7f9c5b51c000-7f9c5b51d000 rw-p 00003000 08:05 808795238 /usr/lib/libXss.so.1.0.0
    7f9c5b51d000-7f9c5b650000 r-xp 00000000 08:05 806266989 /usr/lib/libX11.so.6.3.0
    7f9c5b650000-7f9c5b850000 ---p 00133000 08:05 806266989 /usr/lib/libX11.so.6.3.0
    7f9c5b850000-7f9c5b851000 r--p 00133000 08:05 806266989 /usr/lib/libX11.so.6.3.0
    7f9c5b851000-7f9c5b856000 rw-p 00134000 08:05 806266989 /usr/lib/libX11.so.6.3.0
    7f9c5b856000-7f9c5b86a000 r-xp 00000000 08:05 806268866 /usr/lib/libXft.so.2.3.1
    7f9c5b86a000-7f9c5ba69000 ---p 00014000 08:05 806268866 /usr/lib/libXft.so.2.3.1
    7f9c5ba69000-7f9c5ba6a000 r--p 00013000 08:05 806268866 /usr/lib/libXft.so.2.3.1
    7f9c5ba6a000-7f9c5ba6b000 rw-p 00014000 08:05 806268866 /usr/lib/libXft.so.2.3.1
    7f9c5ba6b000-7f9c5ba80000 r-xp 00000000 08:05 805308920 /usr/lib/libz.so.1.2.7
    7f9c5ba80000-7f9c5bc7f000 ---p 00015000 08:05 805308920 /usr/lib/libz.so.1.2.7
    7f9c5bc7f000-7f9c5bc80000 r--p 00014000 08:05 805308920 /usr/lib/libz.so.1.2.7
    7f9c5bc80000-7f9c5bc81000 rw-p 00015000 08:05 805308920 /usr/lib/libz.so.1.2.7
    7f9c5bc81000-7f9c5bdb9000 r-xp 00000000 08:05 808795241 /usr/lib/libtk8.6.so
    7f9c5bdb9000-7f9c5bfb9000 ---p 00138000 08:05 808795241 /usr/lib/libtk8.6.so
    7f9c5bfb9000-7f9c5bfce000 r--p 00138000 08:05 808795241 /usr/lib/libtk8.6.so
    7f9c5bfce000-7f9c5bfd8000 rw-p 0014d000 08:05 808795241 /usr/lib/libtk8.6.so
    7f9c5bfd8000-7f9c5c14b000 r-xp 00000000 08:05 808795131 /usr/lib/libtcl8.6.so
    7f9c5c14b000-7f9c5c34b000 ---p 00173000 08:05 808795131 /usr/lib/libtcl8.6.so
    7f9c5c34b000-7f9c5c358000 r--p 00173000 08:05 808795131 /usr/lib/libtcl8.6.so
    7f9c5c358000-7f9c5c35a000 rw-p 00180000 08:05 808795131 /usr/lib/libtcl8.6.so
    7f9c5c35a000-7f9c5c35b000 rw-p 00000000 00:00 0
    7f9c5c35b000-7f9c5c377000 r-xp 00000000 08:05 1306538 /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so
    7f9c5c377000-7f9c5c576000 ---p 0001c000 08:05 1306538 /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so
    7f9c5c576000-7f9c5c577000 r--p 0001b000 08:05 1306538 /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so
    7f9c5c577000-7f9c5c578000 rw-p 0001c000 08:05 1306538 /usr/lib/ruby/1.9.1/x86_64-linux/tcltklib.so
    7f9c5c578000-7f9c5c57a000 r-xp 00000000 08:05 805846807 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
    7f9c5c57a000-7f9c5c77a000 ---p 00002000 08:05 805846807 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
    7f9c5c77a000-7f9c5c77b000 r--p 00002000 08:05 805846807 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
    7f9c5c77b000-7f9c5c77c000 rw-p 00003000 08:05 805846807 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
    7f9c5c77c000-7f9c5c77e000 r-xp 00000000 08:05 1306853 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
    7f9c5c77e000-7f9c5c97d000 ---p 00002000 08:05 1306853 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
    7f9c5c97d000-7f9c5c97e000 r--p 00001000 08:05 1306853 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
    7f9c5c97e000-7f9c5c97f000 rw-p 00002000 08:05 1306853 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
    7f9c5c97f000-7f9c5cb83000 r--p 00000000 08:05 532039 /usr/lib/locale/locale-archive
    7f9c5cb83000-7f9c5cc80000 r-xp 00000000 08:05 805307275 /usr/lib/libm-2.17.so
    7f9c5cc80000-7f9c5ce7f000 ---p 000fd000 08:05 805307275 /usr/lib/libm-2.17.so
    7f9c5ce7f000-7f9c5ce80000 r--p 000fc000 08:05 805307275 /usr/lib/libm-2.17.so
    7f9c5ce80000-7f9c5ce81000 rw-p 000fd000 08:05 805307275 /usr/lib/libm-2.17.so
    7f9c5ce81000-7f9c5ce89000 r-xp 00000000 08:05 805307378 /usr/lib/libcrypt-2.17.so
    7f9c5ce89000-7f9c5d088000 ---p 00008000 08:05 805307378 /usr/lib/libcrypt-2.17.so
    7f9c5d088000-7f9c5d089000 r--p 00007000 08:05 805307378 /usr/lib/libcrypt-2.17.so
    7f9c5d089000-7f9c5d08a000 rw-p 00008000 08:05 805307378 /usr/lib/libcrypt-2.17.so
    7f9c5d08a000-7f9c5d0b8000 rw-p 00000000 00:00 0
    7f9c5d0b8000-7f9c5d0bb000 r-xp 00000000 08:05 805307381 /usr/lib/libdl-2.17.so
    7f9c5d0bb000-7f9c5d2ba000 ---p 00003000 08:05 805307381 /usr/lib/libdl-2.17.so
    7f9c5d2ba000-7f9c5d2bb000 r--p 00002000 08:05 805307381 /usr/lib/libdl-2.17.so
    7f9c5d2bb000-7f9c5d2bc000 rw-p 00003000 08:05 805307381 /usr/lib/libdl-2.17.so
    7f9c5d2bc000-7f9c5d2c3000 r-xp 00000000 08:05 805307279 /usr/lib/librt-2.17.so
    7f9c5d2c3000-7f9c5d4c2000 ---p 00007000 08:05 805307279 /usr/lib/librt-2.17.so
    7f9c5d4c2000-7f9c5d4c3000 r--p 00006000 08:05 805307279 /usr/lib/librt-2.17.so
    7f9c5d4c3000-7f9c5d4c4000 rw-p 00007000 08:05 805307279 /usr/lib/librt-2.17.so
    7f9c5d4c4000-7f9c5d4db000 r-xp 00000000 08:05 805307374 /usr/lib/libpthread-2.17.so
    7f9c5d4db000-7f9c5d6da000 ---p 00017000 08:05 805307374 /usr/lib/libpthread-2.17.so
    7f9c5d6da000-7f9c5d6db000 r--p 00016000 08:05 805307374 /usr/lib/libpthread-2.17.so
    7f9c5d6db000-7f9c5d6dc000 rw-p 00017000 08:05 805307374 /usr/lib/libpthread-2.17.so
    7f9c5d6dc000-7f9c5d6e0000 rw-p 00000000 00:00 0
    7f9c5d6e0000-7f9c5d884000 r-xp 00000000 08:05 805307274 /usr/lib/libc-2.17.so
    7f9c5d884000-7f9c5da83000 ---p 001a4000 08:05 805307274 /usr/lib/libc-2.17.so
    7f9c5da83000-7f9c5da87000 r--p 001a3000 08:05 805307274 /usr/lib/libc-2.17.so
    7f9c5da87000-7f9c5da89000 rw-p 001a7000 08:05 805307274 /usr/lib/libc-2.17.so
    7f9c5da89000-7f9c5da8d000 rw-p 00000000 00:00 0
    7f9c5da8d000-7f9c5dc7e000 r-xp 00000000 08:05 806282142 /usr/lib/libruby.so.1.9.1
    7f9c5dc7e000-7f9c5de7d000 ---p 001f1000 08:05 806282142 /usr/lib/libruby.so.1.9.1
    7f9c5de7d000-7f9c5de85000 rw-p 001f0000 08:05 806282142 /usr/lib/libruby.so.1.9.1
    7f9c5de85000-7f9c5dea1000 rw-p 00000000 00:00 0
    7f9c5dea1000-7f9c5dec2000 r-xp 00000000 08:05 805307376 /usr/lib/ld-2.17.so
    7f9c5df14000-7f9c5df15000 ---p 00000000 00:00 0
    7f9c5df15000-7f9c5e09c000 rw-p 00000000 00:00 0
    7f9c5e0be000-7f9c5e0bf000 ---p 00000000 00:00 0
    7f9c5e0bf000-7f9c5e0c2000 rw-p 00000000 00:00 0 [stack:3994]
    7f9c5e0c2000-7f9c5e0c3000 r--p 00021000 08:05 805307376 /usr/lib/ld-2.17.so
    7f9c5e0c3000-7f9c5e0c4000 rw-p 00022000 08:05 805307376 /usr/lib/ld-2.17.so
    7f9c5e0c4000-7f9c5e0c5000 rw-p 00000000 00:00 0
    7fff32a4d000-7fff32a6e000 rw-p 00000000 00:00 0 [stack]
    7fff32bff000-7fff32c00000 r-xp 00000000 00:00 0 [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
    [NOTE]
    You may have encountered a bug in the Ruby interpreter or extension libraries.
    Bug reports are welcome.
    For details: [url]http://www.ruby-lang.org/bugreport.html[/url]
    Aborted (core dumped)
    $
    Moderator edit:  Added code tags.
    Last edited by marcelomorales (2013-03-03 16:43:37)

    marcelomorales,
    Welcome to Arch Linux.  I hope you do not mind, but I added BBCode code tags to your post.  You can edit the post to see how I did it.  There is also a reference link under the posts boxes in these forums.

  • Ruby on Rails FUBAR after gem update? Aptana and NetBeans no work now!!

    After doing an gem update --system it seems that the whole out-of-box Ruby and Ruby on Rails experience in Leopard goes way south.
    I first had issues just trying to run the rails command:
    <pre>
    Adenthir:Workspace nicholas$ rails dummy
    /Library/Ruby/Site/1.8/rubygems.rb:304:in `reportactivateerror': Could not find RubyGem rails (> 0) (Gem::LoadError)
    from /Library/Ruby/Site/1.8/rubygems.rb:238:in `activate'
    from /Library/Ruby/Site/1.8/rubygems.rb:76:in `activegem_withoptions'
    from /Library/Ruby/Site/1.8/rubygems.rb:50:in `gem'
    from /usr/bin/rails:15
    </pre>
    I found that the directory path(s) of the gem repositories which were:
    <pre>
    \["/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8" , "/Library/Ruby/Gems/1.8"]
    </pre>
    had become simply:
    <pre>
    \["/Library/Ruby/Gems"]
    </pre>
    So I added GEM_HOME and GEM_PATH to my .profile, and this works for when I'm in the shell.
    However when I run Aptana or Netbeans it complains about the environment and not being able to find the rails 1.2.3 gem. It seems that not all was yet fixed by adding the paths to my .profile to help clear up the confusion about the missing gem repositories.
    How do you get it so that applications that are not run from the shell eg. Aptana or NetBeans can see the same path as I'm getting in the shell? (My assumption is that the reason they error is because they don't use the .profile shell settings.) I'm not quite sure how to set environment variables for the Mac OS itself (other than the shell sessions). And I am not going to take "just run your apps using shell commands to start them" as an answer!
    All my rails/ruby stuff was working flawlessly in 10.4 ...sigh.
    Help!

    Okay - I think I have the path situation sorted out. In order to get applications like NetBeans or Aptana to recognize the gem repositories after doing a gem update --system command you need to create a file ~/.MacOSX/environment.plist (it isn't there by default so you'll need to make one).
    I used the plist editor tool that comes with XCode's installation, but I imagine any text editor will be sufficient. You will want to add the following to restore your paths for RubyGem:
    <pre>
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>GEM_HOME</key>
    <string>/Library/Ruby/Gems/1.8</string>
    <key>GEM_PATH</key>
    <string>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gem s/1.8</string>
    </dict>
    </plist>
    </pre>
    That seems to of fixed the confusion that NetBeans was having for me as to where to find the gem for rails. Everything (so far) seem to be back to normal.
    Just a word of caution - if you're going to do a gem update be ready for some downtime as you fix your environment paths.

  • [solved] ruby-vte error

    I'm the new owner of the package ruby-vte, the package creation is fine, but when I try a single test code:
    #!/usr/bin/ruby
    require 'gtk2'
    require 'vte'
    w = Gtk::Window.new
    t = Vte::Terminal.new
    w.set_title "Ruby Terminal"
    w.signal_connect("destroy") do
    Gtk.main_quit
    end
    t.signal_connect("child-exited") do
    Gtk.main_quit
    end
    w.add t
    w.show_all
    Gtk.main
    it returns this errors:
    /usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'gtk2' (= 2.2.0) among 11 total gem(s) (Gem::LoadError)
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1295:in `block in activate_dependencies'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `each'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `activate_dependencies'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1266:in `activate'
    from /usr/lib/ruby/2.1.0/rubygems.rb:196:in `rescue in try_activate'
    from /usr/lib/ruby/2.1.0/rubygems.rb:193:in `try_activate'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from test.rb:4:in `<main>'
    I have this installed, query by pacman -Qs ruby
    local/ruby 2.1.2-1
    An object-oriented language for quick and easy programming
    local/ruby-atk 2.2.0-1
    Ruby bindings for atk
    local/ruby-cairo 1.12.9-1
    Ruby bindings for cairo
    local/ruby-gdkpixbuf2 2.2.0-1
    Ruby bindings for gdkpixbuf2
    local/ruby-glib2 2.2.0-1
    Ruby bindings for glib2
    local/ruby-gtk2 2.2.0-1
    Ruby bindings for gtk2
    local/ruby-pango 2.2.0-1
    Ruby bindings for pango
    local/ruby-pkgconfig 1.1.5-1
    Implementation of pkg-config in ruby
    local/ruby-vte 2.2.0-2
    Ruby bindings to VTE (gtk2)
    any ideas?
    Last edited by Joel (2014-08-16 00:55:38)

    The reason I gave the response I did was that the forum is searchable through either the built in functions or an external site like Google.  Someone else who is having a similar issue, say six months from now, might stumble on this thread - which is marked [Solved] - and enter it looking for information that might pertain to the problem they themselves have.  The prescribed solution to this thread is to examine the PKGBUILD.  In six months time that PKGBUILD is likely to have changed rendering the future searcher back to square one.  This thread is an opportunity to document in plain English what went wrong and how it was actually resolved, instead there is a pointer to an evolving and likely not well commented PKGBUILD.

  • Access denied problem with saprfc.so

    Hi all,
    I have a strange "Access is denied" problem when I'm using (any of) the saprfc-unicode gems on saprfc.so. I have outruled the most obvious reasons (file permissions etc.) and have traced it down to the C-level library routine LoadLibraryA, which gets called in the ruby C source code. Because this problem only occurs on one particular machine and does not on others I assume it has something to do with other programs that are installed on the machine.
    I'm wondering whether someone ran into the same problem and can provide some clues on how to solve this. The error message I get is
    c:/ruby/lib/ruby/gems/1.8/gems/saprfc-0.34-mswin32/ext/saprfc/saprfc.so: 5: Access is denied.   - c:/ruby/lib/ruby/gems/1.8/gems/saprfc-0.34-mswin32/ext/saprfc/saprfc.so (LoadError)
            from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'
            from c:/ruby/lib/ruby/gems/1.8/gems/saprfc-0.34-mswin32/lib/SAP/rfc.rb:130
            from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `gem_original_require'
            from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'
    any hint/idea/help on this would be great!
    -- Matthias

    Hello Tommy:
    Welcome to Apple discussions.
    I suggest you contact the game manufacturer and ask them why the update will not work.
    Barry

  • WXRuby refuses to work

    I installed rubygems and over gems I installed wxruby... then I wanted to run the first test project from here:
    http://wxruby.rubyforge.org/wiki/wiki.p … ng_Started
    well I added require "rubygems" to not to have add -rubygems parameter when trying to execute..
    and this error comes up everytime I try to run it:
    /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wxruby2.so: libwx_gtk2u_media-2.8.so.0: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wxruby2.so (LoadError)
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wx.rb:12
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from wxrubyminimum.rb:4
    The library is really not there... Then I tried to compile wxgtk on my own - worked perfect, but still there was no such library generated... is this a wxruby mistake or am I doing something wrong?
    Last edited by icetonic (2008-12-03 20:23:44)

    I've tried to compile wxgtk with the  --enable-mediactrl   enabled as outlined
    http://bugs.archlinux.org/task/14254?opened=4109&status[0]=
    But the files libwx_gtk2u_media-2.8.so.0 is still not installed - i have tried --enabled-shared also...
    libwx_gtk2u_media-2.6.so.0 is installed from the wxgtk-2.6 package....
    [morgan@arch64 iplayer-dl]$ ruby -rubygems -Ilib bin/iplayer-dl-gui
    /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wxruby2.so: libwx_gtk2u_media-2.8.so.0: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wxruby2.so (LoadError)
            from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
            from /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86_64-linux/lib/wx.rb:12
            from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
            from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
            from ./lib/iplayer/gui/app.rb:1
            from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
            from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
            from bin/iplayer-dl-gui:11
    This works in other distros - gentoo / ubuntu  ...
    Last edited by yossarianuk (2009-06-30 17:04:18)

  • [solved] Problem compiling ConTeXt code

    I'd like to start learning ConTeXt and I've just tried to compile a simple hello world:
    \starttext
    Hello world.
    \stoptext
    when compiling with texexec I get this output:
    mtxrun | kpse fallback with progname 'context' initialized in 0.02 seconds/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': /usr/share/texmf-dist/scripts/context/ruby/base/switch.rb:501: invalid multibyte escape: /\xFF/ (SyntaxError)
    from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /usr/share/texmf-dist/scripts/context/ruby/texexec.rb:11:in `<main>'
    I have ruby and all texlive packags installed except texlive-lang*. Searching for an answer I found an old discussion on the forum (2008) where it was suggested to run
    luatools --generate
    before using texexec, but this lead me to another error:
    mtxrun | unknown script 'base.lua' or 'mtx-base.lua'
    Am I missing some package-stuff necessary to compile ConTeXt code?
    edit: looks like I was reading an obsolete guide. It is now reccomended to compile code with "context <filename>", which works fine.
    Last edited by Box0 (2013-04-15 09:18:52)

    Hi there,
    I tried
    g++ mclient.cpp -llibboost_filesystem -llibboost_program_options -llibboost_system -llibboost_thread -o tutorial
    and received
    /usr/bin/ld: cannot find -llibboost_filesystem
    /usr/bin/ld: cannot find -llibboost_program_options
    /usr/bin/ld: cannot find -llibboost_system
    /usr/bin/ld: cannot find -llibboost_thread
    collect2: error: ld returned 1 exit status

  • Resetting Profile Manager

    OS X Server.app is having trouble reading profile manager's setting and when I try to reset Profile Manager by running /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB.sh and I get these errors.
    $ /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB.sh
    devicemgr:state = "STOPPED"
    postgres:state = "RUNNING"
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
    Gem.source_index called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
    NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#refresh! called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
    NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#load_gems_in called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:322.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#initialize called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
    Gem.source_index called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
    NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#refresh! called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
    NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#load_gems_in called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:322.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#initialize called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
    Gem.source_index called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
    NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#refresh! called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
    NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#load_gems_in called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:322.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#initialize called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    rake aborted!
    no such file to load -- json/ext
    (See full trace by running task with --trace)
    devicemgr:state = "STARTING"
    Any idea what is wrong?

    OS X Server.app is having trouble reading profile manager's setting and when I try to reset Profile Manager by running /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB.sh and I get these errors.
    $ /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB.sh
    devicemgr:state = "STOPPED"
    postgres:state = "RUNNING"
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
    Gem.source_index called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
    NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#refresh! called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
    NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#load_gems_in called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:322.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#initialize called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
    Gem.source_index called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
    NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#refresh! called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
    NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#load_gems_in called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:322.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#initialize called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
    Gem.source_index called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
    NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#refresh! called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
    NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#load_gems_in called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:322.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:127.
    NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#initialize called from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
    Gem::SourceIndex#add_spec called from /Library/Ruby/Site/1.8/rubygems/source_index.rb:91.
    rake aborted!
    no such file to load -- json/ext
    (See full trace by running task with --trace)
    devicemgr:state = "STARTING"
    Any idea what is wrong?

  • Vagrant + vagrant-libvirt plugin

    Hi,
    I'm having some issues with installing the vagrant-libvirt plugin.
    I've installed vagrant from AUR with yaourt and try to install the plugin with
    $ vagrant plugin install vagrant-libvirt
    The following error shows up:
    Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
    /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:562:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
    /opt/vagrant/embedded/bin/ruby extconf.rb
    checking for virNetworkPtr in libvirt/libvirt.h... *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of
    necessary libraries and/or headers. Check the mkmf.log file for more
    details. You may need configuration options.
    Provided configuration options:
    --with-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/opt/vagrant/embedded/bin/ruby
    --with-libvirt-include
    --without-libvirt-include
    --with-libvirt-lib
    --without-libvirt-lib
    --with-libvirt-config
    --without-libvirt-config
    --with-pkg-config
    --without-pkg-config
    /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    You have to install development tools first.
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:491:in `block in try_compile'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:443:in `with_werror'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:491:in `try_compile'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:1022:in `try_type'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:1050:in `block in have_type'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/mkmf.rb:1049:in `have_type'
    from extconf.rb:10:in `block in have_libvirt_types'
    from extconf.rb:10:in `each'
    from extconf.rb:10:in `have_libvirt_types'
    from extconf.rb:211:in `<main>'
    Gem files will remain installed in /home/twouters/.vagrant.d/gems/gems/ruby-libvirt-0.4.0 for inspection.
    Results logged to /home/twouters/.vagrant.d/gems/gems/ruby-libvirt-0.4.0/ext/libvirt/gem_make.out
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:540:in `block in build_extensions'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:515:in `each'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:515:in `build_extensions'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:180:in `install'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:297:in `block in install'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `each_with_index'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/dependency_installer.rb:270:in `install'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/action/install_gem.rb:38:in `block in call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/gem_helper.rb:42:in `block in with_environment'
    from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/user_interaction.rb:40:in `use_ui'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/gem_helper.rb:41:in `with_environment'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/action/install_gem.rb:28:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/action/bundler_check.rb:20:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builder.rb:116:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `block in run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/util/busy.rb:19:in `busy'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/command/base.rb:17:in `action'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/command/install.rb:44:in `execute'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/plugin/command/root.rb:47:in `execute'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/cli.rb:46:in `execute'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:467:in `cli'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.2.2/bin/vagrant:84:in `<top (required)>'
    from /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
    from /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
    I've had a look at the log file ~/.vagrant.d/gems/gems/ruby-libvirt-0.4.0/ext/libvirt/mkmf.log which contained a great pointer to the issue:
    package configuration for libvirt
    cflags:
    ldflags:
    libs: -lvirt -ldl
    "gcc -o conftest -I/opt/vagrant/embedded/include/ruby-1.9.1/x86_64-linux -I/opt/vagrant/embedded/include/ruby-1.9.1/ruby/backward -I/opt/vagrant/embedded/include/ruby-1.9.1 -I. -I/tmp/vagrant-temp/embedded/include -I/tmp/vagrant-temp/embedded/include -L/tmp/vagrant-temp/embedded/lib -fPIC conftest.c -L. -L/opt/vagrant/embedded/lib -Wl,-R/opt/vagrant/embedded/lib -L/tmp/vagrant-temp/embedded/lib -Wl,-R/tmp/vagrant-temp/embedded/lib -L. -I/tmp/vagrant-temp/embedded/include -L/tmp/vagrant-temp/embedded/lib -rdynamic -Wl,-export-dynamic -lvirt -ldl '-Wl,-rpath,/../lib' -Wl,-R -Wl,/opt/vagrant/embedded/lib -L/opt/vagrant/embedded/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc"
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_global_init@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_multi_cleanup@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_easy_init@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_easy_setopt@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_multi_remove_handle@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_slist_free_all@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_share_init@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_multi_init@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_easy_cleanup@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_easy_perform@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_share_cleanup@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_easy_strerror@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_easy_getinfo@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_slist_append@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_share_setopt@CURL_OPENSSL_4'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libvirt.so: undefined reference to `curl_multi_add_handle@CURL_OPENSSL_4'
    collect2: error: ld returned 1 exit status
    checked program was:
    /* begin */
    1: #include "ruby.h"
    2:
    3: int main() {return 0;}
    /* end */
    Libvirt has been installed on my system and is built against the system curl libraries, but vagrant is trying to use the embedded curl libraries in /opt/vagrant/embedded/lib/
    I have "confirmed" this behaviour by removing the curl libs from /opt/vagrant/embedded/lib/ and /opt/vagrant/embedded/lib/pkgconfig/.
    After removing the libs and pkgconfig file the installation of vagrant-libvirt succeeds.
    $ vagrant plugin install vagrant-libvirt
    Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
    Installed the plugin 'vagrant-libvirt (0.0.5)'!
    I know this isn't the right way to do this, so I wanted to ask if anyone knows how this should be fixed / worked around in a correct fashion.

    I had the same problem with vagrant-kvm.
    And deleting libcurl was a temporary workaround for me too.
    Here are the files which have to be removed (for copy'n'paste):
    $ mv /opt/vagrant/embedded/lib/libcurl.so{,.backup}
    $ mv /opt/vagrant/embedded/lib/libcurl.so.4{,.backup}
    $ mv /opt/vagrant/embedded/lib/libcurl.so.4.3.0{,.backup}
    $ mv /opt/vagrant/embedded/lib/pkgconfig/libcurl.pc{,backup}
    This problem could be solved by creating custom ruby-libvirt gem for vagrant, which links against the system libcurl (by using LIBRARY_PATH).

  • FCS Web Review and Appoval

    Ok, I followed the FinalCutIntegration Sample instructions and successfully setup the Rails app. It works when I have no clips for review, but once I try and add the first clip for review and return to the web interface I am face with this error:
    "NoMethodError in Clips#index
    Showing clips/index.html.erb where line #89 raised:
    undefined method `length' for #<Enumerable::Enumerator:0x10590de08>"
    Any help would be appreciated. I can provide the Full Trace if needed, just let me know and I will post it.

    Hi Robert,
    I'm having the same exact error but, the fix that you're posting doesn't resolve the issue.
    In fact, it makes the server crash on stat-up.
    Perhaps it's just the board displaying the information wrongfully.
    Would you mind confirming that what we see is what it should be?
    ** Starting Rails with development environment...
    Exiting
    /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gemoriginalrequire': >/XXX/XXX/XXX/review/config/environment.rb:69: syntax error, unexpected tSYMBEG (SyntaxError)
    ... length ? text.chars.to_ahttp://0...l.join + truncate_string...
    /XXX/XXX/XXX/review/config/environment.rb:69: syntax error, unexpected ':', expecting ')'
    ...0...l.join + truncate_string : text).to_s
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'

  • `establish_connection':development database is not configured(ActiveRecord)

    I am new to ruby on rails.Can anybody tell me how to solve this problem.
    i installed ruby,sap,and saprfc-0.11-mswin32.gem .
    i create one project and when i try to execute this its showing this error:
    C:\rails\sapsample>ruby script/server
    => Booting WEBrick...
    C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_a
    dapters/abstract/connection_specification.rb:60:in `establish_connection': devel
    opment database is not configured (ActiveRecord::AdapterNotSpecified)
            from C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record
    /connection_adapters/abstract/connection_specification.rb:53:in `establish_conne
    ction'
            from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:392:i
    n `initialize_database'
            from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:139:i
    n `process'
            from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:i
    n `send'
            from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:i
    n `run'
            from C:/rails/sapsample/config/environment.rb:13
            from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
    m_original_require'
            from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
    quire'
             ... 9 levels...
            from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:4
    9
            from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
    m_original_require'
            from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
    quire'
            from script/server:3
    thanks

    Hi,
    It seems that you're in the wrong forum: this one is about Visual Composer (not Visual Administrator).
    Regards,
    Yaniv.

Maybe you are looking for