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

Default Highline Example on GithubGives Error #225

Closed
billbisco opened this issue Nov 26, 2017 · 5 comments
Closed

Default Highline Example on GithubGives Error #225

billbisco opened this issue Nov 26, 2017 · 5 comments
Labels

Comments

@billbisco
Copy link

When I copy/paste the default Highline Example from Github into Cloud9 there is an error on line 49

Using colored indices on Menus

HighLine::Menu.index_color = :rgb_77bbff # set default index color #line 49

/home/ubuntu/workspace/Project/Testing.rb:49:in <main>': undefined method index_color=' for HighLine::Menu:Class (NoMethodError)

When I installed the gem, everything else prior worked.

@abinoam abinoam added the bug label Nov 27, 2017
@abinoam
Copy link
Collaborator

abinoam commented Nov 27, 2017

Thanks for reporting the issue @billbisco.

Could you please check what is returned by...

HighLine::VERSION

I suspect you're using the 1-7-stable branch. And the README.md examples are for 2.0.0-develop branch.

@abinoam
Copy link
Collaborator

abinoam commented Dec 5, 2017

Hi @billbisco, can you check what version are you running?

@mediamagnet
Copy link

Hello,

I'm getting the same error when using the example I'm using version 1.7.10.

@ghost
Copy link

ghost commented Mar 12, 2018

I also tried it with 1.7.10, and NoMethodError was reproduced.
However, as @abinoam said, I confirmed that it's not reproduced in 2.0.0.pre.develop.14.

@abinoam
Copy link
Collaborator

abinoam commented Mar 12, 2018

As @iranakam confirmed @billbisco is probably running the example using the wrong version. I'll close this for now. Anybody feel free to reopen the issue if think appropriate.

@abinoam abinoam closed this as completed Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants