gem showoffを使うまでの設定

f:id:peroon:20130513221711j:plain

  1. https://github.com/libgit2/docurium/commit/e637d4b68d5f027bc83f4568b968defd6c68ab07 こちらのbin/cmの変更を取り入れる。

  2. :public is no longer used to avoid overloading Module#public, use :public_dir instead
    from /Users/ke/.rvm/gems/ruby-1.9.2-p320@rails30/gems/showoff-0.7.0/lib/showoff.rb:39: に従ってpublic_dirと書き換える

すると動くので

showoff create mypresentation
showoff serve

とterminalで打ち、

http://localhost:9090

にアクセスすると上記プレゼンテーションが動作します。

追記:これでサーバー版のプレゼンテーションはできますが、http://localhost:9090/pdfやshowoff staticで得られるはずのPDFが出力できませんでした。showoffよりもgem slideshowのshower templateか、JSのreveal.jsをおすすめします。これらについては後日書きます。