Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to follow along with this tutorial and the puts command returns command not found and I am not sure why. I've followed this article and looked in the various folders and do not see a puts command.

I've checked echo $PATH and everything seems to be in order and returns:


My .bash_profile looks like this:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

What am I missing here?

share|improve this question

1 Answer 1

This is not a command available to your shell. It's a command that's native to Ruby so you can only use it from within a Ruby script.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.