Using ruby popen wrapped in a shell script?

Looks like you forgot to pass your arguments to the ruby command. You may also be failing to specify an interpreter script. Sh!

/bin/sh ruby script. Rb "$ Alternatively you could just add! /usr/bin/ruby to the top of script.

Rb and make it executable ( chmod +x script. Rb ). It's not a shell script.

But it's generally the preferred way of executing a script in an interpretive language Once that's done you can run it with script.rb.

Looks like you forgot to pass your arguments to the ruby command. You may also be failing to specify an interpreter script. Sh #!

/bin/sh ruby script. Rb "$@" Alternatively you could just add #! /usr/bin/ruby to the top of script.

Rb and make it executable (chmod +x script. Rb). It's not a shell script.

But it's generally the preferred way of executing a script in an interpretive language. Once that's done you can run it with . /script.rb.

Should be /usr/bin/ruby (without "e" in user) – gustavgans Oct 14 '09 at 8:23 Thanks for pointing that out. Sometimes the fingers are quicker than the brain. – EmFi Oct 14 '09 at 8:25 alternatively, /usr/bin/env ruby – perimosocordiae Oct 14 '09 at 9:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions