HEy, How would you go around putting a link on the rails page to execute a ruby script that isn''t in the rails app folder on my development box? Any suggestions? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Use ActiveMessaging? On Nov 2, 2007, at 9:57 AM, Michal Sza wrote:> > HEy, > How would you go around putting a link on the rails page to execute a > ruby script that isn''t in the rails app folder on my development box? > Any suggestions? > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
well why you want to do that......there is always a rails script equivalent to ruby..use tht..though i m not 100% sure -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Dhaval Parikh wrote:> well why you want to do that......there is always a rails script > equivalent to ruby..use tht..though i m not 100% sureI have a custom script that does some things on the server and I just want to be able to kick it off from rails website. Here is an example: Imagine three components database, rails app and ruby script. Both rails and ruby script have connection to the same database and interact with it. Now user can only have access to the web app, but can kick off that script. If it was a simple script I could have include it with rails app, but it more like entire framework and I think it could too messy -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 2 Nov 2007, at 16:19, Michal Sza wrote:> > Dhaval Parikh wrote: >> well why you want to do that......there is always a rails script >> equivalent to ruby..use tht..though i m not 100% sure > > I have a custom script that does some things on the server and I just > want to be able to kick it off from rails website. > > Here is an example: > Imagine three components database, rails app and ruby script. Both > rails > and ruby script have connection to the same database and interact with > it. Now user can only have access to the web app, but can kick off > that > script. If it was a simple script I could have include it with rails > app, but it more like entire framework and I think it could too messyWell at a basic level you can just fork/exec the other script. Fred. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---