Page 1 of 1

recomended ruby on rails book

Posted: Fri Jun 22, 2007 6:37 pm
by izzysanime
Hi,

Does anyone have a recomendation for a ruby on rails book.  I got one from the library, beginning ruby on rails.  But I cant get passed creating my first application because Mac Terminal says error and no explanation in book.  Yes i do have ruby on it, ruby -v shows ruby version.  Now the problem that comes to my mind with that book, is it only shows you how to make ruby apps on your system, how do i get them on my webserver.  they do not allow shell access or anything like that. 

So, any suggestions would be great.

thanks
josh

Re: recomended ruby on rails book

Posted: Fri Jun 22, 2007 9:10 pm
by Kayin
izzysanime wrote: Hi,

Does anyone have a recomendation for a ruby on rails book.  I got one from the library, beginning ruby on rails.
Any of the Oreily books I found to be fairly decent on the subject. They have many levels and some specifically for rails and some specifically for ruby. I'd say if you were going to use rails then at least know a bit about ruby as well. (Ruby's such a nice little langauge).
izzysanime wrote: Now the problem that comes to my mind with that book, is it only shows you how to make ruby apps on your system, how do i get them on my webserver.  they do not allow shell access or anything like that. 
That's a great question, you should ask your host that. Typically hosts set up the server to parse ruby files the same as perl and python, but not all of them do yet as Ruby is still a fairly new language.

-Kayin

Re: recomended ruby on rails book

Posted: Sat Jun 23, 2007 7:48 pm
by izzysanime
ok, i asked, and they gave me the location usr/bin/ruby, how do i translate the file location to the ruby url

example
http://localhost:3000/app/greeting/ is the url in the browser
but the file, is in docs/somefolders/hello

Re: recomended ruby on rails book

Posted: Sun Jun 24, 2007 1:56 am
by izzysanime
never mind, got it