Rails is terrific, but if you're new to web development, I suggest you give Sinatra a try first. Not only is it excellent for building small web apps, but concepts such as routing are also much easier to understand and learn.
Install Sinatra Framework
gem install sinatra
DataMapper is broken up into the core library, dm-core, various database adapters and a number of optional libraries collectively: