On Tue, Jul 14, 2009 at 1:49 AM, Hans Hartmann <
[email protected]> wrote:

>
> Hi there,
>
> i'm wondering if it's possible to execute a external Ruby-Script via
> Rails.
>
> It is my aim to scan my hard-disc with this script, returning values (my
> directory-structure) to rails.
>
> Can anyone give me a hint?


Yes, it's possible to execute a Ruby script from Rails.  Please remember
that Rails is implemented in Ruby and you can use an method called 'system'.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to