Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird gem install message #1

Closed
Quintus opened this issue Jun 29, 2011 · 7 comments
Closed

Weird gem install message #1

Quintus opened this issue Jun 29, 2011 · 7 comments

Comments

@Quintus
Copy link

Quintus commented Jun 29, 2011

Hi there,

I just installed the gem and got an unreadable message during gem installation:

$ sudo gem install paint
Passwort: 
Fetching: paint-0.8.0.gem (100%)
         ��� info ����������������������������
 J-_-L � https://github.com/janlelis/paint �
         ��� usage ���������������������������
         � require 'paint'                   �
         � puts Paint['J-_-L', :red] # J-_-L �
         �������������������������������������
Successfully installed paint-0.8.0
1 gem installed
Installing ri documentation for paint-0.8.0...
Installing RDoc documentation for paint-0.8.0...

If this is intended, there should be at least some hint about that.

Valete,
Quintus

@janlelis
Copy link
Owner

Thanks for testing :D

What OS, Ruby version and terminal are you using?

@janlelis
Copy link
Owner

It should look like this ;)

       ┌── info ───────────────────────────┐
 J-_-L │ https://github.com/janlelis/paint │
       ├── usage ──────────────────────────┤
       │ require 'paint'                   │
       │ puts Paint['J-_-L', :red] # J-_-L │
       └───────────────────────────────────┘

@Quintus
Copy link
Author

Quintus commented Jun 29, 2011

Sorry for the lack of information, here it is:

OS: Arch Linux, uname -a: Linux ikarus 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 6 22:37:55 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz GenuineIntel GNU/Linux

ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

RubyGems version: 1.8.5

Terminal: gnome-terminal 3.0.1

Terminal font is the default "Monospace" font, font size 11.

Vale,
Quintus

@nogweii
Copy link

nogweii commented Jul 1, 2011

The issue Qunitus is having is a terminal related issue. For whatever reason, gnome-terminal doesn't handle the extended drawing characters?

Perhaps something like "UTF-8" mode needs to be turned on for that to work.

@Quintus
Copy link
Author

Quintus commented Jul 1, 2011

Perhaps something like "UTF-8" mode needs to be turned on for that to work.

I think my language settings are quite UTF-8:

$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Shouldn't be the problem therefore.

Valete,
Quintus

PS: Same with sudo:

$ sudo locale
Passwort: 
Sorry, try again.
Passwort: 
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

@janlelis
Copy link
Owner

janlelis commented Jul 7, 2011

Strange - I also use gnome-terminal and don't have the issue (with ubuntu)...

I am closing this thread, because it's not directly related to the gem. However, if you find something interesting about this issue, please (also) post it here ;)

@janlelis janlelis closed this as completed Jul 7, 2011
@vivien
Copy link

vivien commented Jan 17, 2012

Hi,
I'm still getting bad things on Fedora 15/Ruby 1.8.7 with this message. I've commented your last commit here: 096bc04#comments
Please consider it carefully :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants