I need to learn Ruby on Rails as fast as possible and very much wish
to start with 2.0. I’m really good at developing software with Java
and its associated tools and frameworks. What is the best path for me
to be productive with RoR? I went to www.rubyonrails.org and followed
the basic “Get Started” guide. Simple enough, downloaded and
installed Ruby, RubyGems and Rails, created a skeleton app, started
the server and visited http://localhost:3000. Everything looks good
so far. Very quick and easy to get up and running with a skeleton
application. I click on “About your application’s environment” and
immediately get a database error. I read ruby on rails 2.0 uses
sqlite3, but I have no idea how to start or configure the server.
There’s no documentation anywhere obvious in the rubyonrails.org site
or localhost:3000. I was able to figure out how to install sqlite3
using gem after viewing the database.yml file, so now I get an error
about a missing sqlite3.dll file. Ok I actually just read the
official weblog and see I need to install sqlite3, I thought ruby on
rails came with it? I’ll do this later.
So, assuming I get sqlite3 installed or just install mysql or
postgresql, where do I go from here? Surprisingly, I don’t see any
kind of documentation or tutorials for Ruby on Rails 2.0. The
official documentation webpage presents a list of books and tutorials
from 2006. Some tutorials are even from 2005! Obviously these don’t
cover 2.0. And I understand there are lots of changes in 2.0, such as
no scaffolding (don’t know what that is yet), different pagination
(again no idea what it is), session management, filenames, etc.
Can someone point me in the right direction please? I’ve heard so
many great things about ruby and rails, but to be honest I’m
definitely not impressed with the initial learning phase.