[SOLVED] Ruby 1.9.2

I can't get the new Ruby to work. It's ruby 1.9.2 from Extra. Here is what I get when I run gem:
[root@xhkr ruby]# gem
/usr/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in `installed_spec_directories': undefined method `path' for Gem:Module (NoMethodError)
from /usr/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:58:in `from_installed_gems'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:883:in `source_index'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:81:in `init_gemspecs'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:13:in `initialize'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in `new'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:841:in `block in searcher'
from <internal:prelude>:10:in `synchronize'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:840:in `searcher'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:479:in `find_files'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:983:in `load_plugins'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:1139:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/bin/gem:8:in `<main>'
I think the package is not correctly built, I don't understand why there is still 1.9.1 in the path.
I tried to remove the package, reinstall.. Same problem.
But with my PKGBUILD it works :
# $Id: PKGBUILD 84971 2010-07-06 01:35:46Z eric $
# Maintainer: Allan McRae <[email protected]>
# Contributor: John Proctor <[email protected]>
# Contributor: Jeramy Rutley <[email protected]>
pkgname=('ruby' 'ruby-docs')
pkgver=1.9.2_p0
_pkgver=1.9.2-p0
_version=1.9.2
pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
arch=('i686' 'x86_64')
url="http://www.ruby-lang.org/en/"
license=('custom')
makedepends=('gdbm' 'db' 'openssl' 'zlib' 'readline' 'tk')
options=('!emptydirs')
source=("ftp://ftp.ruby-lang.org/pub/ruby/1.9/${pkgname}-${_pkgver}.tar.bz2")
md5sums=('d8a02cadf57d2571cd4250e248ea7e4b')
sha1sums=('c0fc7e1047f1eac7e554e9818513593b0d398698')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
# see http://cvs.fedoraproject.org/viewvc/rpms/ruby/devel/
#patch -p1 -i "${srcdir}/openssl-1.0.patch"
./configure --prefix=/usr --enable-shared --enable-pthread --with-ruby-version=${_version}
make
package_ruby()
depends=('gdbm' 'db' 'openssl' 'zlib' 'readline')
provides=('rubygems' 'rake')
conflicts=('rubygems' 'rake')
optdepends=('tk: for Ruby/TK')
cd "${srcdir}/${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
package_ruby-docs()
pkgdesc="Documentation files for ruby"
#arch=('any')
depends=('ruby')
cd "${srcdir}/${pkgname}-${_pkgver}"
make -j1 DESTDIR="${pkgdir}" install-doc
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/ruby-docs/COPYING"
The only difference is "--with-ruby-version=${_version}".
Has anyone the same problem with the pre-compiled package of Ruby ?
Edit : Working fine in my desktop box. So the Ruby from pacman is ok. Don't understand this strange behavior on my server. How can I remove *everything* from the ruby package, to try to reinstall it properly ?
Last edited by Rydgel (2010-09-06 08:18:46)

