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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Jul-16 08:24 UTC
Re: Define INLINEDIR or HOME in your environment error
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> I priciate for your help. > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Jul-17 07:49 UTC
Re: Define INLINEDIR or HOME in your environment error
On 17 Jul 2008, at 08:03, torso wrote:> > 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. >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 On Jul 17, 10:49 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 17 Jul 2008, at 08:03, torso wrote: > > > > > > > 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. > > You chmod 777 it, and it''s telling you not to. Don''t make it world or > group writeable. > > smime.p7s > 5KDownload--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Jul-17 12:18 UTC
Re: Define INLINEDIR or HOME in your environment error
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_inlineSounds like it''s owned by the wrong person.> > > On Jul 17, 10:49 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: >> On 17 Jul 2008, at 08:03, torso wrote: >> >> >> >> >> >>> 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. >> >> You chmod 777 it, and it''s telling you not to. Don''t make it world or >> group writeable. >> >> smime.p7s >> 5KDownload > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---