ROR books seem to be out of date

i am trying to get started on ROR but the texts all seem to be out of date as regards samples that wont run on later IDEs such as aptana studio ,rubymine and so on.github examples are also out of date and wont run. beginning Rails3 samples appear to also not able to run ,even using github examples .

ruby on rails for dummies is unusable as the IDE radrails is a later version without the helpfull tabs , also the less is more interface on aptana studio makes it difficult.

the only progress i can make is using the command line but again samples wont run when i use them from the ROR books .

i suspect the problem is later versions of the rails and gems s/w.

help