Define INLINEDIR or HOME in your environment error

Hi

I have a proplem. I am using attachment fu plugin and image science for uploading images on my server. I am getting error : Define INLINEDIR or HOME in your environment and try again. How I can define my HOME in envoirment.rb. If I understood it's directory where uploads goes.

I priciate for your help.

Hi

I have a proplem. I am using attachment fu plugin and image science for uploading images on my server. I am getting error : Define INLINEDIR or HOME in your environment and try again. How I can define my HOME in envoirment.rb. If I understood it's directory where uploads goes.

if it's INLINEDIR then it's probably that one of those plugins uses
ruby inline. The message just means define an environment variable. In
windows that's hidden away in the system control panel or you should
be able to stick ENV['INLINEDIR'] = ... in environment.rb

Fred

Hi

I did this for the envoirment.rb

ENV['INLINEDIR'] = File.join(File.dirname(__FILE__),'../public/ uploads/')

And I did this for the directory

chmodd 777 uploads

And now I get new Error

/home/rails/dragAndDrop/public/uploads/ is insecure (40777). It may not be group or world writable. Exiting.

Any ideas

You chmod 777 it, and it's telling you not to. Don't make it world or group writeable.

okey. I changed it to 755, but still getting error

Permission denied - /home/rails/dragAndDrop/public/ uploads/.ruby_inline

okey. I changed it to 755, but still getting error

Permission denied - /home/rails/dragAndDrop/public/ uploads/.ruby_inline

Sounds like it's owned by the wrong person.