You can probably run the script on your
Try creating an example script like this:
echo "puts 'hello'" > example.rb
That should print:
You can run any Ruby code that way.
You can also make the script executable.
Edit example.rb so it reads like this:
Then on the command line, make the script
chmod +x example.rb
Then run it:
If you are building something more like a Rails
app, and you want to run it on a remote webserver
that runs Apache:
On the remote webserver, you must install
Ruby. I personally like
Install a web application server. I
personally like Passenger for Apache.
Configure Apache. The Passenger gem will
tell you how to do this.