Change ruby/page.snippet to include full path name:

    page.driver.render "/tmp/page.png", :full => true