-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CC BY 3.0 | ||
<http://creativecommons.org/licenses/by/3.0/> | ||
|
||
Linking to <https://github.com/alindeman/upgradingtorails4> and | ||
<http://upgradingtorails4.com> is appropriate for attribution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# 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](http://andylindeman.com) and now released | ||
under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/). | ||
|
||
Where should you go from here? | ||
* Buy the PDF, ePub, and mobi versions of book at | ||
<http://upgradingtorails4.com>. **Proceeds since the book was open sourced | ||
will be donated to <http://cfy.org/>.** You'll receive periodic updates | ||
as the content is updated in this repository. | ||
* [Build the book yourself](#build-toolchain). | ||
* Contribute to the book. [Pull requests | ||
accepted](https://github.com/alindeman/upgradingtorails4/pulls). | ||
|
||
## Build Toolchain | ||
|
||
[kitabu](https://github.com/fnando/kitabu) can export ePub and HTML by default. | ||
|
||
```bash | ||
$ bundle install | ||
$ bundle exec kitabu export | ||
$ ls output/ | ||
``` | ||
|
||
As you're hacking on the book, you can have it generate automatically: | ||
|
||
```bash | ||
$ bundle exec guard | ||
``` | ||
|
||
|
||
PrinceXML is required to build the PDF version of the book. A trial version is | ||
available at [princexml.com](http://www.princexml.com/download/). | ||
|
||
### mobi | ||
|
||
KindleGen is required to build the mobi version of the book. KindleGen can be | ||
downloaded [from | ||
Amazon](http://www.amazon.com/gp/feature.html?docId=1000765211). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters