* [sup-talk] utf8-issue
@ 2011-09-18 13:02 David Froger
2011-09-18 13:17 ` Michael Stapelberg
2011-09-18 13:36 ` David Froger
0 siblings, 2 replies; 4+ messages in thread
From: David Froger @ 2011-09-18 13:02 UTC (permalink / raw)
To: sup-talk
Hi all,
Thanks for the excellent sup!
I'm french, and so I have utf-8 issues... I'm trying to follow the first method
of the wiki (that is, using the sources obtained from Git):
http://sup.rubyforge.org/wiki/wiki.pl?UTF8
libncurses5-dev and libncursesw5-dev are installed. Changing to the ncursesw
branch, applying the patch and returnin to the next branch works.
However, when I run sup with : "ruby -Ilib bin/sup", I get the error message:
/usr/lib/ruby/1.8/sup/poll.rb:31: undefined method `[]' for nil:NilClass
(NoMethodError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./lib/sup.rb:374
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from bin/sup:22
Because I'm not familiar with ruby, I don't understand what is not working... Is
the rubygems version to old? I'm on ubuntu 10.04
The command "apt-cache policy rubygems" give:
rubygems:
Installé : 1.3.5-1ubuntu2
Candidat : 1.3.5-1ubuntu2
Table de version :
*** 1.3.5-1ubuntu2 0
500 http://fr.archive.ubuntu.com/ubuntu/ lucid/universe Packages
100 /var/lib/dpkg/status
Or is another package missing?
Thanks for any help !
Best,
David
--
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-talk] utf8-issue
2011-09-18 13:02 [sup-talk] utf8-issue David Froger
@ 2011-09-18 13:17 ` Michael Stapelberg
2011-09-18 13:41 ` David Froger
2011-09-18 13:36 ` David Froger
1 sibling, 1 reply; 4+ messages in thread
From: Michael Stapelberg @ 2011-09-18 13:17 UTC (permalink / raw)
To: sup-talk
Hi David,
Excerpts from David Froger's message of 2011-09-18 14:02:00 +0100:
> /usr/lib/ruby/1.8/sup/poll.rb:31: undefined method `[]' for nil:NilClass
> (NoMethodError)
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from ./lib/sup.rb:374
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from bin/sup:22
Please use ruby1.9.1 and install the ncursesw gem with gem1.9.1 install
ncursesw. That should fix all UTF-8 issues.
Best regards,
Michael
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-talk] utf8-issue
2011-09-18 13:02 [sup-talk] utf8-issue David Froger
2011-09-18 13:17 ` Michael Stapelberg
@ 2011-09-18 13:36 ` David Froger
1 sibling, 0 replies; 4+ messages in thread
From: David Froger @ 2011-09-18 13:36 UTC (permalink / raw)
To: sup-talk
I just found the solution here:
http://www.mail-archive.com/sup-devel@rubyforge.org/msg00692.html
It solved my problem. I then update the index from v1 to v4 as sup
asked, and I have utf-8 working nice!
I added a "Troubleshooting" to the wiki:
http://sup.rubyforge.org/wiki/wiki.pl?UTF8
best,
David
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-talk] utf8-issue
2011-09-18 13:17 ` Michael Stapelberg
@ 2011-09-18 13:41 ` David Froger
0 siblings, 0 replies; 4+ messages in thread
From: David Froger @ 2011-09-18 13:41 UTC (permalink / raw)
To: sup-talk
> Please use ruby1.9.1 and install the ncursesw gem with gem1.9.1 install
> ncursesw. That should fix all UTF-8 issues.
Thanks Michael, I will try!
--
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-18 14:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-18 13:02 [sup-talk] utf8-issue David Froger
2011-09-18 13:17 ` Michael Stapelberg
2011-09-18 13:41 ` David Froger
2011-09-18 13:36 ` David Froger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox