Mike Clark and Dave Thomas are taking their acclaimed Pragmatic Studio: Rails to Chicago this coming February. From the 16th through the 18th, you can learn all about building Rails applications from two masters in the field.
Thomas Fuchs, a Rails core developer and the creator of the fantastic script.aculo.us library, has been interviewed on Audible Ajax. Learn about the origins and future of script.aculo.us, Rails with Ajax, the relationship between prototype and script.aculo.us, and more.
Richard McMahon has written about using Perforce as the SCM with SwitchTower (here). He’s even written a custom Perforce SCM module for SwitchTower, so if you’re a Perforce user wanting to dabble with SwitchTower, it looks like you’re in luck.
(Richard has given his permission for the Perforce SCM module to be included with the next SwitchTower release.)
TextMate is the editor powering the work of every single core contributor and now the best just got even better. The 1.5 release of TextMate is the first official in a long time. So if you last had a look at 1.0.2, it’s time to take another peak.
Oh, and if you haven’t switched yet, you can swing by Apple and pickup a Mac on the way to TextMate. It’s not now, nor ever, going Windows.
Ruby superstar Jim Weirich gives an insightful overview of the environment that led to Rails, showing how it strikes a balance between PHP and Java. We’ve seen this bisection played out culturally as well, with widespread Rails adoption by designers and enterprise Java programmers alike.
Jim prefaces his talk by saying it isn’t technical but more of an introduction to Rails. Don’t let that dissuade you from watching. He presents a very lucid and concise illustration of how Rails has positioned itself amongst the old garde, cherry picking the best of both worlds.
The video is not to be missed. Jim’s rapid fire style of presentation is a site to behold. Great stuff.
The recording is approximately 3 hours long so show your thanks to those who are making it avaliable to you by jumping onto the torrent if you’re inclined.
You can read the complete changelog, but here’s a quick overview of some of the most notable changes:
- Handle SSH password prompts formatted like “someone’s password:”
- Allow the sudo password to be reentered if it was entered incorrectly
- Errors during checkout are now caught and reported early
- Avoid timeouts on long-running commands
- Add a small sleep during command processing to give the CPU a rest
- Rake tasks should work much more nicely on Windows (you’ll need to do
switchtower --apply-to /path/to/appto update, keeping your
There is now an
ssh_options hash that you can use in your recipe files to set custom SSH connection options, like setting a non-standard port to connect on:
ssh_options[:port] = 2345
Allow svn checkouts to use
export instead of
If you don’t want to use an
svn co to checkout your code, you can set the
:checkout variable to
:export, and SwitchTower will use
svn export instead.
set :checkout, :export
This variable defaults to
There is now an
update_current task that just does an
svn up on the last-deployed release. This is useful for trivial updates, like when a template changed.
You can easily remove unused releases from your deployment directories with the
cleanup task. It will (by default) keep the 5 most recent releases, and delete the rest.
SFTP for file transfers
Net::SFTP is now used (if it is available) for file transfers. This should make transferring large files more robust, as well as allow binary characters in files.
You can now set the
:restart_via variable to
:run, if you need to have the
restart task use
run instead of
set :restart_via, :run
This defaults variable to
This is fantastic news! Paul Querna and Garrett Rooney deserves much praise for embarking on this important quest to restore our faith in Apache as a worthy web server for applications. Not only will this mean that FCGI is no longer a bastard child on Apache 2.x, but also that it’ll have active maintenance and people to turn to if things are sour.
Viva la Apache!
Street Easy is a sweet new mash-up of Google Maps that’s running Ruby on Rails to mock you for all the places in New York you can’t afford to buy. Yet. Before you’ve launched your Web 2.0 mash-up and sold it to Yahoo. Wait a minute. It’s RECURSIVE!
Kidding aside, this is a very nice looking site done by Sebastian Delmont and friends. Check it out.
Having problems getting SwitchTower to work? So was Ryan Heneise, until he discovered that he wasn’t using a supported shell on the remote host. If the remote hosts are reporting syntax errors when you try to execute a task, make sure you’re using a POSIX-compatible shell (although hopefully this restriction will be lifted in the near-ish future).