Thank you for replies.
> Have you looked at what #{ARGV} evaluates to?
> would ARGV.join(" ") help?
Yes, this works well with a call like:
system (or sh) ("'rails' #{ARGV.join(' ')}")
but not with:
`"'rails' #{ARGV.join(' ')}"`
sh: 'rails' prova -d mysql: not found
I tried different forms, including with join. My real mistake was that I
was using the notation ``
What's the difference?
--
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 [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
-~----------~----~----~----~------~----~------~--~---