New Site rake task path

This commit is contained in:
saurabhbhatia 2013-10-29 11:25:58 +08:00
parent 6bc00ce3a3
commit 976c047a7f
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace :new_site do
def upload_package
temp_file = Tempfile.new("temp_file")
path = File.expand_path('~')
puts original_file = File.open("#{path}/orbit_download/Orbit-Default.zip")
puts original_file = File.open("#{path}/orbit_theme/Orbit-Default.zip")
#if original_file.content_type == 'application/zip'
temp_file.write(original_file.read.force_encoding('UTF-8'))
temp_file.rewind