X_send_file download 1byte file instade of original size

i m using x_send_file pluggins and download file then only 1byte file is
downloaded.

in Controller
x_send_file("#{RAILS_ROOT}/public#{params[:file]}")

if you have idea for this problem so give me a solution