Errata for Deploying Rails
We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.
The latest version of the book is P1.0, released 11 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| every |
#49836: The book is based on the idiom of using a shared directory and git repo but every example uses a puppet:// scheme rather than a file:// scheme...more...
|
P1.0
20-Sep-12 |
||
| 22 |
#51119: Hello,
running on Vagrant 1.1.2 MacOS 10.8.3, VB 4.2.10
According to the PDF:
"For forwarding the ssh port, we include the :auto opti...more...
|
P1.0
24-Mar-13 |
||
| 28 |
#50702: In section 3.2 "Setting Up Puppet", the listing for "git branch -a" shows a branch named "empty", however when I executed the command on my lo...more...
|
P1.0
04-Feb-13 |
||
| 33 |
#49542: sudo apt-get install build-essential zlib1g-dev libssl-dev libreadline-dev \
git-core curl libyaml-dev libcurl4-dev libsqlite3-dev apa...more...
|
P1.0
19-Jul-12 |
||
| 50 |
#50361: For an alternative passenger installation when using puppet 3.0.1, system wide rvm installation and a debian/ubuntu base box I have put some m...more...
|
P1.0
12-Dec-12 |
||
| 53 |
#49553: The passenger installation process uses gem to install the passenger gem. With the box exactly as specified in the text (that is, ruby 1.9.3 c...more...
|
P1.0
23-Jul-12 |
||
| 55 |
#50371: For the sentence:
"The node name, which must be unique, must be the same as the host name of the server"
wouldn't it be easier to unders...more...
|
P1.0
13-Dec-12 |
||
| 63 |
#50138: This sentence is not correct:
This is a file resource but has different parameters than the earlier file resources, so we can’t just com- b...more...
|
P1.0
06-Nov-12 |
||
| 68 |
#49721:
Should the example Vagrantfile use massiveapp instead of massiveapp_ops:
...
config.vm.share_folder "puppet", "/etc/puppet", "../massiv...more...
|
P1.0
21-Aug-12 |
||
| 69 |
#50848: In the last paragraph, "Figure 2, The deploy:code task flow," - should read "deploy:cold". Same for the caption on Figure 2 on page 70. |
P1.0
24-Feb-13 |
||
| 83 |
#49622: Capistrano deploy:symlink tasks is bronken. It has an error on symlink and it uses the current_path instead of the latest_release path.
It ...more...
|
P1.0
03-Aug-12 |
||
| 84 |
#49517: symlink_command += release_directories.map { |directory| "mkdir -p #{directory} } missing " after #{directory}--Rawane ZOSSOU |
B4.0
12-Jul-12 |
||
| 92 |
#49457: iThe code example has a namespace called 'deploy', while the bottom page paragraph talks about a 'passenger' namespace.--Claudio Ortolina |
B4.0
24-Jun-12 |
||
| 99 |
#51149: On PDF site 99 you're including a memcached class which havn't been discussed anywhere. Would be nice to have more infos about that:
monito...more...
|
P1.0
28-Mar-13 |
||
| 104 |
#50809: mem = capture("free -m | grep Mem").squeeze.split(' ')[1..-1]
should be
mem = capture("free -m | grep Mem").squeeze(' ').split(' ')[1..-...more...
|
P1.0
14-Feb-13 |
||
| 112 |
#49951: About NRPE, the example plugin, which is check_ssh, doesn't work. I suppose it's check_user here (in fact, this plugin is using for this secti...more...
|
P1.0
14-Oct-12 |
||
| 168 |
#50147: We’re customizing apache2.conf, so we’ll need to copy it into modules/apache/files and make a change to the CustomLog directive.
---
I ...more...
|
P1.0
07-Nov-12 |
||
| 169 |
#50148: class apache2 {
# other resources
file {
"/etc/apache2/apache2.conf":
mode => "0644",
owner => "root",
grou...more...
|
P1.0
07-Nov-12 |
||
| 171 |
#50150: class apache2 {
# other resources
file {
"/etc/apache2/apache2.conf":
mode => "0644",
owner => "root",
grou...more...
|
P1.0
07-Nov-12 |
||
| 174 |
#50356: Should we also delete the file /etc/profile.d/vagrant_ruby.sh after removing the default Ruby version?--Kosmas Chatzimichalis |
P1.0
11-Dec-12 |
||
| 185 |
#50151: Vagrant::Config.run do |config| config.vm.define :mysql_master do |m|
m.vm.box = "lucid32"
m.vm.host_name = 'mysql_master' m.vm.forward_port...more...
|
P1.0
07-Nov-12 |
||
| 2005 | Yatkl |
#50309: Fernando de Se1 May 25th, 2010 7:16 am Solo discrepo en una cosa: el digaarma de Gutenberg es correc...more...
|
P1.0
07-Dec-12 |
Stuff To Be Considered in the Next Edition
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 12 |
#49352: Should the version of Ubuntu being used for this demo be upgraded to the new LTS, 12.04 Precise Pangolin?--Rebecca Skinner Tom Copeland says: That would be tough... would be a really widespread change and I hate to introduce it at this point. Such are the pitfalls of a tools book. Hm, maybe I can do a branch in the massiveapp_ops repo and do that, though. |
B3.0
18-May-12 |
||
| 30 |
#49438: Suggestion about rvm ruby version and puppet:
According to the puppet documentation the 2.7.x puppet is supported with ruby version 1.8.7.
...more...
Tom Copeland says: Kosmas, thanks. You're right, looks like they recently made an explicit statement on 2.7.x and 1.9.3.
I think we'll probably leave the book's suggestions in place; the examples all work with 2.7 and 1.9.3 (despite the warning messages), and seems like Puppet 3.0 will be out pretty soon. I see they're on rc3 currently. We'll try to make a point of doing a blog post and updating the massiveapp_ops repo once 3.0 comes out.
Another approach would be to have one Ruby version for Puppet and one for the Rails app. Not a bad idea, although adds some complexity.
|
B3.0
14-Jun-12 |
||
| 30 |
#49396: Just checking out the puppet installation documentation and it is suggested that the gem installation is not recommended, but instead the syst...more...
Tom Copeland says: Hm, probably too late to change it now, but I'll put in a sidebar about that, thanks for the heads up.
|
B3.0
01-Jun-12 |
||
| 65 |
#49387: Just after require 'bundler/capistrano' I think it would be nice to spend some more words to explain the structure of shared/bundle and curren...more...
Tom Copeland says: Hm, yeah, maybe something for a blog entry. It'd be good to nail that down further.
|
B3.0
30-May-12 |

