New Site rake task path

This commit is contained in:
saurabhbhatia committed 2013-10-29 11:27:08 +08:00
1 parent 6bc00ce3a3
commit 976c047a7f
1 file changed
+1 -1
+1 -1
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