schacon / showoff

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

showoff serve | showoff static both fail with non-local images #91

Closed stevenhaddox closed 12 years ago

stevenhaddox commented 13 years ago

I use a custom Sinatra wrapper application (presentor) to render a bunch of static presentations from the same subdomain; however, I had issues getting local images within the presentation to find the proper subdomain / subfolder paths to render. I decided to upload my images to Flickr as an easy fix for this.

At first I thought the images not rendering might be related to a missing ImageMagick dependency, but even when I uninstall the RMagick gem and image sizing is disabled I still fail to receive externally hosted images within the presentation.

Here are the main errors (full stack traces below):

With RMagick:

Magick::ImageMagickError - no decode delegate for this image format `//farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg' @ error/constitute.c/ReadImage/532:

Without RMagick:

GET /image/02_home_page/http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg HTTP/1.1" 404 0

I'm hoping this is just a simple setup error on my part, but thought I'd file a bug in case it was something that others can replicate or may be experiencing. It looks like in both cases that neither image reference using an externally hosted image is being set properly.

Here are the stack traces for both errors with RMagick enabled and disabled:

rails_and_u_via_bdd (master) $ identify -list format
   Format  Module    Mode  Description
-------------------------------------------------------------------------------
      3FR  DNG       r--   Hasselblad CFV/H3D39II
        A* RAW       rw+   Raw alpha samples
       AI  PDF       rw-   Adobe Illustrator CS2
      ART* ART       rw-   PFS: 1st Publisher Clip Art
      ARW  DNG       r--   Sony Alpha Raw Image Format
      AVI  MPEG      r--   Microsoft Audio/Visual Interleaved
      AVS* AVS       rw+   AVS X image
        B* RAW       rw+   Raw blue samples
      BGR* BGR       rw+   Raw blue, green, and red samples
     BGRA* BGR       rw+   Raw blue, green, red, and alpha samples
      BMP* BMP       rw-   Microsoft Windows bitmap image
     BMP2* BMP       -w-   Microsoft Windows bitmap image (V2)
     BMP3* BMP       -w-   Microsoft Windows bitmap image (V3)
      BRF* BRAILLE   -w-   BRF ASCII Braille format
        C* RAW       rw+   Raw cyan samples
      CAL* CALS      rw-   Continuous Acquisition and Life-cycle Support Type 1
           Specified in MIL-R-28002 and MIL-PRF-28002
     CALS* CALS      rw-   Continuous Acquisition and Life-cycle Support Type 1
           Specified in MIL-R-28002 and MIL-PRF-28002
   CANVAS* XC        r--   Constant image uniform color
  CAPTION* CAPTION   r--   Image caption
      CIN* CIN       rw+   Cineon Image File
      CIP* CIP       -w-   Cisco IP phone image format
     CLIP* CLIP      -w+   Image Clip Mask
     CMYK* CMYK      rw+   Raw cyan, magenta, yellow, and black samples
    CMYKA* CMYK      rw+   Raw cyan, magenta, yellow, black, and alpha samples
      CR2  DNG       r--   Canon Digital Camera Raw Image Format
      CRW  DNG       r--   Canon Digital Camera Raw Image Format
      CUR* CUR       rw-   Microsoft icon
      CUT* CUT       r--   DR Halo
      DCM* DCM       r--   Digital Imaging and Communications in Medicine image
           DICOM is used by the medical community for images like X-rays.  The
           specification, "Digital Imaging and Communications in Medicine
           (DICOM)", is available at http://medical.nema.org/.  In particular,
           see part 5 which describes the image encoding (RLE, JPEG, JPEG-LS),
           and supplement 61 which adds JPEG-2000 encoding.
      DCR  DNG       r--   Kodak Digital Camera Raw Image File
      DCX* PCX       rw+   ZSoft IBM PC multi-page Paintbrush
      DDS* DDS       r--   Microsoft DirectDraw Surface
    DFONT* TTF       r--   Multi-face font package (Freetype 2.3.9)
      DNG  DNG       r--   Digital Negative
      DOT  DOT       ---   Graphviz
      DPX* DPX       rw-   SMPTE 268M-2003 (DPX 2.0)
           Digital Moving Picture Exchange Bitmap, Version 2.0.
           See SMPTE 268M-2003 specification at http://www.smtpe.org

     EPDF  PDF       rw-   Encapsulated Portable Document Format
      EPI  PS        rw-   Encapsulated PostScript Interchange format
      EPS  PS        rw-   Encapsulated PostScript
     EPS2* PS2       -w-   Level II Encapsulated PostScript
     EPS3* PS3       -w+   Level III Encapsulated PostScript
     EPSF  PS        rw-   Encapsulated PostScript
     EPSI  PS        rw-   Encapsulated PostScript Interchange format
      EPT  EPT       rw-   Encapsulated PostScript with TIFF preview
     EPT2  EPT       rw-   Encapsulated PostScript Level II with TIFF preview
     EPT3  EPT       rw+   Encapsulated PostScript Level III with TIFF preview
      ERF  DNG       r--   Epson RAW Format
      FAX* FAX       rw+   Group 3 FAX
           FAX machines use non-square pixels which are 1.5 times wider than
           they are tall but computer displays use square pixels, therefore
           FAX images may appear to be narrow unless they are explicitly
           resized using a geometry of "150x100%".

     FITS* FITS      rw-   Flexible Image Transport System
  FRACTAL* PLASMA    r--   Plasma fractal image
      FTS* FTS       rw-   Flexible Image Transport System
        G* RAW       rw+   Raw green samples
       G3* FAX       rw-   Group 3 FAX
      GIF* GIF       rw+   CompuServe graphics interchange format
    GIF87* GIF       rw-   CompuServe graphics interchange format (version 87a)
 GRADIENT* GRADIENT  r--   Gradual linear passing from one shade to another
     GRAY* GRAY      rw+   Raw gray samples
   GROUP4* TIFF      rw-   Raw CCITT Group4
     HALD*           r--   Identity Hald color lookup table image
HISTOGRAM* HISTOGRAM -w-   Histogram of the image
      HRZ* HRZ       rw-   Slow Scan TeleVision
      HTM* HTML      -w-   Hypertext Markup Language and a client-side image map
     HTML* HTML      -w-   Hypertext Markup Language and a client-side image map
      ICB* TGA       rw+   Truevision Targa image
      ICO* ICON      rw+   Microsoft icon
     ICON* ICON      rw-   Microsoft icon
     INFO  INFO      -w+   The image format and characteristics
   INLINE* INLINE    r--   Base64-encoded inline images
      IPL* IPL       rw+   IPL Image Sequence
   ISOBRL* BRAILLE   -w-   ISO/TR 11548-1 format
      J2C* JP2       rw-   JPEG-2000 Code Stream Syntax
      JNG* PNG       rw-   JPEG Network Graphics
           See http://www.libpng.org/pub/mng/ for details about the JNG
           format.
      JP2* JP2       rw-   JPEG-2000 File Format Syntax
      JPC* JP2       rw-   JPEG-2000 Code Stream Syntax
     JPEG* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)
      JPG* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)
      JPX* JP2       rw-   JPEG-2000 File Format Syntax
        K* RAW       rw+   Raw black samples
      K25  DNG       r--   Kodak Digital Camera Raw Image Format
      KDC  DNG       r--   Kodak Digital Camera Raw Image Format
    LABEL* LABEL     r--   Image label
        M* RAW       rw+   Raw magenta samples
      M2V  MPEG      rw+   MPEG Video Stream
      M4V  MPEG      rw+   Raw MPEG-4 Video
      MAC* MAC       r--   MAC Paint
      MAP* MAP       rw-   Colormap intensities and indices
      MAT  MAT       rw+   MATLAB level 5 image format
    MATTE* MATTE     -w+   MATTE format
     MIFF* MIFF      rw+   Magick Image File Format
      MNG* PNG       rw+   Multiple-image Network Graphics (libpng 1.2.41,1.2.44)
           See http://www.libpng.org/pub/mng/ for details about the MNG
           format.
     MONO* MONO      rw-   Raw bi-level bitmap
      MOV  MPEG      rw+   MPEG Video Stream
      MP4  MPEG      rw+   MPEG-4 Video Stream
      MPC* MPC       rw+   Magick Persistent Cache image format
     MPEG  MPEG      rw+   MPEG Video Stream
      MPG  MPEG      rw+   MPEG Video Stream
      MRW  DNG       r--   Sony (Minolta) Raw Image File
      MSL* MSL       rw+   Magick Scripting Language
     MSVG  SVG       rw+   ImageMagick's own SVG internal renderer
      MTV* MTV       rw+   MTV Raytracing image format
      MVG* MVG       rw-   Magick Vector Graphics
      NEF  DNG       r--   Nikon Digital SLR Camera Raw Image File
     NULL* NULL      rw-   Constant image of uniform color
        O* RAW       rw+   Raw opacity samples
      ORF  DNG       r--   Olympus Digital Camera Raw Image File
      OTB* OTB       rw-   On-the-air bitmap
      OTF* TTF       r--   Open Type font (Freetype 2.3.9)
      PAL* UYVY      rw-   16bit/pixel interleaved YUV
     PALM* PALM      rw+   Palm pixmap
      PAM* PNM       rw+   Common 2-dimensional bitmap format
  PATTERN* PATTERN   r--   Predefined pattern
      PBM* PNM       rw+   Portable bitmap format (black and white)
      PCD* PCD       rw-   Photo CD
     PCDS* PCD       rw-   Photo CD
      PCL  PCL       rw+   Printer Control Language
      PCT* PICT      rw-   Apple Macintosh QuickDraw/PICT
      PCX* PCX       rw-   ZSoft IBM PC Paintbrush
      PDB* PDB       rw+   Palm Database ImageViewer Format
      PDF  PDF       rw+   Portable Document Format
     PDFA  PDF       rw+   Portable Document Archive Format
      PEF  DNG       r--   Pentax Electronic File
      PES* PES       r--   Embrid Embroidery Format
      PFA* TTF       r--   Postscript Type 1 font (ASCII) (Freetype 2.3.9)
      PFB* TTF       r--   Postscript Type 1 font (binary) (Freetype 2.3.9)
      PFM* PFM       rw+   Portable float format
      PGM* PNM       rw+   Portable graymap format (gray scale)
      PGX* JP2       r--   JPEG-2000 VM Format
    PICON* XPM       rw-   Personal Icon
     PICT* PICT      rw-   Apple Macintosh QuickDraw/PICT
      PIX* PIX       r--   Alias/Wavefront RLE image format
    PJPEG* JPEG      rw-   Joint Photographic Experts Group JFIF format (80)
   PLASMA* PLASMA    r--   Plasma fractal image
      PNG* PNG       rw-   Portable Network Graphics (libpng 1.2.41,1.2.44)
           See http://www.libpng.org/ for details about the PNG format.
    PNG24* PNG       rw-   opaque 24-bit RGB (zlib 1.2.3)
    PNG32* PNG       rw-   opaque or transparent 32-bit RGBA
     PNG8* PNG       rw-   8-bit indexed with optional binary transparency
      PNM* PNM       rw+   Portable anymap
      PPM* PNM       rw+   Portable pixmap format (color)
  PREVIEW* PREVIEW   -w-   Show a preview an image enhancement, effect, or f/x
       PS  PS        rw+   PostScript
      PS2* PS2       -w+   Level II PostScript
      PS3* PS3       -w+   Level III PostScript
      PSB* PSD       rw+   Adobe Large Document Format
      PSD* PSD       rw+   Adobe Photoshop bitmap
     PTIF* TIFF      rw+   Pyramid encoded TIFF
      PWP* PWP       r--   Seattle Film Works
        R* RAW       rw+   Raw red samples
RADIAL-GRADIENT* GRADIENT  r--   Gradual radial passing from one shade to another
      RAF  DNG       r--   Fuji CCD-RAW Graphic File
      RAS* SUN       rw+   SUN Rasterfile
      RGB* RGB       rw+   Raw red, green, and blue samples
     RGBA* RGB       rw+   Raw red, green, blue, and alpha samples
     RGBO* RGB       rw+   Raw red, green, blue, and opacity samples
      RLA* RLA       r--   Alias/Wavefront image
      RLE* RLE       r--   Utah Run length encoded image
      SCR* SCR       r--   ZX-Spectrum SCREEN$
      SCT* SCT       r--   Scitex HandShake
      SFW* SFW       r--   Seattle Film Works
      SGI* SGI       rw+   Irix RGB image
    SHTML* HTML      -w-   Hypertext Markup Language and a client-side image map
      SR2  DNG       r--   Sony Raw Format 2
      SRF  DNG       r--   Sony Raw Format
  STEGANO* STEGANO   r--   Steganographic image
      SUN* SUN       rw+   SUN Rasterfile
      SVG  SVG       rw+   Scalable Vector Graphics (XML 2.7.3)
     SVGZ  SVG       rw+   Compressed Scalable Vector Graphics (XML 2.7.3)
     TEXT* TXT       rw+   Text
      TGA* TGA       rw+   Truevision Targa image
THUMBNAIL* THUMBNAIL -w+   EXIF Profile Thumbnail
     TIFF* TIFF      rw+   Tagged Image File Format (LIBTIFF, Version 3.9.4)
   TIFF64* TIFF      ---   Tagged Image File Format (64-bit) (LIBTIFF, Version 3.9.4)
     TILE* TILE      r--   Tile image with a texture
      TIM* TIM       r--   PSX TIM
      TTC* TTF       r--   TrueType font collection (Freetype 2.3.9)
      TTF* TTF       r--   TrueType font (Freetype 2.3.9)
      TXT* TXT       rw+   Text
     UBRL* BRAILLE   -w-   Unicode Text format
      UIL* UIL       -w-   X-Motif UIL table
     UYVY* UYVY      rw-   16bit/pixel interleaved YUV
      VDA* TGA       rw+   Truevision Targa image
    VICAR* VICAR     rw-   VICAR rasterfile format
      VID* VID       rw+   Visual Image Directory
     VIFF* VIFF      rw+   Khoros Visualization image
      VST* TGA       rw+   Truevision Targa image
     WBMP* WBMP      rw-   Wireless Bitmap (level 0) image
      WMV  MPEG      rw+   Windows Media Video
      WPG* WPG       r--   Word Perfect Graphics
        X* X         rw+   X Image
      X3F  DNG       r--   Sigma Camera RAW Picture File
      XBM* XBM       rw-   X Windows system bitmap (black and white)
       XC* XC        r--   Constant image uniform color
      XCF* XCF       r--   GIMP image
      XPM* XPM       rw-   X Windows system pixmap (color)
      XPS  XPS       r--   Microsoft XML Paper Specification
       XV* VIFF      rw+   Khoros Visualization image
      XWD* XWD       rw-   X Windows system window dump (color)
        Y* RAW       rw+   Raw yellow samples
    YCbCr* YCbCr     rw+   Raw Y, Cb, and Cr samples
   YCbCrA* YCbCr     rw+   Raw Y, Cb, Cr, and alpha samples
      YUV* YUV       rw-   CCIR 601 4:1:1 or 4:2:2

* native blob support
r read support
w write support
+ support for multiple images
rails_and_u_via_bdd (master) $ gem uninstall rmagick
Successfully uninstalled rmagick-2.13.1
rails_and_u_via_bdd (master) $ gem install rmagick
Fetching: rmagick-2.13.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed rmagick-2.13.1
1 gem installed
rails_and_u_via_bdd (master) $ showoff serve
== Sinatra/1.2.6 has taken the stage on 9090 for development with backup from WEBrick
[2011-05-18 23:24:42] INFO  WEBrick 1.3.1
[2011-05-18 23:24:42] INFO  ruby 1.8.7 (2011-02-18) [x86_64-darwin10.6.0]
[2011-05-18 23:24:42] INFO  WEBrick::HTTPServer#start: pid=99337 port=9090
/Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2
/Users/steven/Sites/presentations/rails_and_u_via_bdd
127.0.0.1 - - [18/May/2011 23:24:52] "GET / HTTP/1.1" 200 2794 0.0272
practivate.adobe.com - - [18/May/2011:23:24:52 EDT] "GET / HTTP/1.1" 200 2794
- -> /
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/jquery-1.4.2.min.js HTTP/1.1" 200 72173 0.0008
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/jquery-print.js HTTP/1.1" 200 3344 0.0007
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/jquery.doubletap-0.1.js HTTP/1.1" 200 3037 0.0007
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/showoff.js HTTP/1.1" 200 12254 0.0017
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/jquery-print.js HTTP/1.1" 200 3344
Referer -> /js/jquery-print.js
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/sh_main.min.js HTTP/1.1" 200 5305 0.0008
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/jquery.doubletap-0.1.js HTTP/1.1" 200 3037
Referer -> /js/jquery.doubletap-0.1.js
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/showoffcore.js HTTP/1.1" 200 334 0.0008
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/jquery-1.4.2.min.js HTTP/1.1" 200 72173
Referer -> /js/jquery-1.4.2.min.js
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/sh_main.min.js HTTP/1.1" 200 5305
Referer -> /js/sh_main.min.js
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/showoff.js HTTP/1.1" 200 12254
Referer -> /js/showoff.js
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/showoffcore.js HTTP/1.1" 200 334
Referer -> /js/showoffcore.js
127.0.0.1 - - [18/May/2011 23:24:53] "GET /css/fg.menu.css HTTP/1.1" 200 4220 0.0007
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /css/fg.menu.css HTTP/1.1" 200 4220
Referer -> /css/fg.menu.css
127.0.0.1 - - [18/May/2011 23:24:53] "GET /css/reset.css HTTP/1.1" 200 1015 0.0007
127.0.0.1 - - [18/May/2011 23:24:53] "GET /css/sh_style.css HTTP/1.1" 200 3279 0.0007
127.0.0.1 - - [18/May/2011 23:24:53] "GET /file/rvm.css HTTP/1.1" 304 - 0.0007
127.0.0.1 - - [18/May/2011 23:24:53] "GET /css/theme/ui.all.css HTTP/1.1" 200 47 0.0006
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/jquery.cycle.all.js HTTP/1.1" 200 44129 0.0099
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /file/rvm.css HTTP/1.1" 304 0
Referer -> /file/rvm.css
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /css/reset.css HTTP/1.1" 200 1015
Referer -> /css/reset.css
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /css/sh_style.css HTTP/1.1" 200 3279
Referer -> /css/sh_style.css
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /css/theme/ui.all.css HTTP/1.1" 200 47
Referer -> /css/theme/ui.all.css
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/jquery.cycle.all.js HTTP/1.1" 200 44129
Referer -> /js/jquery.cycle.all.js
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/jquery.batchImageLoad.js HTTP/1.1" 200 1711 0.0008
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/jquery.batchImageLoad.js HTTP/1.1" 200 1711
Referer -> /js/jquery.batchImageLoad.js
127.0.0.1 - - [18/May/2011 23:24:53] "GET /js/fg.menu.js HTTP/1.1" 200 23668 0.0008
practivate.adobe.com - - [18/May/2011:23:24:53 EDT] "GET /js/fg.menu.js HTTP/1.1" 200 23668
Referer -> /js/fg.menu.js
127.0.0.1 - - [18/May/2011 23:24:54] "GET /css/showoff.css HTTP/1.1" 200 9035 0.0008
127.0.0.1 - - [18/May/2011 23:24:54] "GET /js/jTypeWriter.js HTTP/1.1" 200 3088 0.0007
127.0.0.1 - - [18/May/2011 23:24:54] "GET /js/core.js HTTP/1.1" 200 2195 0.0006
practivate.adobe.com - - [18/May/2011:23:24:54 EDT] "GET /js/jTypeWriter.js HTTP/1.1" 200 3088
Referer -> /js/jTypeWriter.js
practivate.adobe.com - - [18/May/2011:23:24:54 EDT] "GET /js/core.js HTTP/1.1" 200 2195
Referer -> /js/core.js
practivate.adobe.com - - [18/May/2011:23:24:54 EDT] "GET /css/showoff.css HTTP/1.1" 200 9035
Referer -> /css/showoff.css
127.0.0.1 - - [18/May/2011 23:24:54] "GET /css/theme/ui.base.css HTTP/1.1" 200 252 0.0009
127.0.0.1 - - [18/May/2011 23:24:54] "GET /css/theme/ui.theme.css HTTP/1.1" 200 17041 0.0008
practivate.adobe.com - - [18/May/2011:23:24:54 EDT] "GET /css/theme/ui.base.css HTTP/1.1" 200 252
Referer -> /css/theme/ui.base.css
practivate.adobe.com - - [18/May/2011:23:24:54 EDT] "GET /css/theme/ui.theme.css HTTP/1.1" 200 17041
Referer -> /css/theme/ui.theme.css
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.progressbar.css HTTP/1.1" 200 169 0.0008
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.slider.css HTTP/1.1" 200 929 0.0007
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.core.css HTTP/1.1" 200 1352 0.0007
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.resizable.css HTTP/1.1" 200 993 0.0010
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.accordion.css HTTP/1.1" 200 711 0.0078
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.dialog.css HTTP/1.1" 200 1154 0.0007
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.progressbar.css HTTP/1.1" 200 169
Referer -> /css/theme/ui.progressbar.css
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.slider.css HTTP/1.1" 200 929
Referer -> /css/theme/ui.slider.css
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.core.css HTTP/1.1" 200 1352
Referer -> /css/theme/ui.core.css
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.resizable.css HTTP/1.1" 200 993
Referer -> /css/theme/ui.resizable.css
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.accordion.css HTTP/1.1" 200 711
Referer -> /css/theme/ui.accordion.css
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.dialog.css HTTP/1.1" 200 1154
Referer -> /css/theme/ui.dialog.css
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.datepicker.css HTTP/1.1" 200 3936 0.0007
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/ui.tabs.css HTTP/1.1" 200 590 0.0031
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.datepicker.css HTTP/1.1" 200 3936
Referer -> /css/theme/ui.datepicker.css
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/ui.tabs.css HTTP/1.1" 200 590
Referer -> /css/theme/ui.tabs.css
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png HTTP/1.1" 200 121 0.0007
127.0.0.1 - - [18/May/2011 23:24:55] "GET /css/theme/images/ui-icons_eeeeee_256x240.png HTTP/1.1" 200 4379 0.0008
{"name"=>"Rails & 'u' via Behavior Driven Development",
 "sections"=>[{"section"=>"01_intro"}, {"section"=>"02_home_page"}]}
["/Users/steven/Sites/presentations/rails_and_u_via_bdd/01_intro/01_overview.md"]
["/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/01_setup.md",
 "/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/02_feature.md",
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png HTTP/1.1" 200 121
Referer -> /css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png
 "/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/cuke-fail-1.png",
 "/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/homepage_fail.png"]
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /css/theme/images/ui-icons_eeeeee_256x240.png HTTP/1.1" 200 4379
Referer -> /css/theme/images/ui-icons_eeeeee_256x240.png
classes: ["content"]
transition: none
classes: ["content", "smbullets", "incremental"]
transition: zoom
classes: ["content", "smbullets", "incremental"]
transition: uncover
classes: ["content", "smbullets", "incremental"]
transition: zoom
classes: ["content", "code", "incremental"]
transition: uncover
classes: ["content", "code", "incremental"]
transition: uncover
classes: ["content", "code"]
transition: zoom
classes: ["content", "code"]
transition: uncover
classes: ["content", "center"]
transition: uncover
Magick::ImageMagickError - no decode delegate for this image format `//farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg' @ error/constitute.c/ReadImage/532:
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:148:in `ping'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:148:in `get_image_size'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:136:in `update_image_paths'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:134:in `gsub'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:134:in `update_image_paths'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:112:in `process_markdown'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:84:in `each'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:84:in `process_markdown'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:206:in `get_slides_html'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:204:in `each'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:204:in `get_slides_html'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:291:in `slides'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:380:in `send'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/../lib/showoff.rb:380:in `GET (?-mix:\/(.*))'
source "http://rubygems.org"
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `compile!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:708:in `route!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:758:in `process_route'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `route!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/rack-1.2.2/lib/rack/head.rb:9:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/showexceptions.rb:21:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in `synchronize'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/rack-1.2.2/lib/rack/content_length.rb:13:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/rack-1.2.2/lib/rack/handler/webrick.rb:52:in `service'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:162:in `start'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:95:in `start'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:92:in `each'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:92:in `start'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:23:in `start'
 /Users/steven/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/webrick/server.rb:82:in `start'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/rack-1.2.2/lib/rack/handler/webrick.rb:13:in `run'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/sinatra-1.2.6/lib/sinatra/base.rb:1234:in `run!'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/showoff:71
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/gli-1.3.0/lib/gli/command.rb:121:in `call'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/gli-1.3.0/lib/gli/command.rb:121:in `execute'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/gli-1.3.0/lib/gli.rb:234:in `run'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2/bin/showoff:136
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/bin/showoff:19:in `load'
 /Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/bin/showoff:19
