Extra: Ruby in Twenty Minutes
Thank you for your submissions of HTML/CSS assignment. They will be marked and you should get feedback in about 5 days. For today, there is no new assignment set.
This week we start with real programming! Unlike XHTML and CSS, Ruby is a real programming language and today's workshop will prove it!
You are welcome to visit the Ruby Language Home Site and go through Ruby in Twenty Minutes, the official Ruby tutorial for beginners! I think it will take you more than twenty minutes, but just in case you are faster than I thought - I have some other material for today.
Here is some information on how to start:
- Use Mozilla Firefox or Google Chrome with this tutorial - Internet Explorer is not fully compatible.
- For Ruby, if you're using one of our lab computers, look in the Start Menu, Development, Ruby Console Window (or simply, look for a ruby icon, just like the picture on the right). If you are using your own installation, it's "Use BitNami RubyStack".
- To start IRB Interactive Ruby - simply type irb in your Ruby console.
- For editing Ruby code as a rb file - just create a file with the rb extension and double click it. Our special editor, SciTE, will automatically load.
- To run your ruby program (without irb), type ruby your-program.rb in the Ruby Console.
Copyright (C) 2009-2011 by Jaroslaw Francik


