start showoff after showoff serve : ":Public is no longer used to avoid overloading Module#public"
Opened this issue · 9 comments
platform:
Windows 7, Ruby 1.93 (by rails installer 2.2.1)
steps to reproduce:
$ git clone (showoff-repo)
$ cd (showoff-repo)
$ gem install showoff
$ showoff serve
expected behavior:
I don't know, because this is my first time using it
actual behavior:
$ showoff serve
image sizing disabled - install rmagick
pdf generation disabled - install pdfkit
:public is no longer used to avoid overloading Module#public, use :public_dir in
stead
from d:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/showoff-0.7.0/
lib/showoff.rb:39:in <class:ShowOff>' 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
try using https://github.com/puppetlabs/showoff
it works for me and seems to be well-maintained.
gem search -r | grep -i 'showoff.*pl'
I can confirm that the puppetlabs version has this issue fixed.
Any plan to merge that in the main repository ?
Seems to be still broken for me(yes I am using the puppetlabs version)
$ showoff serve
:public is no longer used to avoid overloading Module#public, use :public_dir instead
from /var/lib/gems/1.9.1/gems/showoff-0.7.0/lib/showoff.rb:39:in <class:ShowOff>' 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
Fixed on master
Still broken for me
sieben@sieben-lincs:~/workspace/showoff|master ⇒ showoff serve
:public is no longer used to avoid overloading Module#public, use
:public_dir instead
from /var/lib/gems/1.9.1/gems/showoff-0.7.0/lib/showoff.rb:39:in
<class:ShowOff>' 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
2013/9/1 Dmitry Vorotilin notifications@github.com
Fixed on master
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/209#issuecomment-23622232
.
I'm using bin/showoff
binary, so if you have to run it for some folder you have to do path-to-repo/bin/showoff serve
@route that works. Thanks.
Using master does fix this bug for me. Here's voting for a new release. :)