rkumar / rbcurse

ruby based curses widgets: fields, buttons, textarea. menus, message boxes, tabbed panes, tables, listboxes, splitpanes, scrollpanes. Event based, MVC architecture. (DEPRECATED - PLS USE rbcurse-core)
http://totalrecall.wordpress.com/
138 stars 13 forks source link

Using rbcure on OS X with 1.9.3 #12

Closed alberteddu closed 11 years ago

alberteddu commented 11 years ago

Hi,

I installed ncurses-0.9.1 and ffi-ncurses, then rbcurse with:

gem install rbcurse

Many of the examples don't work, for example:

# app.rb
#<NameError: uninitialized constant RubyCurses::App::Listbox>

# menu1.rb
#<ArgumentError: wrong number of arguments (2 for 1)>
===============================
(eval):2:in `field'
menu1.rb:73:in `block (2 levels) in <main>'

Or, for example, test2.rb works but it looks like this:

Schermata 2012-12-15 alle 13 29 12

Is there something I'm doing wrong, or maybe 1.9.3 is not supported?

rkumar commented 11 years ago

rbcurse is now a wrapper over rbcurse-core and rbcurse-extras

please go to the core examples and execute those. I thought that nothing would install in rbcurse but apparently i need to change the gemspec or manifest.

you don't need the rbcurse dir at all. pls revert to me if any problems. I have run with 1.9.3.

thx

On Sat, Dec 15, 2012 at 6:00 PM, alberteddu notifications@github.comwrote:

Hi,

I installed ncurses-0.9.1 and ffi-ncurses, then rbcurse with:

gem install rbcurse

Many of the examples don't work, for example:

app.rb

menu1.rb

<ArgumentError: wrong number of arguments (2 for 1)>

(eval):2:in field' menu1.rb:73:inblock (2 levels) in

'

Or, for example, test2.rb works but it looks like this:

[image: Schermata 2012-12-15 alle 13 29 12]https://f.cloud.github.com/assets/271597/14870/145e56ae-46b3-11e2-8127-c8636d0d68cd.png

Is there something I'm doing wrong, or maybe 1.9.3 is not supported?

— Reply to this email directly or view it on GitHubhttps://github.com/rkumar/rbcurse/issues/12.

alberteddu commented 11 years ago

Oh, sorry! Tried with rbcurse-core, they work fine. :-) Thanks for making rbcurse--it's awesome.