On Tue, Jul 14, 2009 at 3:04 AM, Hans Hartmann < [email protected]> wrote:
> > Hi there, > > now i tried to execute via System-Command but i just can catch the value > true/false. > Are you doing something like this? exit_status = system( <some_command>) > > Is it possible to declare a global variable in my ruby script - execute > the script - and then catch it with rails? Yes, it's possible to declare a global variable within your script. I would recommend getting yourself a copy of "Programming Ruby" as a desk-side reference. Good luck, -Conrad --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

