By Developers, For Developers
| PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
|---|---|---|---|---|---|
| 60 | TYPO | Fix capital H here: “THe recipes in this chapter….” | 2007-10-30 | ||
| 60 | SUGGEST | Any chance of having Capistrano 2.0 covered for the final book? | 2007-10-30 | ||
| 10 | SUGGEST | I would suggest “real estate agent” in place of “realtor”. It seems I can’t add a link, but search Wikipedia for “Realtor” then go to the “Word as colloquialism” section. | 2007-10-30 | ||
| 45 | SUGGEST | It would be good to warn readers that the jump from VPS to dedicated servers is really quite a large increase in responsibility. Dedicated servers are typically built from cheaper hardware than shared or VPS boxes (unless you specify otherwise when ordering). If you lose a disk on a shared box or VPS box you’ll probably live (if you even hear about it at all), but if you didn’t spring for RAID on your dedicated box, you’re toast. Additionally, it’ll probably be up to you to restore your data after the drive is replaced. | 2007-10-30 | ||
| 101 | TYPO | Surely you mean, “Voila!” | 2007-10-30 | ||
| 30 | OK |
(Bruce says:
(Bruce says: later chapter)
The items above are the kind of things I expected to see (along with an in-depth discussion on Capistrano) in a book on Rails deployment. These areas are where a good deal of questions show up in the community. Simply telling someone to use a commercial hosting provider only sidesteps one of the most important deployment issues. Please consider adding more details on the items in section 2.7. (Bruce says: later chapter)
| 2007-10-30 | ||
| 104 | TYPO | NGinix should read nginx (note the case and the single “i”). Same goes for pages 45, 53, and 127. | 2007-10-30 | ||
| 21 | TYPO | “broweser” should be “browser” | 2007-10-30 | ||
| 22 | TYPO | “Usually, you’ll won’t even need to install anything.” should be “Usually, you won’t even need to install anything.” | 2007-10-30 | ||
| 45 | TYPO | “and an spacious hard drive” should be “and a spacious hard drive” | 2007-10-30 | ||
| 51 | TYPO | Some of the markup code is showing:
Now, unpack, build and install Ruby.
| 2007-10-30 | ||
| 21 | TYPO | propOgate, propOgated should be spelled as propAgate, propAgated. Several places throughout the book. | 2007-10-30 | ||
| 58 | TYPO | “sever” -> “server” | 2007-10-30 | ||
| 61 | TYPO | “sever” -> “server” | 2007-10-30 | ||
| 61 | TYPO | “an Subversion” -> “a Subversion” | 2007-10-30 | ||
| 12 | TYPO | “Moving In: Capistrano After” is grammatically odd with the “Capistrano” word, perhaps “Moving In: Capistrano. After”? | 2007-10-30 | ||
| 13 | TYPO | “Doing Windows Homeowners hate doing windows.” Missing the ‘:’ separator “Doing Windows: Homeowners…” | 2007-10-30 | ||
| 15 | SUGGEST | “US$100” seems quite odd to myself and a few friends. Wouldn’t this be better as “$100 USD”? You use this scheme several other places as well. | 2007-10-30 | ||
| 17 | SUGGEST | The continuation “on the following page.” is a bit odd since it is on the following page! It might be best to just remove “on the following page.” Fig. 2.1 is explicit enough. | 2007-10-30 | ||
| 19 | OK | “Both features were in Rails 1.1 and were stable enough to use until Rails 1.1 was released officially.” Missing the NOT: “Both features were in Rails 1.1 and were NOT stable enough to use until Rails 1.1 was released officially.” Also you might also want to specify “in production” “not stable enough to use IN PRODUCTION until” (Bruce says: the book was right as it was) | 2007-10-30 | ||
| 20 | SUGGEST | “Good Rails pro-grammers will know who the good vendors are.” It might be worth mentioning somewhere that they can hop on irc to ask around. (Or you can specify that they should go to #merb and ask you your opinion ;) jk) | 2007-10-30 | ||
| 8 | TYPO | Sometimes you’re coining AR as “Active Record”, sometimes as “ActiveRecord”. The other Pragmatic Rails books mostly use “Active Record”, so that’d be nice for the sake of consistency. Page 8 contains the first occurance I found. | 2007-10-30 | ||
| 9 | TYPO | The official spellings are “Basecamp” (note the cap) and “43 Things” (note the space). | 2007-10-30 | ||
| 12 | TYPO | “Ngnix” should read “nginx”. | 2007-10-30 | ||
| 16 | TYPO | The exclamation mark in " (I am much happier now that I am on the sending end of those bills)!" is misplaced and should come before the closing paranthesis. | 2007-10-30 | ||
| 17 | SUGGEST | Indeed Ruby 1.8.6 can run Rails 1.2, and so can versions 1.8.2, 1.8.4, and 1.8.5. In fact, the latter is the officially recommended one as of this writing. Having said that, it might be a bit harsh to require Ruby 1.8.6 support at the hosting company’s end as that version isn’t officially packaged yet for many of the operating systems and distributions that they run. | 2007-10-30 | ||
| 20 | SUGGEST | And adding to that previous comment: the Ruby forums and wiki contain a host of information as well. | 2007-10-30 | ||
| 21 | ERROR | “The domain registrar who sold you your name will give you a web | 2007-10-30 | ||
| 22 | TYPO | “Putty” should read “PuTTY”, and a footnote containing a link to its website should come in handy. | 2007-10-30 | ||
| 25 | TYPO | “Cuteftp” should read “CuteFTP”, and I reckon that PureFTPd comes in a server version only. In the free client department, SmartFTP or FileZilla are choices I’ve often seen used in practice. | 2007-10-30 | ||
| 27 | TYPO | “ruby” should read “Ruby”. | 2007-10-30 | ||
| 28 | TYPO | “ruby” should read “Ruby”. | 2007-10-30 | ||
| 30 | TYPO | You’re sometimes calling FCGI just that, and sometimes spelling it out as FastCGI. For reasons of consistency it may be proper to stick to a single convention. | 2007-10-30 | ||
| 33 | TYPO | “Webrick” should read “WEBrick”. | 2007-10-30 | ||
| 34 | TYPO | “On, Unix-based systems” should read “On Unix-based systems”. | 2007-10-30 | ||
| 36 | TYPO | “Darwinports” is now called “MacPorts”. | 2007-10-30 | ||
| 37 | SUGGEST | The novice Unix user would probably appreciate the meaning of “shebang” :-) | 2007-10-30 | ||
| 37 | SUGGEST | After creating the migration for the Active Record session store, you will also need to enable it in environment.rb. Mentioning why you should be using this session store (i.e. increased performance and scalability) would also be helpful. | 2007-10-30 | ||
| 42 | OK | A Solaris zone is also a common VM option. | 2007-10-30 | ||
| 43 | TYPO | “linux” should read “Linux”. | 2007-10-30 | ||
| 44 | TYPO | “Fast-CGI” should read “FastCGI”. | 2007-10-30 | ||
| 44 | TYPO | “Maphisto” should read “Mephisto”. | 2007-10-30 | ||
| 44 | TYPO | “Lighttpd” should read “lighttpd” like in earlier references to that web server in the book. | 2007-10-30 | ||
| 44 | OK | “Primarily, you want a distribution with a minimal footprint.” I am wondering the extent to which this is logical or relevant. First question that comes to mind for the average developer is: how can I find out about that footprint? Then secondly the data he’d get might not be all that relevant: most hosting companies do cut down on unnecessary daemons to minimize memory usage — after all, they can squeeze more VPS’s on a single box that way. | 2007-10-30 | ||
| 45 | TYPO | “rails” should read “Rails”. | 2007-10-30 | ||
| 45 | TYPO | “Mb” should read “MB”. | 2007-10-30 | ||
| 46 | TYPO | “linux” should read “Linux” and “Putty” should read “PuTTY”. The link you provided here would also be valuable in your earlier reference to PuTTY. (Nitpicking any further :-) is PuTTY truly the “de facto” standard? What about SecureCRT and other commercial offerings?) | 2007-10-30 | ||
| 46 | SUGGEST | While Dapper Drake offers long term support and that makes it an appealing choice as a server platform, it’s also true that it doesn’t offer packages for Apache 2.2 or nginx which makes it a poor choice for continuous support. Compiling from source is one thing, but for a company or developer that doesn’t make a business out of hosting it’s a suboptimal choice. Feisty Fawn might then be a better option and does offer Apache 2.2 out of the box. | 2007-10-30 | ||
| 47 | TYPO | GCC stands for GNU Compiler Collection, not Gnu C Compiler. | 2007-10-30 | ||
| 47 | TYPO | “the most popular Rails database”: technically, it should read “the most popular Rails database management server” or at least “database server”. | 2007-10-30 | ||
| 47 | TYPO | “Rmagick” should read “RMagick”. | 2007-10-30 | ||
| 47 | TYPO | “Lighttd” should read “lighttpd” (note the case and letter “p”). | 2007-10-30 | ||
| 52 | TYPO | The latest RubyGems version is 0.9.4. | 2007-10-30 | ||
| 53 | TYPO | “rubygems” should read “RubyGems”. | 2007-10-30 | ||
| 54 | ERROR | “I’m going to walk you through installing Nginx and FastCGI | 2007-10-30 | ||
| 57 | TYPO | “ok” should probably read “OK”. | 2007-10-30 | ||
| 59 | TYPO | “37 Signals” should read “37signals”. | 2007-10-30 | ||
| 59 | TYPO | “Switch Tower” should read “SwitchTower”. | 2007-10-30 | ||
| 60 | TYPO | “NET::SFTP” should read “Net::SFTP”. | 2007-10-30 | ||
| 61 | TYPO | “37 Signals” should read “37signals”. | 2007-10-30 | ||
| 64 | SUGGEST | It may be worth adding that termios isn’t readily available for Windows. | 2007-10-30 | ||
| 65 | TYPO | “rake” should read “Rake”. | 2007-10-30 | ||
| 66 | TYPO | It’s the database thang ; | 2007-10-30 | ||
| 67 | TYPO | “ReWrite directive” should read “Rewrite directive”. | 2007-10-30 | ||
| 71 | SUGGEST | “leaves five versions” may more precisely read “leaves the five latest versions”. | 2007-10-30 | ||
| 72 | TYPO | “rake” should read “Rake”. | 2007-10-30 | ||
| 74 | OK | “Most Rails developers now use :export instead” but really, there’s nothing wrong with using checkout as long as you don’t forget to secure the .svn directories in the web server configuration lest the entire source code will be available publicly. | 2007-10-30 | ||
| 80 | TYPO | The markup of FastCGI doesn’t match the markup elsewhere in the book. | 2007-10-30 | ||
| 85 | TYPO | “intemidating” should read “intimidating”. | 2007-10-30 | ||
| 86 | SUGGEST | Even better than manually updating the schema info is using the transactional_migration plugin. It has saved me a ton of deployment troubles. | 2007-10-30 | ||
| 91 | TYPO | “reaload” should read “reload”. | 2007-10-30 | ||
| 93 | TYPO | “linux” should read “Linux”. | 2007-10-30 | ||
| 95 | TYPO | That <![CDATA[ probably shouldn’t be displayed. | 2007-10-30 | ||
| 96 | TYPO | So is it FCGI or FastCGI? | 2007-10-30 | ||
| 97 | TYPO | “5.3, The Reaper” misses an ending period. | 2007-10-30 | ||
| 106 | TYPO | “Kb” should read “KB”. | 2007-10-30 | ||
| 108 | SUGGEST | I’ve found it easier to call the sample database YAML file “database.sample.yml” than “database.yml.sample” so that more editors pick it up for syntax highlighting. | 2007-10-30 | ||
| 109 | TYPO | “teh server” should read “the server”. | 2007-10-30 | ||
| 109 | TYPO | “ok” should probably read “OK”. | 2007-10-30 | ||
| 114 | TYPO | Is it a Gem or a gem? :-) | 2007-10-30 | ||
| 115 | SUGGEST | Rick Olson’s gems plugin at svn.techno-weenie.net/projects/plugins/gems offers a great set of functionality to ease managing gems. | 2007-10-30 | ||
| 116 | TYPO | “. When” The prefixing period and space are incorrect. | 2007-10-30 | ||
| 118 | TYPO | “ALTER TABLE>” the greater than sign is incorrect. | 2007-10-30 | ||
| 128 | TYPO | “framework.Do” A space is missing after the period. | 2007-10-30 | ||
| 129 | TYPO | The first two bullet points miss a closing period after their first sentence. | 2007-10-30 | ||
| 130 | OK | Turning off sessions would provide for an even faster baseline, and then allow a developer to toggle between the various session stores and gauge their performance impact. | 2007-10-30 | ||
| 130 | TYPO | “rails” should read “Rails”. | 2007-10-30 | ||
| 132 | TYPO | “2Ghz Intel core duo with 2 gigs of ram” should read “2 GHz Intel Core Duo with 2 gigs of RAM”. “Mb” should read “MB”. | 2007-10-30 | ||
| 134 | TYPO | “Apache2.2, Lighttpd or Nginx” should read “Apache 2.2, lighttpd, or nginx”. | 2007-10-30 | ||
| 92 | SUGGEST | The “god” project over at god.rubyforge.org aims to be a compelling alternative to monit that’s written in Ruby. Perhaps that’s an interesting one to cover? | 2007-10-30 | ||
| 23 | ERROR | When granting the database privileges, shouldn’t you add ALTER so that later migrations can add columns, indexes, etc. to tables created in earlier migrations? | 2007-10-30 | ||
| 65 | SUGGEST | Perhaps you might want to go into detail about Roles and the deploy.rb. You definitely rush through this important bit. For those of us completely new to Capistrano who bought your book for this very topic, you don’t cover it in enough detail. Also try to cover details related to altering the file for a shared hosting scenario..or a non-Mongrel setup. So far, I’m REALLY let down by this section. | 2007-10-30 | ||
| 22 | TYPO | The first sentence after the “Document Root and SSH” heading, you have repeated “to need”. | 2007-10-30 | ||
| 91 | TYPO | in the second paragraph after the “Configuring a Cluster” heading, second sentence, you have repeated “the” at, “… different from the the port option”. | 2007-10-30 | ||
| 25 | TYPO | In the paragraph after the “Creating a Starter Application” heading, at the end of the third sentence you have, “… at time same time.” I think you meant to say, “… at the same time.” | 2007-10-30 | ||
| 45 | TYPO | In the 4th paragraph, at the end of the first sentence, you have, “… want to consider us ing Xen.” I believe you meant “using” instead of “us ing” | 2007-10-30 | ||
| 51 | TYPO | In the first paragraph, first sentence, you have repeated the word “do”. | 2007-10-30 | ||
| 53 | TYPO | In the first paragraph after the “Install MySQL” heading, first sentence, you have repeated the word “and”. | 2007-10-30 | ||
| 68 | TYPO | In the first paragraph after the “Run the setup and deploy Tasks” heading, first sentence, you have, “… Capistrano needs to create the a few directories …”. remove the word “the”. | 2007-10-30 | ||
| 73 | TYPO | The first sentence on the page ends, “… excellent online documentation online.” You should remove one of the “online”s. | 2007-10-30 | ||
| 91 | TYPO | In the description of the INT signal, you have repeated “is used” | 2007-10-30 | ||
| 101 | TYPO | In the last sentence of the first paragraph, you have, “… a the contents of the session …”. Remove the “a”. | 2007-10-30 | ||
| 115 | TYPO | In the third paragraph, second sentence, you have, “… you also need to copy the it’s license …”. You need to get rid of “the” or “it’s”. | 2007-10-30 | ||
| 116 | TYPO | In the second paragraph after the “Freeze the Rails Gems” heading, first sentence, you have, “… he have finally recovered …”. The word “have” should be “has”. | 2007-10-30 | ||
| 118 | TYPO | In the “Branches are tough to manage” bullet point, you have, “… until it is table …”. The word “table” should be “stable”. | 2007-10-30 | ||
| 43 | OK | “Products like Virtuozzo and OpenVZ are a few to watch out for.” This sentence appears in the Memory section and, as is, has little relevance. Why should I watch out for these products? What should I do if I find them? The admonishment to “watch out for” something is used both positively and negatively, at least in my region. | 2007-10-30 | ||
| 65 | ERROR | Capistrano 2.0 has now been released. “cap —apply-to .” does not work for me as the new command is “capify .” | 2007-10-30 | ||
| 63 | ERROR | Capistrano 2.0 is now the default version installed by gem. | 2007-10-30 | ||
| 110 | ERROR | Setting svn:executable on Windows should omit the initial “*” parameter to work correctly. | 2007-10-30 | ||
| 28 | TYPO | First paragraph on the page, “configurion” instead of “configuration” | 2007-10-30 | ||
| 45 | TYPO | 3rd PP: “cost more then VPS systems” should read “cost more than VPS systems” | 2007-10-30 | ||
| 45 | SUGGEST | 3rd PP: “A starter VPS can run you […] per month. Whereas a starter dedicated box […]” would read better as “[…] per month, whereas” | 2007-10-30 | ||
| 58 | SUGGEST | I am a big fan of all the authors, but I’d like to delicately suggest that the section on Capistrano be rewritten to focus on Capistrano 2. This is the danger in having a book whose publish date keeps slipping, I’m sure — you have to keep rewriting it. But my opinion is that there are already many books that cover Capistrano 1, none as yet cover Capistrano 2 and you have the perfect opportunity to do so. | 2007-10-30 | ||
| 44 | OK | Please add a section on setting up an Amazon EC2 image and deploying your Rails app to it. You may need to mention Amazon S3 for persistent storage and provide examples. Talk about how to scale up to multiple EC2 images. | 2007-10-30 | ||
| 50 | ERROR | ‘Fix that by editing the /etc/apt/source.list file’ should read ‘Fix that by editing the /etc/apt/sources.list file’. There’s an ‘s’ missing from sources. | 2007-10-30 | ||
| 1 | SUGGEST | The configuration of document root really needs to be explained further as well as the integration of Apache and Mongrel. You say you can use Mongrel instead of Apache, but from what I’ve read, they have to work together. It needs to be explained in detail…it’s the whole reason I bought this book. Everything else can be found on the net easily. (Bruce says: enhanced description of document root; later chapters) | 2007-10-30 | ||
| 11 | TYPO | “Finding a Starter Home: Shared Hosting Not everyone can af ford a house” - Between ‘Hosting’ & ‘Not’. This is also on the following paras, first line. | 2007-10-30 | ||
| 66 | SUGGEST | Often I am confused about the use of Apache or Nginx. Sometimes it’s not so clear. This page mentions only Apache as an example web server but the step-by-step guide uses Nginx. Perhaps a clarification somewhere about the difference and usage between Apache and Nginx would help. At present it’s a bit schizophrenic. | 2007-10-30 | ||
| 93 | SUGGEST | Monit rocks but it may be helpful to list some things that it depends on. on RHEL I needed to install flex bison and byacc. I know it is impossible to cover how to install it for all systems but it may be good to give a few more details. | 2007-10-30 | ||
| 97 | ERROR | Your “index” (no index yet) suggests the book home page on books.pragprog.com as the place to get source code. I can’t find any source at that URL, just the erratum page. The discussion of the Reaper on p. 97 describes the Reaper script. Presumably the source for this script is in your online source code archive (see above). It would be nice to include Reaper source in the book as well, since it sounds so critical to making FastCGI behave. | 2007-10-30 | ||
| 1 | SUGGEST | I bought DRA (this book) to learn how to deploy an in-house Rails program on my day-to-day desktop Mac. (Bruce says: We won’t handle desktop deployments at all) I need to limit access to those on our internal network, i.e., IP addresses starting with 192.168. I THINK I need to use Apache to get this restriction. Apache is well documented elsewhere, but it’s a huge program with zillions of settings. I found it hard to locate good documentation on LightTPD and nginix. This book assumes one knows all about these three web servers, but that’s why I bought the DRA book. I’d greatly appreciate pointers on their use in deploying Rails on various machines. What are the best sources of additional information? The largely cookbook approach in this version of the DRA book means it’s of limited use in situations like mine that don’t fit the norm of a remote server. (Bruce says: later chapters) | 2007-10-30 | ||
| 105 | SUGGEST | I have a virtual Windows 2003 server set up, and have installed Apache 2.2, and Mongrel. I have alse set up a svn repository for my application on the server. Full access to everything. Works with static pages from the /public directory. It would be nice if you also could suggest how to deploy applications in such an environment. | 2007-10-30 | ||
| 85 | SUGGEST | Cap 2.0 deprecates the use of “Capistrano.configuration”. Instead, it recommends using “Capistrano::Configuration.instance”. I guess it depends if you are trying to target Cap 2.0… (please do! documentation the Web is scattered, I hope your book can pull it together.) | 2007-10-30 | ||
| 51 | TYPO | Second last line ‘thru’ | 2007-10-30 | ||
| 23 | ERROR | The GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP command should include INDEX permission since it is commonly used by migrations. Should be: GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX | 2007-10-30 | ||
| 48 | TYPO | In the following section the line root# adduser ezra is incorrectly marked as a comment I believe: If all is well, create your normal user account: | 2007-10-30 | ||
| 49 | TYPO | Again, here part of the line root# visudo is marked as a comment where it shouldn’t, I think this is a structural problem throughout the book. The problem is that root access is always indicated as root#, apparently everything after that is marked as a comment and turns green. Now edit /etc/sudoers. You should use a program called visudo to edit root# visudo | 2007-10-30 | ||
| 45 | TYPO | Last Para: “This all well tread territory” is bad grammar and would read better as “This is all well traveled territory” | 2007-10-30 | ||
| 109 | TYPO | In the ‘Joe Asks…’ box: • You can leave the database.yml file on teh server in the First, I believe it should be ‘the’ not ‘teh.’ | 2007-10-30 | ||
| 92 | TYPO | Last Para: Last Sentence: should read “to restart Apache” instead of “restarting Apache”. | 2007-10-30 | ||
| 21 | SUGGEST | Just fyi, I tried instantdomainsearch… neat idea, but it didn’t quite work. The results were for the domain I typed, minus the last letter. It’s likely that the requests responded out of order. | 2007-10-30 | ||
| 89 | TYPO | Place footnote marks outside the period. | 2007-10-30 | ||
| 99 | TYPO | Place footnote mark outside of period. | 2007-10-30 | ||
| 125 | TYPO | In the code example “ | 2007-10-30 | ||
| 114 | TYPO | Shouldn’t the sentence “Just add the –svn flag.” read “Just add the —svn flag.” with TWO dashes? | 2007-10-30 | ||
| 252 | TYPO | In the second full paragraph, the option line extends far to the right of the margin. “Normally, you’ll configure your caching options in one of your environ- Was the “config.action_controller.…” supposed to be in its own block? | 2008-04-10 | ||
| 254 | TYPO | 9.6 Conclusion, second paragraph: | 2008-04-10 | ||
| 227 | TYPO | The sidebar gets cut off by the footer and ultimately by the end of page: | 2008-04-10 | ||
| 230 | SUGGEST | Inline switch to code font looses spacing: ‘arender’ | 2008-04-10 | ||
| 103 | SUGGEST | “To make things work smoothly, you need to login to Subversion at least once from the remote server so the remote server’s Subversion client caches your username and password.” At first reading this seems to conflict with the previous section about setting up :scm_username and :scm_password in the cap recipe. As far as I can tell from testing, :scm_username and :scm_password are used for checkouts on the local workstation only, but this could be made clearer. In any case, if you are happy to cache the SVN username and password on the target servers, which are exposed to the Internet, then surely you’d be happy to cache them on your workstation too? Perhaps capistrano doesn’t support this. Conversely, if you must be prompted for a local scm_username and scm_password every time, you’d probably want these passed to the target servers too, where they would do svn —username foo —password bar —no-auth-cache export … to retrieve the source code but avoid caching the password. You do say that capistrano is opinionated software. However if this is a design limitation of capistrano (i.e. that the SVN passwords must be cached on the target servers, but cannot be cached on the local workstation), then I’d like it to be made clearer. I’m still headscratching around this issue myself :-) | 2008-04-10 | ||
| 130 | ERROR | Mongrel cluster commands written are old style (no longer work?). See: $ mongrel_rails help - cluster::configure | 2008-04-10 | ||
| 31 | SUGGEST | “To prevent this unfortunate circumstance from happening to you, copy each dependency to vendor. Unpack each gem to vendor like this…” Edge Rails has now introduced a supported way to freeze gems: [from railties/CHANGELOG] # Unpack specified gem to vendor/gems/gem_name-x.x.x So even if running 2.0.2 or earlier, it would be a good idea to standardise on vendor/gems/gem_name-x.x.x/lib, which you can do like this: mkdir vendor/gems (although prior to 2.0.3 you will have to update $LOAD_PATH yourself) | 2008-04-10 | ||
| 133 | SUGGEST | Note that for monit-5.0 (not yet released): See cvs.savannah.gnu.org/viewvc/monit/monit/CHANGES.txt?revision=1.400&view=markup | 2008-04-10 | ||
| 160 | TYPO | 7.6 second sentence. Apache also has and an official 501©(3) nonprofit | 2008-04-10 | ||
| 107 | SUGGEST | The description of deploy:rollback says “revert to previous migration manually.” It would be more helpful to describe the task or script that accomplishes the database rollback. | 2008-04-10 | ||
| 146 | TYPO | 5th line: | 2008-04-10 | ||
| 148 | TYPO | In the Figure 7.1 you have 3 servers and in green boxes: VHost, V Host and V Host. | 2008-04-10 | ||
| 149 | TYPO | I’m not sure about it, but on Figure 7.2 there are two white boxes for physical machines, and both of them are named “Physical machine 1”. | 2008-04-10 | ||
| 156 | TYPO | The one before last line: “I’ve dedicated a full section to it below inSection 7.8” | 2008-04-10 | ||
| 164 | TYPO | Last paragraph (just before config code): | 2008-04-10 | ||
| 165 | TYPO | First paragraph (after config code): The same paragraph, one line before last: Fourth paragraph, second line: | 2008-04-10 | ||
| 166 | TYPO | Last paragraph, first line: | 2008-04-10 | ||
| 168 | ERROR | On Debian/Ubuntu Apache’s init script is: | 2008-04-10 | ||
| 170 | TYPO | Fourth paragraph (begining: These two valeus…), second line: | 2008-04-10 | ||
| 173 | TYPO | 7.7, first parapgraph, first line: | 2008-04-10 | ||
| 173 | TYPO | NGinx or Nginx? ;-) It also occurs on other pages. | 2008-04-10 | ||
| 187 | TYPO | Multi-Master, Read/Write Clustering, second paragraph, 4th line: | 2008-04-10 | ||
| 189 | TYPO | Configuring Your Application for the Multi-Master Cluster, second paragraph, 5th line: (missing period ath the end of sentence) | 2008-04-10 | ||
| 189 | TYPO | 3rd line from end: | 2008-04-10 | ||
| 24 | ERROR | The svn mkdir —message “Initial project layout” command is missing the name of the directory that you want to make. I assume that you want the user to change to /home/ezra/svn, then issue the commands But the newbie user would probably have a difficult time knowing this. Hope this helps, | |||
| 19 | TYPO | “>>>>>>> .r32877” Spurious leftover from svn merge? | |||
| 27 | TYPO | “I discuss this solution in the (as yet) unwritten sect.vc.deploy.using-capistrano-for-deployingdatabase.yml” If this is the final beta before publication, you’d better write it soon or else remove this sentence :-) | |||
| 30 | ERROR | $ cap deploy_with_migrations should read: $ cap deploy:migrations | |||
| 133 | ERROR | The cap recipes for restarting, stopping and starting via monit don’t work as given (seem to hook into the wrong tasks). The following ones do: namespace :deploy do desc <<-DESC desc <<-DESC desc <<-DESC end | |||
| 119 | SUGGEST | “Do a Push Deploy Instead of Pull” There is a problem with “set :deploy_via, :copy” which caused me a lot of head scratching. SFTP was locking up whenever it connected to my target server. The solution is to add: set :synchronous_connect, true to the recipe. (This is documented in lib/capistrano/configuration/connections.rb if you look really, really hard; the comment is inside a method so it doesn’t appear in the rdoc) Having this hint in the book would have saved me a lot of trouble. | |||
| 176 | TYPO | Space missing: or/foo in 3rd paragraph. | |||
| 85 | ERROR | root# sudo gem install rails —no-rdoc —no-ri Is sudo actually needed? We are already root… | |||
| 190 | TYPO | “In the next chapter, I’ll dive into some basic performance topics.” | |||
| 25 | ERROR | Rails 2.0.2 adds the tmp directory as well as tmp/cache tmp/pids tmp/sessions and tmp/sockets. The svn mkdir command errors when using the command specified. | |||
| 170 | SUGGEST | I’d also include the MIME types application/xml application/xhtml+xml text/javascript text/css for the DEFLATE section. | |||
| 128 | TYPO | At the bottom of the page where it talks about starting, restarting and stopping the mongrel clusters, I believe there should be a space between “mongrel_cluster_ctl” and “start” (as well as with “stop” and “restart”). Right now it reads: mongrel_cluster_ctlstart | |||
| 121 | SUGGEST | Have you thought about using ‘latest_release’ instead of ‘release_path’ for your link_images task? From Capistrano source code: “some tasks, like symlink, need to always point at the latest release, but they can also (occasionally) be called standalone. In the standalone case, the timestamped release_path will be inaccurate, since the directory won’t actually exist. This variable lets tasks like symlink work either in the standalone case, or during deployment.” | |||
| 143 | SUGGEST | The use of mongrel introduces an issue with multiple processes writing to the log file. It would be helpful to describe configuration of syslog. | |||
| 83 | SUGGEST | Shouldn’t the authme function be function authme { Just following on from the suggestion above that you should change the default sshd port? | |||
| 23 | ERROR | “We use svn import with the —force option…” does not match up with any code snippet. | |||
| 25 | ERROR | “Database Structure Dumps During Testing: When you run the tests, Rails will dump the development database’s structure to db/schema.rb(3).” It’s not apparent what this paragraph is doing here. schema.rb next comes up on page 36. I looked for a command to set a svn:ignore property for db/schema.rb, the perfect reason for this paragraph, but I don’t see one. | |||
| 38 | TYPO | typo: “has_many()has_one(),” should be “has_many(), has one(),” style: “belongs_to(), and has_and_belongs_to_many()” doesn’t need the comma before “and.” | |||
| 21 | TYPO | at the bottom of the page, i think the URLs shown for the trunk and the branch should include “svn” rather than “deployit”: svn copy —message=“Create the stable branch” | |||
| 35 | ERROR | Page 35, under the N+1 Problem: The code section lists: friends = Person.find(:all, :conditions => some_friend_connections) I believe on the second line, the ‘person.friends.collect’ should just be ‘friends.collect’. The person variable isn’t defined in the example (friends is). This is also in the second example of how to fix the N+1 query with an include statement. | |||
| 22 | SUGGEST | In the merging stable branches section at the top of page 22 in the paper edition of the book, there is a directory path context switch that could use an explanation. The command on the page (plus the two subsequent ones on page 22): $ svn merge —revision 422:426 file:///home/ezra/deployit/trunk . This command should be run from the branches/stable directory path, not from the trunk. I’m not sure how many people follow the commands step-by-step, but this part could be made more clear. | |||
| 83 | ERROR | The authme function will only work if the .ssh directory already exists on the remote server. Also, ssh is very picky about permissions on this directory and the authorized_keys file, so you want to chmod 755 /.ssh and chmod 644/.ssh/authorized_keys (if not 600). | |||
| 83 | SUGGEST | On Ubuntu, and probably other distros, an ssh-agent is started for you when you log into XWindows. You can just call ssh-add. If you call ssh-agent, you will get an error regarding SSH_AUTH_SOCK or something like that. Also, your commands to start ssh-agent and ssh-add are a little confusing. This is much more straightforward: $ eval `ssh-agent` | |||
| 84 | SUGGEST | You mention that you should have ruby 1.8.6 or higher, but the command output shows 1.8.4. | |||
| 86 | TYPO | You mention the include-dependencies option but don’t use it in the example. | |||
| 86 | TYPO | The formatting for line continuation is messed up here and elsewhere in the book. | |||
| 87 | ERROR | zliblg was already installed in an earlier step. | |||
| 23 | TYPO | The code block given for creating the initial SVN directories is misleading. It reads: $ svn mkdir —message=“Initial project layout” ←֓ In the book, the first line is in red, while the remaining three lines are in blue, indicating that I should type in the first line and the blue lines are my output. However, entering the first line alone causes an error and only if I enter in the first three lines as input does the last line appear as output. The coloring should be changed to make this clearer (e.g., the first three lines should be red and the last line should be blue). | |||
| 28 | ERROR | The command given to create a stable branch doesn’t work. The given command is: $ svn copy —message “Create the stable branch” ←֓ The problem is that the path /home/ezra/deployit doesn’t exist. The command needed to create the stable branch is: svn copy —message “Create the stable branch” file:///home/ezra/svn/trunk file:///home/ezra/svn/branches/stable | |||
| 177 | ERROR | The bottom of page 177 reads, “When Capistrano deploys Rails apps, Capistrano appends a time stamp to the URL so that clients will think they are new assets and download them again.” Is that true? I don’t think so. I couldn’t find anything in the cap docs about it, and my deployed static files don’t have custom timestamped filenames. Rails definitely appends cachebreaker timestamps to static files (at least it does to JS and CSS), and I am trying to learn more about exactly when it does that. But I don’t think cap has anything to do with it. | |||
| 92 | TYPO | The word ‘server’ is spelled wrong in the sentence: You simply found the files you needed to copy, and you | |||
| 104 | SUGGEST | On an earlier page you recommend setting scm_username and scm_password, but then you tell the user to cache the subversion credentials. This sends a mixed message. If you’re using cached credentials, there is no need to set scm_username/password. Also, I’m not sure if scm_username and svm_password are even used if credentials are already cached. | |||
| 249 | TYPO | The same code is listed for both the view and controller (and it’s ERB, so I assume it’s the view). What is the appropriate controller code for time-based expiration of cached fragments? | |||
| 250 | TYPO | “If you need to work with cached content in production temporarily, you can just set the appropriate cache option.” should be “If you need to work with cached content in development temporarily, you can just set the appropriate cache option.” | |||
| 88 | ERROR | On page 88 there is a guide of how to install nginx. After installing nginx you need to reboot the system (or something similar). Until then the “nginx” command doesn’t exist. I think that should be mentioned. | |||
| 39 | ERROR | “Rails is a dynamic, interpreted language.” Rails is the framework not the language. | |||
| 195 | ERROR | pen -f 80 localhost:80 produces an error: Not sure what the cure is? (Yet!) | |||
| 24 | ERROR | The command: I have to first do: | |||
| 148 | SUGGEST | DBAs in my company (who fortunately do not run my stuff), claim that async multi-master is not a supported configuration for MySQL. I did setup this way, and the result was that some data (particularly DELETEs) did not propogate, and we have no way to effectively LOCK any rows for update, so this requires some application rewriting. | |||
| 71 | TYPO | Sorry, Please ignore my previous error post thanks | |||
| 82 | ERROR | On my freshly installed Ubuntu server, the command (ran as root) but then I tried (also as root): not sure what’s going on but I’m sure you guys will figure out :) | |||
| Charl | Charl | ERROR | �������� | ||
| eMLvR | FHJvf | ERROR | Real brain power on display. Thanks for that awnser! |