I am learning Rails 3 @ Ruby on Rails Tutorial by Michael Hartl. A very nice and detail tutorial with many examples for beginners. Highly recommended.
But i got some problems when i tried to setup the Autotest for the RSpec framework. Autotest is a continuous testing tool which run the test suite automatically based on the files you have changed. RSpec is a Behavior Driven Development (BDD) framework for Ruby. After a few hours of struggling, i finally made it work.
1. Create a new Rails project without the default Test::Unit framework.
Continue reading Rails – Integrate Autotest and RSpec in Linux
Last time we complete the Ruby 1.9.2 installation on Ubuntu Lucid.
Ruby – Installation on Ubuntu Lucid
Similar to the above post, run the following commands in your own account but not root account. Let’s proceed to the Rails 3.0 installation now.
1. Install Rails 3.0
- gem install i18n tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler
- gem install rails
Continue reading Rails – Installation on Ubuntu Lucid
I always wants to try Ruby but i didn’t determine to make it. Now i decide to create an Ruby on Rails web application as a learning goal.
So the first thing is to setup the development environment. As stated in the Rails documentation, there maybe some problems when running on Windows. so i created a virtual machine which is a Ubuntu Lucid and get everything ready there. Moreover, Rails 3.0 requires Ruby 1.9.2. So let’s start install the ruby first.
Please note that the following steps does not require root account. Just login with your own account with sudo enabled. Continue reading Ruby – Installation on Ubuntu Lucid