Code Monkey home page Code Monkey logo

Comments (8)

blackwinter avatar blackwinter commented on August 17, 2024

cmess depends on ruby-nuggets (now nuggets), so RubyGems tries to install the dependency first and fails with the quoted error message. If you install ruby-nuggets version 0.9.9 before installing cmess 0.3.1 it should work.

from cmess.

fexposito avatar fexposito commented on August 17, 2024

Thank you very much for your quick answer.

Unfortunately, installing ruby-nuggets 0.9.9 prior to cmess 0.3.1 doesn't solve the problem.

Any other idea?

from cmess.

blackwinter avatar blackwinter commented on August 17, 2024

It works for me. Please post the output of gem list and both gem install ruby-nuggets -v 0.9.9 and gem install cmess -v 0.3.1.

from cmess.

fexposito avatar fexposito commented on August 17, 2024

Hi,

Those are the results:

$gem install ruby-nuggets -v 0.9.9
Successfully installed ruby-nuggets-0.9.9
1 gem installed
Installing ri documentation for ruby-nuggets-0.9.9...
Installing RDoc documentation for ruby-nuggets-0.9.9...
$gem install cmess -v 0.3.1
ERROR:  Error installing cmess:
    nuggets requires Ruby version >= 1.9.3.
$gem list
actionmailer (2.3.18, 2.3.17, 2.3.16, 2.3.11)
actionpack (2.3.18, 2.3.17, 2.3.16, 2.3.11)
activerecord (2.3.18, 2.3.17, 2.3.16, 2.3.11)
activeresource (2.3.18, 2.3.17, 2.3.16, 2.3.11)
activesupport (2.3.18, 2.3.17, 2.3.16, 2.3.11)
addressable (2.3.6, 2.2.8)
backports (3.6.8, 3.3.5, 3.3.2, 3.3.0)
builder (3.2.2, 3.2.0, 3.0.4)
bundler (1.12.5, 1.0.12)
capistrano (2.15.4, 2.14.2, 2.14.1, 2.13.3, 2.12.0, 2.6.0)
capistrano-ext (1.2.1)
cgi_multipart_eof_fix (2.5.0)
cmess (0.3.1)
daemon_controller (1.1.4, 1.1.2, 1.1.1, 1.0.0, 0.2.6)
daemons (1.2.3, 1.1.9, 1.1.8, 1.1.4, 1.1.3)
erubis (2.7.0)
excon (0.9.6)
ezcrypto (0.7.2)
fastthread (1.0.7)
gem_plugin (0.2.3)
gibbon (0.3.5)
git (1.2.9.1, 1.2.5)
haml (4.0.2)
highline (1.6.19, 1.6.18, 1.6.15, 1.6.13, 1.6.2)
htmlentities (4.3.1, 4.3.0)
httparty (0.11.0, 0.10.2, 0.9.0)
jammit (0.6.3)
jeweler (1.8.4, 1.5.2)
jrails (0.6.0)
json (1.8.3, 1.8.0, 1.7.7, 1.7.6, 1.7.4, 1.5.4)
linecache (0.46)
little-plugger (1.1.3)
logging (1.6.2)
metaclass (0.0.1)
metric_fu-roodi (2.2.1)
mime-types (1.23, 1.21, 1.19)
mini_magick (4.4.0, 4.2.0, 4.0.0, 3.6.0, 3.5.0, 3.4)
mini_portile (0.6.0, 0.5.0)
mocha (0.10.5)
mongrel (1.1.5)
mono_logger (1.1.0, 1.0.1, 1.0.0)
multi_json (1.12.1, 1.11.2, 1.7.7, 1.7.3, 1.7.2, 1.6.1, 1.5.0, 1.3.6, 1.1.0, 1.0.3)
multi_xml (0.5.3, 0.5.2, 0.5.1)
multipart-post (2.0.0)
mysql (2.8.1)
net-scp (1.1.2, 1.1.1, 1.1.0, 1.0.4)
net-sftp (2.1.2, 2.1.1, 2.0.5)
net-ssh (2.9.2, 2.7.0, 2.6.7, 2.6.6, 2.6.3, 2.5.2, 2.2.1, 2.1.4)
net-ssh-gateway (1.2.0, 1.1.0)
nokogiri (1.5.9, 1.5.6, 1.5.5, 1.5.0, 1.4.4)
open4 (1.3.0, 1.1.0)
passenger (5.0.25, 3.0.19, 3.0.14, 3.0.9, 3.0.7)
pkg-config (1.1.7)
Platform (0.4.0)
polyglot (0.3.3)
POpen4 (0.1.4)
progressbar (0.20.0)
rack (1.4.5, 1.4.1, 1.1.6, 1.1.5, 1.1.3, 1.1.2)
rack-cache (1.2)
rack-protection (1.5.0, 1.3.2, 1.2.0)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (2.3.18)
rake (10.0.4)
rbx-require-relative (0.0.9)
rcov (1.0.0, 0.9.9)
rdoc (4.0.1, 3.12.2, 3.12)
redis (3.3.1, 3.0.7, 3.0.4, 3.0.3, 3.0.2, 3.0.1, 2.2.2)
redis-namespace (1.5.2, 1.3.0, 1.2.1, 1.2.0, 1.0.3)
reek (1.3.1)
resque (1.24.1, 1.23.1, 1.23.0, 1.21.0, 1.20.0, 1.19.0)
resque-scheduler (2.0.1, 2.0.0, 1.9.9)
resque-status (0.4.1)
resque_mailer (1.0.1)
ruby-debug-base (0.10.5.rc9, 0.10.5.rc1, 0.10.4)
ruby-debug-ide (0.4.23.beta1, 0.4.17.beta16, 0.4.16)
ruby-nuggets (0.9.9, 0.9.3, 0.9.1, 0.8.9, 0.8.8, 0.8.5, 0.7.4, 0.7.2)
ruby-ole (1.2.12, 1.2.11.6, 1.2.11.4, 1.2.11.3, 1.2.11.2, 1.2.11.1)
ruby2ruby (2.0.3, 2.0.2)
ruby_parser (3.1.1)
rubygems-update (1.8.25)
rubyzip (0.9.9, 0.9.6.1, 0.9.4)
rufus-scheduler (2.0.18, 2.0.17, 2.0.10)
safe_yaml (1.0.4, 1.0.3)
sass (3.2.8)
semver (1.0.1)
sexp_processor (4.1.5)
shoulda (3.0.1, 2.11.3)
shoulda-context (1.0.2)
shoulda-matchers (1.0.0)
sinatra (1.3.2, 1.2.9, 1.2.8, 1.2.6)
sixarm_ruby_unaccent (1.1.1)
slim (1.3.8)
sshkit (1.0.0)
stickler (2.2.4)
subexec (0.2.3, 0.2.2, 0.2.1)
SystemTimer (1.2.3)
temple (0.6.4)
term-ansicolor (1.2.2)
terminal-table (1.4.5)
thor (0.17.0)
thread_safe (0.3.5)
tilt (1.4.1, 1.4.0, 1.3.5)
tins (0.12.0)
treetop (1.4.12)
trollop (1.16.2)
tzinfo (0.3.37, 0.3.35, 0.3.33, 0.3.29)
vegas (0.1.11, 0.1.8)
will_paginate (2.3.16)
yui-compressor (0.12.0, 0.9.6)
zip (2.0.2)
zipruby (0.3.6)
$gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.25
  - RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/lib/ruby/gems/1.8
     - /home/username/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

Thank you very much for your time.

from cmess.

blackwinter avatar blackwinter commented on August 17, 2024

I have no idea why you still get the install error, but cmess is listed as installed. Can you use it? (e.g. guess_encoding -v)

from cmess.

fexposito avatar fexposito commented on August 17, 2024

The output is:

$guess_encoding -v
guess_encoding v0.1.0 (part of cmess v0.3.1)

So it seems that it is correctly working.

The problem arises whenever I try to install my gem (which has a dependency on yours). Since cmess fails to install, my gem fails also...

from cmess.

blackwinter avatar blackwinter commented on August 17, 2024

You can add a dependency on ruby-nuggets < 1.0 to your gem. That should solve your issue.

And as a side note: You do realise that Ruby 1.8.7 has been retired three years ago, right?

from cmess.

fexposito avatar fexposito commented on August 17, 2024

Great!

Adding a dependency on ruby-nuggets to my gem solves the issue!

I know that 1.8.7 is (very) outdated, but I need to keep my project alive while I am preparing the new version :)

Thank you very much for your help!

from cmess.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.