Skip to content

Instantly share code, notes, and snippets.

@tvladeck
Created August 1, 2013 20:05
Show Gist options
  • Save tvladeck/6134741 to your computer and use it in GitHub Desktop.
Save tvladeck/6134741 to your computer and use it in GitHub Desktop.
Showing /Users/thomasvladeck/Git/bh_pro/app/views/proposals/_cover_sheet.xlsx.axlsx where line #6 raised:
No such file or directory - /uploads/account/logo/1/me_climbing_mountains.jpg
Extracted source (around line #6):
3
4
5
6
7
8
9
File.open(tmp_file, "wb") do |f|
f.write open(@account.logo.url).read
end
wb.add_worksheet(name: "Cover Sheet", show_gridlines: false, fit_to_page: true) do |sheet|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment