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.

On 16 Jul 2008, at 09:16, torso wrote:

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

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

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

On Jul 17, 10:49 am, Frederick C. [email protected]

On 17 Jul 2008, at 13:17, torso wrote:

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.

On 17 Jul 2008, at 08:03, torso wrote:

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.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs