On Feb 19, 9:22am, scruffian [email protected] wrote:
I am on OSX 10.6.6.
$ sudo port install ruby
—> Computing dependencies for ruby
—> Cleaning ruby
$ sudo port install rails
Error: Port rails not found
You don’t install rails that way. Rails and it’s accompanying files
are installed as ruby gems.
You should already have ruby 1.8.7 with mac 10.6.6 (as already
mentioned), so if you are just experimenting at the moment to see if
rails is something you want to work with (in which case rvm might be
overkill initially), just open a shell and enter:
gem install rails VERSION=2.1.1
at the command prompt, and this will give you the rails version you
need to get started.
If you want the latest version 3.0.4, just omit VERSION=*
However, I doubt you will get very far with setting up lovdbyless.
I’ve just downloaded it and had a quick look. I think you are going to
need, at the very least, a basic understanding of ruby and rails in
order to get it functioning locally.
I also would not recommend it as a way of learning rails. It appears
that lovedbyless is stuck way back on rails 2.1.1, and it has not been
updated since 2008. Their big claim that it now runs on rails 2.2.2 is
not that impressive. Rails is now at 3.0.4, so you may be better
learning rails 3 right off the bat.
There are two good books which every newb should have:
AWDwR  (v4 is still in Beta but you can get the electronic version
for $24 - along with all the updates released prior to printing -
also, even after the paper book is released, you will still receive
updates to your e-version when they are available)
Follow the tutorials in this to get an understanding of how everything
fits together. It will also give you a basic intro to the ruby
Programming Ruby  (commonly known as the Pickaxe book) is also
recommended if you want to increase your ruby knowledge further than
AWDwR provides for.
Also checkout Railscasts  - they provide free instructional vids on
all sorts of rails related topics.
We’ve all been newbs at one time or another, so good luck with it.