Hi awkwood,
I probably should have clarified things a little more: I actually do get the same error message as the original poster. For instance, when I try to update gem as you suggested I get:
sudo gem update --system
Password:
/usr/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:62:in `installed_spec_directories': undefined method `path' for Gem:Module (NoMethodError)
from /usr/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:52:in `from_installed_gems'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:914:in `source_index'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:83:in `init_gemspecs'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:13:in `initialize'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:873:in `new'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:873:in `searcher'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:495:in `find_files'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems.rb:1034:in `load_plugins'
from /usr/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:84:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/bin/gem:9:in `<main>'
When I tried using the above renaming fix, however, that is when I got the other error message in my above post.
I'm running ruby 1.9.2:
ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]
I'll try taking a look at the links you posted.
Thanks for the suggestions
Best,
Keith

Similar Messages

  • [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.

  • [Solved] Ruby - Gem bundle install no longer works

    Hi,
    I am new to Linux, Arch and Ruby.
    About 3 days ago I installed Arch on my virtualbox.
    After I was happy with my installation (openbox as WM) I installed ruby.
    I was able to install a project (Gemfile) using the command:
    gem bundle install (from the terminal)
    (That was after installing the bundle gem from within ruby: gem install bundle)
    Today, after updating my Arch system, I had to install that project again (for reasons related to the project), and I cannot.
    I write in the terminal:
    gem bundle install
    and get:
    ERROR:  While executing gem ... (RuntimeError)
        Unknown command bundle
    I searched the forums, but there's nothing relevant that I could find.
    Can someone help?
    Edit:
    After more tries and searches I have found:
    1. This has nothing to do with the Arch update as I feared.
    2. The command to run is "bundle install" not as I initially did.
    Apologies for cluttering the forum.
    Last edited by Tronn (2012-07-24 06:07:18)

    bradmccormack wrote:
    Hi mavenik,
    Whilst it is not the best way to do it, the following worked for me
    1) install gcc44 from AUR (you can probably use gcc45 too). If you are not sure how to do that please search the forums for installing from Aur or Aur wrappers (I use packer)
    packer -S gcc44.
    2) After it is installed temporarily rename your current gcc (4.7.x) 
    sudo mv /usr/bin/gcc /usr/bin/gcc4.7
    3) create a symlink to gcc4.4.x
    sudo ln -s /opt/gcc-4.4/gcc /usr/bin/gcc
    Test gcc version by doing
    gcc --version
    It should say 4.4.6 or similar
    4) install ruby1.8 or ruby-enterprise from Aur (if this is required for redmine)
    packer -S ruby-enterprise
    ruby will now be compiled using an older version of gcc and gems will install correctly.
    5) delete the symlink
    sudo unlink /usr/bin/gcc
    6) rename gcc4.7 back to gcc
    sudo mv /usr/bin/gcc4.7
    Test the version again to make sure it has reverted.
    Please note the proper way to do this would be to set ruby1.8 / ruby-enterprise to compile with the older gcc by setting CC in the pkgbuild.
    I'm not sure how to do that (had no luck) so the hacky solution above worked for me.
    Please check each command above before you use it to make sure it is safe and valid for you.
    Enjoy !
    You should be able to compile with the older gcc by putting CC=/path/to/your/compiler right before "make", like so:
    CC=/opt/gcc-4.4/gcc make
    YEAH! I got it working!  Here's what I did: install "gcc45" from the AUR, then compile ruby-enterprise by downloading the AUR package and running:
    CC=gcc-4.5 makepkg
    ... then install the package.  IT WORKS!
    Last edited by synthead (2012-04-23 13:52:39)

  • [SOLVED]Ruby on Rails won't run with apache/passenger

    Hi I want to run Redmine, a Ruby on Rails application, on a personal server using MariaDB as the database and Apache with the Phusion Passenger module as the application platform. So far I am able to run Redmine with the default WeBrick server, but if I try to run it via Apache (http://192.168.1.5/redmine) I just get the directory index of  /usr/share/webapps/redmine. I've been running various php webapps using this apache installation without issues but my unfamiliarity with Ruby on Rails makes me unsure how to fix this. If I create a Ruby on Rails test  application as described at https://wiki.archlinux.org/index.php/Ru … figuration I get the same issue.
    Using the arch wiki articles on Ruby on Rails and Redmine, This is basically how I installed things:
    $ yaourt -S ruby1.9 rubygems1.9 nodejs redmine
    # gem-1.9 install rails
    # gem-1.9 install passenger
    /opt/ruby-1-9/ and subfolders ended up having no read/exexute permissions for 'other', probably because of my umask settings, so I changed the permissions, also because apache runs as user/group 'apache'.
    Ran the script that installs the passenger apache module:
    # /opt/ruby1.9/bin/passenger-install-apache2-module
    added to httpd.conf:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps
    <Directory "/usr/share/webapps">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options -MultiViews
    </Directory>
    I checked if the passenger module is loaded, and judging from /var/log/httpd/error_log that seems the case:
    [ 2013-07-03 22:52:22.8947 28902/b7407700 agents/Watchdog/Main.cpp:440 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => '/opt/ruby1.9/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '28901', 'web_server_type' => 'apache', 'web_server_worker_gid' => '1001', 'web_server_worker_uid' => '1006' }
    [ 2013-07-03 22:52:22.9120 28905/b73bd700 agents/HelperAgent/Main.cpp:555 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/request
    [ 2013-07-03 22:52:22.9262 28902/b7407700 agents/Watchdog/Main.cpp:564 ]: All Phusion Passenger agents started!
    [ 2013-07-03 22:52:22.9266 28910/b71dd700 agents/LoggingAgent/Main.cpp:271 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/logging
    [Wed Jul 03 22:52:22 2013] [notice] Apache/2.2.24 (Unix) PHP/5.4.16 mod_ssl/2.2.24 OpenSSL/1.0.1e DAV/2 Phusion_Passenger/4.0.5 configured -- resuming normal operations
    'apachectl configtest' gives 'Syntax OK'.
    I followed the wiki on redmine (https://wiki.archlinux.org/index.php/Redmine), chose to use "bundle install" to install the required gems with only a 'production' environment. What worried me is that those gems are now in /root/.gems while the webserver runs as user 'apache'.
    I can run Redmine at 192.168.1.5:3000 without errors using:
    # ruby script/rails server webrick -e production
    But if I kill it and try via apache http://192.168.1.5/redmine I get a directory content listing.
    Last edited by rwd (2013-07-04 21:00:10)

    Thanks markocz, my use of sub-url was indeed the problem. With help from the linked article I did the following:
    # mkdir /usr/share/webapps/phusion-passenger/
    # ln -s /usr/share/webapps/redmine/public /usr/share/webapps/phusion-passenger/redmine
    # chown -R root:http /usr/share/webapps/
    # chmod -R g+rx /usr/share/webapps/
    httpd.conf now looks like this:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps/phusion-passenger
    <Directory "/usr/share/webapps/phusion-passenger">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options +FollowSymLinks
    </Directory>
    RailsBaseURI /redmine
    <Directory "/usr/share/webapps/phusion-passenger/redmine">
    Options -MultiViews
    </Directory>
    Redmine now works via passenger.
    Last edited by rwd (2013-07-04 20:59:40)

  • [SOLVED] ruby-headers requires ruby=1.9.2_p180

    Hi,
    I have got following problem:
    root@ArchLinux /home/harm # pacman -Syu
    :: Synchronisiere Paketdatenbanken...
    core ist aktuell
    extra ist aktuell
    community ist aktuell
    archlinuxfr ist aktuell
    :: Starte komplette Systemaktualisierung...
    Löse Abhängigkeiten auf...
    Suche nach Zwischenkonflikten... --> checking conflicts
    Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen) --> Error: can't continue, dependencies not satisfied
    :: ruby-headers: benötigt ruby=1.9.2_p180 --> ... requires ...
    root@ArchLinux /home/harm #
    root@ArchLinux /home/harm #
    root@ArchLinux /home/harm #
    root@ArchLinux /home/harm # pacman -S ruby
    Löse Abhängigkeiten auf...
    Suche nach Zwischenkonflikten... --> checking conflicts
    Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen) --> Error: can't continue, dependencies not satisfied
    :: ruby-headers: benötigt ruby=1.9.2_p180 --> ... requires ...
    root@ArchLinux /home/harm #
    root@ArchLinux /home/harm #
    root@ArchLinux /home/harm #
    root@ArchLinux /home/harm # ruby -v
    ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
    root@ArchLinux /home/harm #
    Does anyone know an answer:)?
    Cheers,
    Harm
    Last edited by der_harm (2011-07-17 16:13:22)

    Uninstall ruby-headers.  Update. Then update ruby-headers to match the new version of ruby.

  • [SOLVED] ruby-panelapplet2 won't compile (i686 & x86_64)

    Hi!
    I already wrote forum post in 64 bit section, but today I got to i686 machine and the error is the same, that damned package won't compile
    Can anyone help getting this compiled? Any hints?
    Errors are as follows:
    Package 'glipper' has no Name: field
    checking for GCC... yes
    checking for rb_define_alloc_func() in ruby.h... yes
    checking for rb_block_proc() in ruby.h... yes
    checking for new allocation framework... yes
    checking for attribute assignment... no
    checking for libpanelapplet-2.0 version (>= 2.6.0)... yes
    checking for G_PLATFORM_WIN32... no
    creating rbpanelappletversion.h
    creating Makefile
    creating Makefile
    /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/glib/src/lib/pkg-config.rb:85:in `name': undefined method `[]' for nil:NilClass (NoMethodError)
        from /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/glib/src/lib/mkmf-gnome2.rb:165:in `create_pkg_config_file'
        from /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/panel-applet/extconf.rb:30:in `<main>'
    extconf.rb: Leaving directory 'panel-applet'
    That is driving me crazy, coz I can't get SSHMenu work properly and that is one of the tools I use all the time
    If someone has that package in x86_64, please send that to me (edzis123[@]inbox.lv). Please remove all numbers and brackets from there
    If the package is not available, alternate way is sending the files in the package, I suppose these should be like this (I took sample from i686):
    /usr/lib/ruby/site_ruby/1.9.1/panelapplet2.rb
    /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/panelapplet2_main.so
    /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/panelapplet2.so
    Thanx in advance.
    Last edited by Kirurgs (2010-02-21 21:32:26)

    Hi!
    After spending quite a lot of time on this, I found the error why I couldn't compile almost any of ruby packages including ruby-gnomepanel2.
    To my big surprise, pacman -R glipper fixed the issue and I'm now using sshmenu w/o any issues.
    Ruby seems to broke if some additional (possibly incorrect) packages are installed, which it shouldn't!! Uff...
    regards
    Kirurgs
    Last edited by Kirurgs (2010-02-21 21:32:57)

  • [solved] ruby script do not work (in arch)

    Hi!
    I want to change my csv blinklist exported data to a html bookmarks format (to import it to delicious)
    I installed ruby, and used this script: http://rubenlaguna.com/wp/2010/01/03/mi … v-to-html/
    but it shows this error:
    $ ruby change.rub
    /usr/lib/ruby/1.9.1/csv.rb:1329:in `initialize': can't convert String into Integer (TypeError)
            from /usr/lib/ruby/1.9.1/csv.rb:1329:in `open'
            from /usr/lib/ruby/1.9.1/csv.rb:1329:in `open'
            from change.rub:18:in `block in <main>'
            from change.rub:6:in `open'
            from change.rub:6:in `<main>'
    the csv file looks like this:
    http://pastebin.ca/1737483
    any idea what is wrong?
    friends, that do not uses arch, tested it and it worked in their machines...
    Last edited by luuuciano (2010-01-04 19:15:35)

    Hi, the problem is that Arch Linux uses the newer Ruby 1.9.x version which is incompatible with that script. I have tried to fix the script for you, it seems to work but I don't even know what delicious is so you'll have to just try it and see
    http://pastebin.ca/1737706

  • [SOLVED]Ruby Gem gtk3 Won't Install

    I wrote a ruby program that uses gtk3, which I had installed from AUR using yaourt. Recently I noticed that the package has been orphaned, so I decided, possibly unwisely, to uninstall the AUR package and install the gem via 'gem install gtk3'. Unfortunately I get this result:
    Building native extensions. This could take a while...
    ERROR: Error installing gtk3:
    ERROR: Failed to build gem native extension.
    /usr/bin/ruby -r ./siteconf20150422-3325-14ntm49.rb extconf.rb
    checking for --enable-debug-build option... no
    checking for -Wall option to compiler... yes
    checking for -Waggregate-return option to compiler... yes
    checking for -Wcast-align option to compiler... yes
    checking for -Wextra option to compiler... yes
    checking for -Wformat=2 option to compiler... yes
    checking for -Winit-self option to compiler... yes
    checking for -Wlarger-than-65500 option to compiler... yes
    checking for -Wmissing-declarations option to compiler... yes
    checking for -Wmissing-format-attribute option to compiler... yes
    checking for -Wmissing-include-dirs option to compiler... yes
    checking for -Wmissing-noreturn option to compiler... yes
    checking for -Wmissing-prototypes option to compiler... yes
    checking for -Wnested-externs option to compiler... yes
    checking for -Wold-style-definition option to compiler... yes
    checking for -Wpacked option to compiler... yes
    checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
    checking for -Wpointer-arith option to compiler... yes
    checking for -Wswitch-default option to compiler... yes
    checking for -Wswitch-enum option to compiler... yes
    checking for -Wundef option to compiler... yes
    checking for -Wout-of-line-declaration option to compiler... no
    checking for -Wunsafe-loop-optimizations option to compiler... yes
    checking for -Wwrite-strings option to compiler... yes
    checking for rb_define_alloc_func() in ruby.h... yes
    checking for rb_block_proc() in ruby.h... yes
    checking for new allocation framework... yes
    checking for attribute assignment... no
    checking for Windows... no
    checking for gobject-2.0 version (>= 2.12.0)... yes
    checking for gthread-2.0... yes
    checking for unistd.h... yes
    checking for io.h... no
    checking for g_spawn_close_pid() in glib.h... yes
    checking for g_thread_init() in glib.h... yes
    checking for g_main_depth() in glib.h... yes
    checking for g_listenv() in glib.h... yes
    checking for rb_check_array_type() in ruby.h... yes
    checking for rb_check_hash_type() in ruby.h... yes
    checking for rb_exec_recursive() in ruby.h... yes
    checking for rb_errinfo() in ruby.h... yes
    checking for rb_sourcefile() in ruby.h... yes
    checking for rb_sourceline() in ruby.h... yes
    checking for ruby_set_current_source() in ruby.h... no
    checking for rb_thread_call_without_gvl() in ruby.h... yes
    checking for ruby_native_thread_p() in ruby.h... yes
    checking for rb_thread_call_with_gvl() in ruby.h... yes
    checking for rb_str_new_cstr() in ruby.h... yes
    checking for rb_gc_register_mark_object() in ruby.h... yes
    checking for rb_exc_new_str() in ruby.h... yes
    checking for curr_thread in ruby.h,node.h... no
    checking for rb_curr_thread in ruby.h,node.h... no
    creating ruby-glib2.pc
    creating glib-enum-types.c
    creating glib-enum-types.h
    creating Makefile
    make "DESTDIR=" clean
    make "DESTDIR="
    compiling rbglib_win32.c
    compiling rbglib_ucs4.c
    compiling glib-enum-types.c
    glib-enum-types.c: In function 'g_win32_os_type_get_type':
    glib-enum-types.c:85:9: error: 'G_WIN32_OS_ANY' undeclared (first use in this function)
    { G_WIN32_OS_ANY, "G_WIN32_OS_ANY", "any" },
    ^
    glib-enum-types.c:85:9: note: each undeclared identifier is reported only once for each function it appears in
    glib-enum-types.c:86:9: error: 'G_WIN32_OS_WORKSTATION' undeclared (first use in this function)
    { G_WIN32_OS_WORKSTATION, "G_WIN32_OS_WORKSTATION", "workstation" },
    ^
    glib-enum-types.c:87:9: error: 'G_WIN32_OS_SERVER' undeclared (first use in this function)
    { G_WIN32_OS_SERVER, "G_WIN32_OS_SERVER", "server" },
    ^
    Makefile:237: recipe for target 'glib-enum-types.o' failed
    make: *** [glib-enum-types.o] Error 1
    make failed, exit code 2
    I found this bug report, but I can't tell if this is related or not.
    I can successfully install other gems.
    I tried going back to the AUR package, but now I get this error:
    error: failed to commit transaction (conflicting files)
    ruby-pkgconfig: /usr/lib/ruby/gems/2.2.0/cache/pkg-config-1.1.6.gem exists in filesystem
    gem list produces this:
    *** LOCAL GEMS ***
    bigdecimal (1.2.7, 1.2.6)
    io-console (0.4.3)
    json (1.8.2, 1.8.1)
    minitest (5.6.0, 5.4.3)
    pkg-config (1.1.6)
    power_assert (0.2.3, 0.2.2)
    psych (2.0.13, 2.0.8)
    rake (10.4.2)
    rdoc (4.2.0)
    test-unit (3.0.9, 3.0.8)
    I ran 'gem uninstall pkg-config' and retried the AUR package install with the same result.
    Last edited by deryl (2015-04-23 12:19:04)

    Your gem compilation hit known upstream bug https://github.com/ruby-gnome2/ruby-gnome2/issues/361 Here is a patch that fixes ruby-glib2 https://projects.archlinux.org/svntogit … ruby-glib2 I do not know if ruby-gtk3 should be patched or not (most likely not).
    To fix "gem exists in filesystem" error you need to remove all the gems installed globally (to /usr/...). The best way is to use lostfiles package from AUR.
    Last edited by anatolik (2015-04-23 02:53:08)

  • 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

  • [Solved] Problem using kdebindings for ruby

    As a weekend project I was going to look into using ruby as language for developing KDE plasma widgets.
    I have kdebindings-ruby 4.6.0-1 along with the required kdebindings-smoke 4.6.0-1.
    When trying:
    require "plasma_applet"
    I get the error:
    LoadError: libsmokebase.so.3: cannot open shared object file: No such file or directory - /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/plasma_applet.so
    However when checking the directory
    /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/
    32K plasma_applet.so
    shows up clear as day.
    So what gives? I haved tried to find an answer here on the forums and on google but perhaps my google foo is too weak.
    Thanks
    Edit: With some more google foo I found this: https://github.com/pcapriotti/kaya/issu … ed#issue/3
    Where this statement is made:
    Kdebindings-smoke does not provide anymore libsmokebase.so.3, either in chakra-Linux or Arch Linux, was available in kde 4.5.5 but no in 4.6.0
    Does this need to be submitted as a bug?
    Last edited by ilpianista (2011-02-25 13:22:49)

    Hi, i know this is solved but i have similar problem with kdebindings-qtruby 4.7.0-1
    i start irb. and when i type require "Qt"
    irb(main):003:0> require "Qt"
    LoadError: libsmokebase.so.3: cannot open shared object file: No such file or directory - /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/qtruby4.so
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /usr/lib/ruby/site_ruby/1.9.1/Qt.rb:1:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from (irb):3
    from /usr/bin/irb:12:in `<main>'
    same when i try require "qtruby4" or somethink like this.
    but file /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/qtruby4.so exist

  • Ruby-Gtk2 TrayIcon [solved]

    I've installed ruby gtk2 by issuing: "gem install gtk2"
    A bunch of libraries installed correctly.
    Now I tried just an example (got if from official website) under irb and got this:
    irb(main):001:0> require "gtktrayicon"
    LoadError: no such file to load -- gtktrayicon
    Also tried this:
    irb(main):002:0> require "gtk2"
    => true
    irb(main):003:0> Gtk::TrayIcon
    NameError: uninitialized constant Gtk::TrayIcon
    Where is gtktrayicon?
    [SOLVED]
    Ok, it's just deprecated by StatusIcon
    Last edited by tigrezno (2011-08-08 23:16:14)

    I am so stupid I was intending to use "ri" and not "irb"... Problem solved

  • Ruby-cairo upgrade file conflicts [solved]

    I did a 'pacman -Su' and it tried to upgrade ruby-cairo but it then bombed out due to file conflicts. If I do a 'pacman -Qu ruby-cairo' it says the package does not exist, even though I'm pretty sure I installed it in the past and hence why there are file conflicts. Should I force the upgrade or are there better ways to solve this?
    Here's the output from pacman -Su
    Targets (5): bluez-4.79-2 libx11-1.3.5-2 pixman-0.20.0-1 ruby-cairo-1.10.0-1 ruby-pango-0.90.5-3
    Total Download Size: 0.00 MB
    Total Installed Size: 18.27 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    (5/5) checking for file conflicts [#######################################################################################################] 100%
    error: failed to commit transaction (conflicting files)
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/color.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/colors.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/constants.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/blur.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/circle.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/color.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/path.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/rectangle.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/context/triangle.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/paper.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/papers.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/path.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/cairo/point.rb exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/cairo.so exists in filesystem
    ruby-cairo: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/rb_cairo.h exists in filesystem
    Errors occurred, no packages were upgraded.
    Last edited by skip (2010-11-19 11:04:03)

    farrel@ages ~ $ pacman -Qo /usr/lib/ruby/site_ruby/1.9.1/cairo.rb
    /usr/lib/ruby/site_ruby/1.9.1/cairo.rb is owned by ruby-rcairo 1.8.0-2
    So there's ruby-rcairo (what I have installed) and ruby-cairo which is what it's trying to install. I can probably just remove ruby-rcairo and install ruby-cairo.
    Last edited by skip (2010-11-19 10:59:05)

  • [SOLVED] bundle from ruby package can not install gems

    Hello, I was stuck with 'bundle' for hours, I do not know anything about Ruby, and even looking at the code won't get my anywhere. kindda don't like it... (guilty). Anyway, I'm gonna post it here to save someone else's time.
    What I was trying to do:
      I was trying to run this command, as developing an omega sub-theme for Drupal requires this. This command will read GemFile and install all GEM dependencies.
    bundle install
    What happened? What's the problem?
      this happened:
    Fetching gem metadata from https://rubygems.org/............
    Fetching additional metadata from https://rubygems.org/..
    Resolving dependencies...
    Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
    /home/MY_USER/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
    *** 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
    --without-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=/home/MY_USER/.rvm/rubies/ruby-2.1.2/bin/ruby
    --with-ffi_c-dir
    --without-ffi_c-dir
    --with-ffi_c-include
    --without-ffi_c-include=${ffi_c-dir}/include
    --with-ffi_c-lib
    --without-ffi_c-lib=${ffi_c-dir}/lib
    --with-libffi-config
    --without-libffi-config
    --with-pkg-config
    --without-pkg-config
    /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    You have to install development tools first.
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:541:in `try_link0'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:556:in `try_link'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:642:in `block in try_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:635:in `with_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:641:in `try_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:1762:in `pkg_config'
    from extconf.rb:15:in `<main>'
    extconf failed, exit code 1
    Gem files will remain installed in /home/MY_USER/.rvm/gems/ruby-2.1.2/gems/ffi-1.9.3 for inspection.
    Results logged to /home/MY_USER/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/ffi-1.9.3/gem_make.out
    An error occurred while installing ffi (1.9.3), and Bundler cannot continue.
    Make sure that `gem install ffi -v '1.9.3'` succeeds before bundling.
    What was tried?
      Everything: cloning eventmachine directly from github which produced same result, removing gems depending on eventmachine however other packages produced the same result, ...
      The error message says: You have to install development tools first. however it was installed:
    sudo pacman --needed -S base-devel
    What was the problem? What's the solution then?
      Well, I had previously enabled multilib in pacman.com which resulted in gcc-multilib and gcc-libs-multilib being installed however these multilib packages does NOT work, gcc and gcc-libs needs to be installed instead. I do not know what is the proper solution for having these multilib packages and compiling ruby gems? (maybe adding multilib back to pacman.conf!) but it finally worked for me.
    I would create a wiki article but I don't know if it deserve's one + I'm not very good english writer + not sure if the solution is 100% right. probably this should be added to ruby page: in order to compile ruby gems you have to install gcc and gcc-libs instead of gcc-multilib and gcc-libs-multilib since multilib packages wont work because of...?
    Last edited by loolooyyyy (2014-06-19 17:33:08)

    Don't have the 7100 board , but some of theese issues are common .
    Enter BIOS in the following submenus :
    Advanced BIOS Features:
    -HD-Boot order - Make sure your SATA drive where you install OS is first in the list .
    (always check this one when altering HD's and connections of drives/usb-drives/card readers etc)
    Set normal boot order
    1'st boot device : CDROM
    2'nd boot device :Harddisk
    3'rd boot device : Harddisk (just to have something there)
    or if having floppy
    1'st boot device : Floppy
    2'nd boot device : CDROM
    3'rd boot device : Harddisk
    Boot other device : disabled
    Disconnect all USB cables coming from case or multicard dreader device etc. terminated on the motherboards JUSB1/JUSB2 .. headers .
    Enter Advanced Chipset features
    Integrated pheripherals
    Ide function setup ->
    Onchip IDE channel 0 : Disabled
    Onchip IDE channel 1 : Disabled
    SATA 1/2 : Enabled
    SATA 3/4 : Enabled
    Onboard device->
    OnBoard Sil3132 RAID : disabled
    OnBoard Sil3132 Mode :SATA
    Also recommend setting
    USB KB/Storage Support : Disabled
    (and connect the keyboard to PS2 via the delivered USB/PS2 adapter )
    Boot once , and enter bios again to verify the HDbootorder
    BTW: Having only 2.5GB for is not gonna cut it as OS partition is not enough as pagefile written under install is 1.5 times installed memory
    and the install will halt .
    Windows updates and other stuff as mail storage , my documents , user prifiles and registry hives need space and grow some over time .
    Primary OS partition workes best having altleast a minimum 20% free space all the time for housekeeping tasks lige changing layout ini , prefetch data
    defragmenting etc.
    Don't use anything less than 15GB to have peace of mind . ( I usually make it 30GB or more to avoid having lack of space later on , as that is a bitch )
     

  • 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)

  • [Solved] Error in system upgrade (ruby-glib2)

    Hi there, I tried to upgrade my system but have encountered this problem:
    [mike@mike-pc ~]$ sudo pacman -Syu
    :: Synchronising package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    :: Starting full system upgrade...
    :: Replace libnm-gtk with extra/nm-connection-editor? [Y/n] y
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: ruby-gdkpixbuf2: requires ruby-glib2=2.2.4
    [mike@mike-pc ~]$ sudo pacman -Sy ruby-glib2
    :: Synchronising package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: ruby-atk: requires ruby-glib2=2.2.4
    :: ruby-gdkpixbuf2: requires ruby-glib2=2.2.4
    :: ruby-pango: requires ruby-glib2=2.2.4
    [mike@mike-pc ~]$
    I can't seem to upgrade ruby-glib2 to the latest version, which seems to be required for the update! How can I fix this?
    Last edited by mikerhiggins (2015-05-03 12:34:46)

    mikerhiggins wrote:
    Fair enough, that's entirely possible! To that end, I tried the following:
    [mike@mike-pc ~]$ sudo pacman -R ruby-gdkpixbuf2
    [sudo] password for mike:
    checking dependencies...
    Packages (1) ruby-gdkpixbuf2-2.2.4-2
    Total Removed Size: 0.05 MiB
    :: Do you want to remove these packages? [Y/n] y
    (1/1) removing ruby-gdkpixbuf2 [######################] 100%
    [mike@mike-pc ~]$ sudo pacman -S ruby-gdk_pixbuf2
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: ruby-atk: requires ruby-glib2=2.2.4
    :: ruby-pango: requires ruby-glib2=2.2.4
    So that's not brought me much further forward. Anything more I can try?
    I had the same problem:
    I had to reinstall ruby-gtk2 which fixed ruby-atk and ruby-pango.
    Then I was able to upgrade normally.
    pacman -S ruby-gtk2
    pacman -Syu

Maybe you are looking for

  • How to EDIT a particular Row in ALV using normal function module Reuse_alv_grid_display

    Hi experts.. i got one requirement like i need to edit some rows particularly in alv.... Edit in alv output....is it possible to get  that .....using normal function module with out using oops concept... could any one pls help me...

  • IMac Windows 7 - Won't Start Up - i/o error 0xc00000e9

    Hello Bootcamp Community, About a month ago I was working with both OSX 10.6.8 and Windows 7. After moving from OSX to to Windows 7 I started getting a message saying that a drive connected to the machine was causing and i/o error  0xc00000e9. I unpl

  • Slightly off topic: JDev + 10g + recommended laptop

    Hi gang This is a slightly off-topic post in the forum. Apologies to the forum moderators up front. I'm in the process of purchasing a new laptop for development. Among other things I need to run Oracle 10g, + JDev + Solitaire. My assumption for such

  • Safe Temperature Monitor ?

    Hello, I have new MacBook pro 15 inch with retina display! Processor 2,8 ghz Memory 16 gb I use a lot of programes that need a good graphics like games, so anytime i play any game my computer can get very hot ! I used smcfuncontrol for a while, but t

  • Error in ilog Elixir

    Dear all I am getting following error in ilog Elixir Argument count mismatch on mx.graphics::SolidColor/begin(). Expected 3, got 2. at ilog.gauges.rectangular.renderers::RectangularTrackRenderer/updateDisplayList()[/usr/flex /flex1.0/maven2-dev/trunk