practivate.adobe.com - - [18/May/2011:23:24:55 EDT] "GET /slides HTTP/1.1" 500 162395
Referer -> /slides
^C
== Sinatra has ended his set (crowd applauds)
[2011-05-18 23:25:19] INFO  going to shutdown ...
gem[2011-05-18 23:25:19] INFO  WEBrick::HTTPServer#start done.
 rails_and_u_via_bdd (master) $ gem uninstall rmagick
Successfully uninstalled rmagick-2.13.1
rails_and_u_via_bdd (master) $ vi Gemfile
rails_and_u_via_bdd (master) $ showoff serve
image sizing disabled - install rmagick
== Sinatra/1.2.6 has taken the stage on 9090 for development with backup from WEBrick
[2011-05-18 23:25:32] INFO  WEBrick 1.3.1
[2011-05-18 23:25:32] INFO  ruby 1.8.7 (2011-02-18) [x86_64-darwin10.6.0]
[2011-05-18 23:25:32] INFO  WEBrick::HTTPServer#start: pid=99386 port=9090
/Users/steven/.rvm/gems/ruby-1.8.7-p334@showoff/gems/showoff-0.4.2
/Users/steven/Sites/presentations/rails_and_u_via_bdd
127.0.0.1 - - [18/May/2011 23:25:35] "GET / HTTP/1.1" 200 2794 0.0115
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET / HTTP/1.1" 200 2794
- -> /
127.0.0.1 - - [18/May/2011 23:25:35] "GET /css/reset.css HTTP/1.1" 304 - 0.0010
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /css/reset.css HTTP/1.1" 304 0
Referer -> /css/reset.css
127.0.0.1 - - [18/May/2011 23:25:35] "GET /css/showoff.css HTTP/1.1" 304 - 0.0039
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /css/showoff.css HTTP/1.1" 304 0
Referer -> /css/showoff.css
127.0.0.1 - - [18/May/2011 23:25:35] "GET /js/jquery-1.4.2.min.js HTTP/1.1" 304 - 0.0007
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/jquery-1.4.2.min.js HTTP/1.1" 304 0
Referer -> /js/jquery-1.4.2.min.js
127.0.0.1 - - [18/May/2011 23:25:35] "GET /js/jquery.cycle.all.js HTTP/1.1" 304 - 0.0018
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/jquery.cycle.all.js HTTP/1.1" 304 0
Referer -> /js/jquery.cycle.all.js
127.0.0.1 - - [18/May/2011 23:25:35] "GET /js/jquery-print.js HTTP/1.1" 304 - 0.0011
127.0.0.1 - - [18/May/2011 23:25:35] "GET /js/fg.menu.js HTTP/1.1" 304 - 0.0007
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/jquery-print.js HTTP/1.1" 304 0
Referer -> /js/jquery-print.js
127.0.0.1 - - [18/May/2011 23:25:35] "GET /js/jquery.batchImageLoad.js HTTP/1.1" 304 - 0.0056
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/fg.menu.js HTTP/1.1" 304 0
Referer -> /js/fg.menu.js
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/jquery.batchImageLoad.js HTTP/1.1" 304 0
Referer -> /js/jquery.batchImageLoad.js
127.0.0.1 - - [18/May/2011 23:25:35] "GET /js/jquery.doubletap-0.1.js HTTP/1.1" 304 - 0.0007
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/jquery.doubletap-0.1.js HTTP/1.1" 304 0
Referer -> /js/jquery.doubletap-0.1.js
127.0.0.1 - - [18/May/2011 23:25:36] "GET /js/showoff.js HTTP/1.1" 304 - 0.0007
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/showoff.js HTTP/1.1" 304 0
Referer -> /js/showoff.js
127.0.0.1 - - [18/May/2011 23:25:36] "GET /js/jTypeWriter.js HTTP/1.1" 304 - 0.0007
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/jTypeWriter.js HTTP/1.1" 304 0
Referer -> /js/jTypeWriter.js
127.0.0.1 - - [18/May/2011 23:25:36] "GET /js/sh_main.min.js HTTP/1.1" 304 - 0.0084
127.0.0.1 - - [18/May/2011 23:25:36] "GET /js/core.js HTTP/1.1" 304 - 0.0008
127.0.0.1 - - [18/May/2011 23:25:36] "GET /js/showoffcore.js HTTP/1.1" 304 - 0.0006
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/sh_main.min.js HTTP/1.1" 304 0
Referer -> /js/sh_main.min.js
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/core.js HTTP/1.1" 304 0
Referer -> /js/core.js
practivate.adobe.com - - [18/May/2011:23:25:35 EDT] "GET /js/showoffcore.js HTTP/1.1" 304 0
Referer -> /js/showoffcore.js
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/fg.menu.css HTTP/1.1" 304 - 0.0016
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/fg.menu.css HTTP/1.1" 304 0
Referer -> /css/fg.menu.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.all.css HTTP/1.1" 304 - 0.0009
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.all.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.all.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/sh_style.css HTTP/1.1" 304 - 0.0007
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/sh_style.css HTTP/1.1" 304 0
Referer -> /css/sh_style.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /file/rvm.css HTTP/1.1" 304 - 0.0008
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /file/rvm.css HTTP/1.1" 304 0
Referer -> /file/rvm.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.base.css HTTP/1.1" 304 - 0.0007
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.theme.css HTTP/1.1" 304 - 0.0005
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.base.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.base.css
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.theme.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.theme.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.progressbar.css HTTP/1.1" 304 - 0.0007
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.accordion.css HTTP/1.1" 304 - 0.0009
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.resizable.css HTTP/1.1" 304 - 0.0005
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.dialog.css HTTP/1.1" 304 - 0.0005
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.datepicker.css HTTP/1.1" 304 - 0.0005
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.core.css HTTP/1.1" 304 - 0.0005
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.progressbar.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.progressbar.css
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.accordion.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.accordion.css
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.resizable.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.resizable.css
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.dialog.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.dialog.css
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.datepicker.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.datepicker.css
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.core.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.core.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.slider.css HTTP/1.1" 304 - 0.0006
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.slider.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.slider.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/ui.tabs.css HTTP/1.1" 304 - 0.0006
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/ui.tabs.css HTTP/1.1" 304 0
Referer -> /css/theme/ui.tabs.css
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/images/ui-icons_eeeeee_256x240.png HTTP/1.1" 304 - 0.0014
127.0.0.1 - - [18/May/2011 23:25:36] "GET /css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png HTTP/1.1" 304 - 0.0014
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/images/ui-icons_eeeeee_256x240.png HTTP/1.1" 304 0
Referer -> /css/theme/images/ui-icons_eeeeee_256x240.png
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png HTTP/1.1" 304 0
Referer -> /css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png
{"name"=>"Rails & 'u' via Behavior Driven Development",
 "sections"=>[{"section"=>"01_intro"}, {"section"=>"02_home_page"}]}
