Resources for Getting Started with Ruby on Rails
engineyard.com
engineyard.com
If I had taken the time to install it straight away I would have saved a lot of wasted effort.
Here's my 'rvm tutorial in a HN comment':
To install rvm, run this:
$ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
Then add this to your .bashrc, at the bottom: [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
Open a new shell and you should be golden. Never 'sudo gem install' again!To install any Ruby, 'rvm install 1.9.2', for example. To switch Rubies, 'rvm 1.9.2'.
That's it! Pretty easy. I like to take two further steps, though: create a gemset per application, and set up .rvmrc files to switch to the right ruby automatically.
To do the gemset thing, 'rvm gemset create gemset_name'. You can switch to a specific gemset at the time you switch rubies with 'rvm 1.9.2@gemset_name', or after with 'rvm gemset use gemset_name'
Once you've got that going, make a '.rvmrc' file in the root of your project, and put in it the rvm command to switch to your ruby/gemset. "echo 'rvm 1.9.2@gemset_name' > .rvmrc" is probably the easiest way to do this. Then, when you switch to your project, you're in the correct ruby and gemset automatically. When you have 9 or 10 projects on 4 different Rubies, this helps a lot...
Then what should have been ten minutes turns into three hours and I burn up all the time I could have been building something. Granted I usually learn something along the way, but it would be awesome if people provided some more details as part of their tutorials.
- Teach me to code: http://teachmetocode.com/
- Lernivore: (this is an aggregator) http://learnivore.com/
Even they are not rails specific I found this interesting:
- Katacasts: http://katacasts.com/
- Remi: http://remi.org/ (I think he has stop uploading anything new)
- Vimcast: http://vimcasts.org/
- Ruby Pulse: http://rubypulse.com/
I also like to check out Confreaks to see the sessions of some conferences
Good list. There's a few sites I haven't been to yet. Not a fan of bit.ly links though. I like knowing exactly where the links are going to
-- quote --
Hey Matt,
Thanks, glad you find it useful. My reasoning for the bit.ly links is so that I can see what types of resources readers of the EY blog find interesting so that I can cater future posts and tutorials with that in mind. I know that google analytics does the same thing, but I myself do not have access to that and all I need to know is what links were clicked on not everything else.
I did not expect people to find the bit.ly links annoying. Is there something about them I am missing? I wouldn't have done it if I thought people would find it to be an annoyance.
-- end quote --
http://www.learnivore.com aggregates most of the ruby/rails programming screencasts I could find (disclaimer: I'm running this site).
Also, I will be adding resources recommended by people in the comments on the post, HN, and Reddit shortly. So if you have any you want added let me know soon.