Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorteal
    • CommentTimeJul 11th 2008 edited
     permalink
    Hi,

    I have tried to install Clocking IT on my server, but can't run setup.rb. I have run following command


    # gem install rmagick -r
    Building native extensions. This could take a while...
    Successfully installed rmagick-2.5.1
    1 gem installed


    But still I get following


    # ruby setup.rb
    Verifying dependencies...
    ** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
    Please install required Ruby Gems:
    sudo gem install rmagick -r

    rmagick requires ImageMagick. If you're unable to install ImageMagick 6.3.0+, which the latest
    version of rmagick requires, please install version 1.5.14 instead:
    sudo gem install rmagick -v 1.5.14 -r


    Any ideas how I can resolve this?
    • CommentAuthoradmin
    • CommentTimeJul 11th 2008
     permalink
    What does the following in an irb session print?require 'RMagick'
    • CommentAuthoradmin
    • CommentTimeJul 11th 2008
     permalink
    As inerlends@erlends-desktop:~/src/ruby/cit$ irb
    >> require 'RMagick'
    • CommentAuthorteal
    • CommentTimeJul 11th 2008
     permalink

    irb(main):001:0> require 'RMagick'
    LoadError: no such file to load -- RMagick
    from (irb):1:in `require'
    from (irb):1
    • CommentAuthoradmin
    • CommentTimeJul 11th 2008
     permalink
    Smells a bit like a broken ruby-gems installation. How did you install rubygems?

    -- Erlend
    • CommentAuthoradmin
    • CommentTimeJul 11th 2008
     permalink
    I've had a similar problem some time earlier with a different project, where the gem command operated on /usr/lib/ruby/gems/1.8/gems/, while the ruby program operated on /var/lib/ruby/gems/1.8/gems/. It was caused by using the Ubuntu packaged gems version, and then updating the rubygems version via rubygems instead of waiting for Ubuntu to package it (I think, it's been a while)

    -- Erlend
    • CommentAuthorteal
    • CommentTimeJul 11th 2008
     permalink
    I downloaded rubygems-1.2.0 from rubyforge and used setup.rb script.
    • CommentAuthoradmin
    • CommentTimeJul 11th 2008
     permalink
    This wouldn't happen to be on Debian/Ubuntu?
    • CommentAuthorteal
    • CommentTimeJul 11th 2008
     permalink
    Actually I have tried to different servers which have different version of CentOS and with both I get same result.
    • CommentAuthoradmin
    • CommentTimeJul 11th 2008
     permalink
    Could you possibly join me in the General Chatroom inside ClockingIT? Might be easier that way.

    -- Erlend