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

can't run server on mac os x mountain lion #192

Closed
gureckis opened this issue Aug 17, 2012 · 8 comments
Closed

can't run server on mac os x mountain lion #192

gureckis opened this issue Aug 17, 2012 · 8 comments

Comments

@gureckis
Copy link

hi, i installed all the dependencies I think are necessary but showoff fails with

iceberg:example $ showoff serve
You should include GLI::App instead
GLI.run no longer works for GLI-2, you must just call `run(ARGV)' instead
either fix your app, or use the latest GLI in the 1.x family

Any advice?

(I installed gem both from default repository and directly from the current github archive)

thanks

@nictrix
Copy link

nictrix commented Aug 18, 2012

I actually had to change line 8 in bin/showoff to:

include GLI::App

and at the very last line do this instead of whatever is there:

exit run(ARGV)

Then it seemed to work for me.

Thanks,
Nick

On Fri, Aug 17, 2012 at 12:04 PM, Todd Gureckis notifications@github.comwrote:

hi, i installed all the dependencies I think are necessary but showoff
fails with

iceberg:example $ showoff serve
You should include GLI::App instead
GLI.run no longer works for GLI-2, you must just call `run(ARGV)' instead
either fix your app, or use the latest GLI in the 1.x family

Any advice?

(I installed gem both from default repository and directly from the
current github archive)

thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/192.

@gureckis
Copy link
Author

Yeah that worked for me as well!

@krimple
Copy link

krimple commented Sep 5, 2012

I tried this. I get a generic message from GLI about --help and it never delegates to showoff.

Can somebody post a working script?

@lesjames
Copy link

lesjames commented Sep 5, 2012

I ran into this problem too. I followed nictrix's suggestion and it works for me.

@AndyBean
Copy link

AndyBean commented Mar 7, 2013

This bug still persists and the fix still works. Thank you @nictrix.

@durin42
Copy link
Contributor

durin42 commented Mar 7, 2013

@AndyBean master works for me just fine on a couple of 10.8 machines, FWIW.

@AndyBean
Copy link

AndyBean commented Mar 7, 2013

Thanks @durin42, perhaps when I cloned the repo today, March 7, 2013, I didn't get the most recent pull on master but nictrix's clever two line patch got me in working order.

-- Edit, Ah, Master is current with the fix but the gem that is available via RVM bundler was not.

@Voronchuk
Copy link

@nictrix your solution helped, thanks!

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

7 participants