Peeja/multi_progress_bar — pull request #7 by Peeja (2012-12-07 04:29:42+00:00)
Title: private method `print' called for 206:Fixnum (NoMethodError)

Hello,

Im running on osx mountain lion and am running ruby 1.8.

I have installed the command line tools.
Installed the gem
And ran the example.rb but i get
/Library/Ruby/Gems/1.8/gems/ruby-progressbar-1.0.2/lib/progress_bar/base.rb:101:in `clear': private method `print' called for 206:Fixnum (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/ruby-progressbar-1.0.2/lib/progress_bar/base.rb:27:in `start'
from /Library/Ruby/Gems/1.8/gems/ruby-progressbar-1.0.2/lib/progress_bar/base.rb:20:in `initialize'
from /Library/Ruby/Gems/1.8/gems/ruby-progressbar-1.0.2/lib/ruby-progressbar.rb:17:in `new'
from /Library/Ruby/Gems/1.8/gems/ruby-progressbar-1.0.2/lib/ruby-progressbar.rb:17:in `create'
from /Library/Ruby/Gems/1.8/gems/ruby-progressbar-1.0.2/lib/ruby-progressbar.rb:13:in `new'
from /Library/Ruby/Gems/1.8/gems/multi_progress_bar-0.3.0/lib/multi_progress_bar/bar.rb:30:in `initialize'
from ./tasklist_daemon.rb:13:in `new'
from ./tasklist_daemon.rb:13
from ./tasklist_daemon.rb:14:in `[]'
from ./tasklist_daemon.rb:14

Do you know if this gem works with ruby 1.8?

Many thanks