schacon / showoff

moved to puppetlabs/showoff!
2.41k stars 13 forks source link

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

Closed gureckis closed 12 years ago

gureckis commented 12 years ago

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 commented 12 years ago

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/schacon/showoff/issues/192.

gureckis commented 12 years ago

Yeah that worked for me as well!

krimple commented 12 years ago

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 commented 12 years ago

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

AndyBean commented 11 years ago

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

durin42 commented 11 years ago

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

AndyBean commented 11 years ago

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 commented 11 years ago

@nictrix your solution helped, thanks!