Upgrading to Rails 4 e-book
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
code
config
images
output
templates
text
.gitignore
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.md
delivery_mechanisms.txt

README.md

Upgrading To Rails 4

An e-book covering the deprecations, new features and common upgrading scenarios facing developers upgrading from Rails 3 to Rails 4.

Originally written by Andy Lindeman and now released under CC BY 3.0.

Where should you go from here?

Build Toolchain

kitabu can export ePub and HTML by default.

$ bundle install
$ bundle exec kitabu export
$ ls output/

As you're hacking on the book, you can have it generate automatically:

$ bundle exec guard

PDF

PrinceXML is required to build the PDF version of the book. A trial version is available at princexml.com.

mobi

KindleGen is required to build the mobi version of the book. KindleGen can be downloaded from Amazon.