Skip to content

uninitialized constant Curses::Menu (NameError) #83

@AlexB52

Description

@AlexB52

Hi,

I've been trying the different sample code for curses. All of them work except for the sample/menu.rb
Running ruby sample/menu.rb gives me this error.

sample/menu.rb:13:in `<main>': uninitialized constant Curses::Menu (NameError)

menu = Curses::Menu.new([

I'm on mac OS ventura 13.4.1 and homebrew seems to have ncurses 6.4 already installed.

I can see that there are some issues getting menu from ncurses from MacOS

Is this why there is no documentation on the README for MacOS?

The menu sample works fine when inside the official docker image ruby:3.0

What would it take to get ncurses menu to work?

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions