jeudi 14 mai 2015

ruby on rails Errno::EACCES Permission denied @ rb_sysopen - product.log

def show
  name = @product.ProductName
  File.open('product.log', 'a+') do |f2|  
  f2.write Time.new
  f2.write "==>"
end

it works fine on my local machine (mac) and this error comes when I deploy on ubuntu server

Aucun commentaire:

Enregistrer un commentaire