["/Users/steven/Sites/presentations/rails_and_u_via_bdd/01_intro/01_overview.md"]
["/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/01_setup.md",
 "/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/02_feature.md",
 "/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/cuke-fail-1.png",
 "/Users/steven/Sites/presentations/rails_and_u_via_bdd/02_home_page/homepage_fail.png"]
classes: ["content"]
transition: none
classes: ["content", "smbullets", "incremental"]
transition: zoom
classes: ["content", "smbullets", "incremental"]
transition: uncover
classes: ["content", "smbullets", "incremental"]
transition: zoom
classes: ["content", "code", "incremental"]
transition: uncover
classes: ["content", "code", "incremental"]
transition: uncover
classes: ["content", "code"]
transition: zoom
classes: ["content", "code"]
transition: uncover
classes: ["content", "center"]
transition: uncover
classes: ["content", "small"]
transition: uncover
127.0.0.1 - - [18/May/2011 23:25:36] "GET /slides HTTP/1.1" 200 6869 0.1383
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /slides HTTP/1.1" 200 6869
Referer -> /slides
127.0.0.1 - - [18/May/2011 23:25:36] "GET /image/02_home_page/http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg HTTP/1.1" 404 - 0.0015
127.0.0.1 - - [18/May/2011 23:25:36] "GET /image/02_home_page/http://farm6.static.flickr.com/5029/5735112305_0d716b2fd3_z.jpg HTTP/1.1" 404 - 0.0007
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /image/02_home_page/http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg HTTP/1.1" 404 0
Referer -> /image/02_home_page/http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg
127.0.0.1 - - [18/May/2011 23:25:36] "GET /js/sh_lang/sh_sh.min.js HTTP/1.1" 200 1237 0.0008
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /image/02_home_page/http://farm6.static.flickr.com/5029/5735112305_0d716b2fd3_z.jpg HTTP/1.1" 404 0
Referer -> /image/02_home_page/http://farm6.static.flickr.com/5029/5735112305_0d716b2fd3_z.jpg
127.0.0.1 - - [18/May/2011 23:25:36] "GET /js/sh_lang/sh_ruby.min.js HTTP/1.1" 200 1207 0.0009
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /js/sh_lang/sh_sh.min.js HTTP/1.1" 200 1237
Referer -> /js/sh_lang/sh_sh.min.js
practivate.adobe.com - - [18/May/2011:23:25:36 EDT] "GET /js/sh_lang/sh_ruby.min.js HTTP/1.1" 200 1207
Referer -> /js/sh_lang/sh_ruby.min.js
127.0.0.1 - - [18/May/2011 23:26:06] "GET /image/02_home_page/http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg HTTP/1.1" 404 - 0.0008
127.0.0.1 - - [18/May/2011 23:26:06] "GET /image/02_home_page/http://farm6.static.flickr.com/5029/5735112305_0d716b2fd3_z.jpg HTTP/1.1" 404 - 0.0008
practivate.adobe.com - - [18/May/2011:23:26:06 EDT] "GET /image/02_home_page/http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg HTTP/1.1" 404 0
- -> /image/02_home_page/http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg
practivate.adobe.com - - [18/May/2011:23:26:06 EDT] "GET /image/02_home_page/http://farm6.static.flickr.com/5029/5735112305_0d716b2fd3_z.jpg HTTP/1.1" 404 0
- -> /image/02_home_page/http://farm6.static.flickr.com/5029/5735112305_0d716b2fd3_z.jpg
^C
== Sinatra has ended his set (crowd applauds)
[2011-05-18 23:26:25] INFO  going to shutdown ...
[2011-05-18 23:26:25] INFO  WEBrick::HTTPServer#start done.
rails_and_u_via_bdd (master) $ 
badboy commented 13 years ago

I did not test it (yet) but by your description it looks like a bug. I will look into it.

stevenhaddox commented 13 years ago

I think I found a potential (but not tested yet) fix for this. Changing line 140 of lib/showoff.rb from this:

slide.gsub(/img src=\"(.*?)\"/) do |s|

To this:

slide.gsub(/img src=\"(?!https?:\/\/)(.*?)\"/) do |s|

Seems like it may fix the issue by not doing any path replacements or tweaks to images that have "http://" or "https://" at the beginning of their img src attribute. I haven't figured out how to compile the gem / binary locally yet to verify that it works properly (I did a quick hack by making showoff shell script require ../lib/showoff where I changed the line, but it seems to have some bugs (both with and without my line modification) when loading it that way so I'll need to figure out the right way to create the script locally first before I can properly verify the impact of the changes.

Here's a sample slide that I added to test an external image resource:

!SLIDE center transiton=scrollUp
.notes external image

![cuke](http://farm6.static.flickr.com/5069/5735660296_6708c37b57_b.jpg)

I added it right at the bottom of SlideA.md after the octocat slide.