Ruby 1.9 fix
Make the previous fixes work under Ruby 1.9 as well.
This commit is contained in:
parent
09e885d299
commit
b9db67073d
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ EOL
|
|||
end
|
||||
dir = Rails.root.join('public')
|
||||
Dir["#{dir}/**/*"].each do |f|
|
||||
zip_out.add "public#{f.sub(dir,'')}", f
|
||||
zip_out.add "public#{f.sub(dir.to_s,'')}", f
|
||||
end
|
||||
end
|
||||
files = @web.files_path
|
||||
|
|
Loading…
Reference in a new issue