[Rubygems-developers] [ rubygems-Feature Requests-27468 ] ncurses on ubuntu 9.10: --ignore-dependencies

noreply at rubyforge.org noreply at rubyforge.org
Sat Nov 21 13:25:56 EST 2009


Feature Requests item #27468, was opened at 2009-11-21 18:25
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=578&aid=27468&group_id=126

Category: `gem install` command
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Kurt Harriger (kurtharriger)
Assigned to: Nobody (None)
Summary: ncurses on ubuntu 9.10:  --ignore-dependencies

Initial Comment:
On ubuntu 9.10 there is not gem for ncurses
sudo gem install ncurses
ERROR:  could not find gem ncurses locally or in a repository

instead you must install ncurses via apt-get
sudo apt-get install libncurses-ruby

now when installing a gem that depends on ncurses I still run into problems:
sudo gem install sup
ERROR:  Error installing sup:
        sup requires ncurses (>= 0.9.1, runtime)

Now try:
sudo gem install --ignore-dependencies ncurses sup
...

Now execute sup
/usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem ncurses (>= 0.9.1) (Gem::LoadError)
	from /usr/lib/ruby/1.8/rubygems.rb:261:in `activate'
	from /usr/lib/ruby/1.8/rubygems.rb:296:in `activate'
	from /usr/lib/ruby/1.8/rubygems.rb:295:in `each'
	from /usr/lib/ruby/1.8/rubygems.rb:295:in `activate'
	from /usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
	from ../bin/sup:18

To fix this issue I had to manually edit the gemspec and comment out the ncurses dependency.  I'm thinking maybe gem install could do this for me?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=578&aid=27468&group_id=126


More information about the Rubygems-developers mailing list