Rafael
2008-Dec-01 23:01 UTC
call_rake results in sh: /opt/local/bin/rake: No such file or directory
Hi On my Linux Production Box, a Background Process results in following error: (rdb:5) call_rake(:send_mailing, {:mailing_id => params [:id].to_i, :rails_env => Rails.env}) sh: /opt/local/bin/rake: No such file or directory The strange thing is, that actually the path is set correctly. -bash-3.1# sh sh-3.1# which rake /usr/bin/rake sh-3.1# bash bash-3.1# which rake /usr/bin/rake Does anybody has a clue, why / where I have to set this path, so that / usr/bin/rake is taken as a valid path? Thank you very much! regards Rafael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rafael
2008-Dec-01 23:04 UTC
Re: call_rake results in sh: /opt/local/bin/rake: No such file or directory
Ohhh... I am so sorry... just found out myself! It was set manually by me in application.rb ;-) one should remember, what has been coded :-D thanks anyway Rafael On 2 Dez., 00:01, Rafael <beyoume...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > > On my Linux Production Box, a Background Process results in following > error: > > (rdb:5) call_rake(:send_mailing, {:mailing_id => params > [:id].to_i, :rails_env => Rails.env}) > sh: /opt/local/bin/rake: No such file or directory > > The strange thing is, that actually the path is set correctly. > > -bash-3.1# sh > sh-3.1# which rake > /usr/bin/rake > sh-3.1# bash > bash-3.1# which rake > /usr/bin/rake > > Does anybody has a clue, why / where I have to set this path, so that / > usr/bin/rake is taken as a valid path? > Thank you very much! > > regards > > Rafael--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---