* [sup-talk] Sup on Ubuntu
@ 2007-10-17 2:39 Raymond Kroeker
2007-10-27 1:39 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Raymond Kroeker @ 2007-10-17 2:39 UTC (permalink / raw)
Hi All,
I've a problem running sup. I downloaded/compiled/installed ruby 1.8.5.
I downloaded/installed gems 0.9.4. I installed the sup gem and its
dependencies. When I run sup I get the included warnings/errors.
I _think_ my problem has something to do with my potential confusion
between ncurses and curses. I've installed the libraries via apt; and can
load ncurses (see below) but curses cannot be loaded.
Any help would be appreciated.
user at host:~$ sup
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:34: warning: already
initialized constant VERSION
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:36: warning: already
initialized constant BASE_DIR
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:37: warning: already
initialized constant CONFIG_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:38: warning: already
initialized constant SOURCE_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:39: warning: already
initialized constant LABEL_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:40: warning: already
initialized constant PERSON_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:41: warning: already
initialized constant CONTACT_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:42: warning: already
initialized constant DRAFT_DIR
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:43: warning: already
initialized constant SENT_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:44: warning: already
initialized constant LOCK_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:45: warning: already
initialized constant SUICIDE_FN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:47: warning: already
initialized constant YAML_DOMAIN
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:48: warning: already
initialized constant YAML_DATE
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- curses (LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1
/lib/sup/textfield.rb:1
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup.rb:217
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:7
from /usr/local/bin/sup:16:in `load'
from /usr/local/bin/sup:16
I also have this issue if I start irb and type:
user at host:~$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'curses'
LoadError: no such file to load -- curses
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from (irb):2
irb(main):003:0> require 'ncurses'
=> true
irb(main):004:0> quit
--
---------------------------------------------------------
Raymond Kroeker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071016/15204523/attachment-0001.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* [sup-talk] Sup on Ubuntu
2007-10-17 2:39 [sup-talk] Sup on Ubuntu Raymond Kroeker
@ 2007-10-27 1:39 ` William Morgan
0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2007-10-27 1:39 UTC (permalink / raw)
Excerpts from Raymond Kroeker's message of Tue Oct 16 19:39:28 -0700 2007:
> irb(main):002:0> require 'curses'
> LoadError: no such file to load -- curses
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
> from (irb):2
Try installing libcurses-ruby. (The Ubuntu package; not a gem.) That
should do it. Both curses and ncurses are required, because curses
defines a lot of constants that Sup uses for things like colors, keys,
etc.
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-27 1:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-17 2:39 [sup-talk] Sup on Ubuntu Raymond Kroeker
2007-10-27 1:39 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox