background preloader

Next

Facebook Twitter

Learn Web Development with the Ruby on Rails Tutorial. Michael Hartl Contents Foreword My former company (CD Baby) was one of the first to loudly switch to Ruby on Rails, and then even more loudly switch back to PHP (Google me to read about the drama).

Learn Web Development with the Ruby on Rails Tutorial

This book by Michael Hartl came so highly recommended that I had to try it, and the Ruby on Rails Tutorial is what I used to switch back to Rails again. Though I’ve worked my way through many Rails books, this is the one that finally made me “get” it. The linear narrative is such a great format. Enjoy! Derek Sivers (sivers.org) Founder, CD Baby Acknowledgments The Ruby on Rails Tutorial owes a lot to my previous Rails book, RailsSpace, and hence to my coauthor Aurelius Prochazka.

I’d like to acknowledge a long list of Rubyists who have taught and inspired me over the years: David Heinemeier Hansson, Yehuda Katz, Carl Lerche, Jeremy Kemper, Xavier Noria, Ryan Bates, Geoffrey Grosenbach, Peter Cooper, Matt Aimonetti, Gregg Pollack, Wayne E. About the author Copyright and license 1.1 Introduction. RPi Ruby on Rails. Installing Ruby on Rails on Raspberry Pi [Please note that raspbian (and, probably, the other current pi oriented linux distros) already have pre-compiled packages for Ruby on Rails; you can find these by checking with apt-cache search ruby | grep rails.

RPi Ruby on Rails

You only need the instructions below if those packages are unavailable.] This is a guide to install Ruby on Rails on the Raspberry Pi computer running Debian "squeeze". It will also be useful to people who just require a Ruby installation. The guide can be followed by anyone if it all goes right, but when things go wrong, it is often difficult to see what the problem is. The guide has been developed/tested using debian6-19-04-2012.

The installation was all done from the basic (pre startx) command prompt. . # Install prerequisites sudo apt-get install -y git curl zlib1g-dev subversion You might come across the error '404 not found', then try update your APT package index: # Update APT package index sudo apt-get update. Software development - Setting up a Ruby on Rails Server. Ruby on rails - heroku-like workflow on personal server. UpTrendingLLC/cartman. How we migrated Beanstalk to Rails 4 and Ruby 2 — Beanstalk. In October 2011 the groundwork began to migrate Beanstalk to Rails 3, the latest version of Rails at the time.

How we migrated Beanstalk to Rails 4 and Ruby 2 — Beanstalk

In a few weeks it became apparent that the migration would take much more effort than we originally anticipated and the work had been scrapped. Since then the idea to migrate to newer Rails came up several times during our meetings. However, each time the decision was to postpone the migration to deal with more pressing updates. In March we scheduled the migration once again and the plan was not only to update the Rails version from 2.3 to 4.0, but also bump the Ruby version from 1.8 to 2.0, because 1.8 was near its end of life deadline. We ended up successfully finishing the migration in just eleven weeks.

TL/DR of the migration: Migrated from Rails 2.3 (4 years old) to Rails 4. Planning the Migration The new migration was planned much more thoroughly than all of our previous attempts. About Our Application Before the migration Beanstalk was using Rails 2.3 and Ruby 1.8. A startup template for Ruby on Rails 4 applications. Way back in January, I wrote a blog post called “Rails has two default stacks”.

A startup template for Ruby on Rails 4 applications

In it, I discussed how people like to customize the defaults that Ruby on Rails gives you. Your company might prefer Postgres/HAML/RSpec, for example, over the default MySQL/ERB/MiniTest. There’s an under-used feature of Rails that allows you to automate the creation of your own stack: templates. Check it: Developer Book Reviews. In my quest to become developer savvy, I have bought and read a number of books that I'd like to share with you.

Developer Book Reviews

Here's the list of books I will comment on today: