And this morning, I am feeling no urge whatsoever to buy a new laptop. Must be a sign of increasing age.
Slides " Rails & Security" from Devconf, Moscow - By Egor Homakov, who gained some notoriety by messing with GitHub and Rails.
Icenium - " Cross-Platform Mobile Development." Sort of like PhoneGap in the cloud.
Mina - An alternative to Capistrano or Vlad for deployment and server automation that claims serious speed gains.
The biggest problem with Vlad is a failed command doesn't return a neat line of shell code; instead it spits out a huge block of several commands making debugging extremely difficult. It can result in situations where the state of a failed deployment isn't clear.
Back to UNIX
After many, many bad experiences with Vlad, I gave up. However, I'm not just a lazy programmer, I'm also a lazy sysadmin, so I thought it was time to break out my vestigial UNIX skills and …
Vlad actually used to work with Percona, as a consultant, system administrator, and team lead. Now he's the director of Professional Services at Sphinx. If I can paraphrase his session, I'd say it is about the things you don't know about Sphinx's capabilities. Many people think of Sphinx as a great search engine, but it's much more powerful than just that. It has all kinds of features that let it do things MySQL is very bad at. For example, think about …
Interesting tidbits from around the web (September 6th):
Carrer Blog: iPhone Wireframe Kit - Google Docs - via vcarrer.com Vlad puts Google Docs drawing document to good use creating an iPhone wireframe kit (with links to download it and a blank iphone template) ...
…hazy to me now, but probably simply because it worked, I chose to borrow a patch from Vlad Romascanu . If you want to monkey-patch the AWS:: S3 gem to use Vlad's changes then do the following (if you prefer you could of course grab a copy of Vlad's fork and build a Gem from it):
Make sure AWS:: S3 is in your environment.rb file using config.gem "aws-s3", :lib => "aws/s3"
Create a file called aws.rb in RAILS ROOT/lib/patches
Copy …
Deploy with Vlad
Capistrano is neat, but Vlad is cleaner. I still use cap, but for new projects I always choose Vlad.
For continuous integration I use Integrity. It looks gorgeous and, being a Sinatra app, is very easy to setup. CI Joe looks nice too, but it came out 1 week after I'd setup Integrity.
I also use GitHub and Basecamp. One of my clients is using Mingle. It's good, but it's pricey and I'm not sure if it's worth the wedge. …
Creates Vlad the Deployer deploy.rb config file
Time formats initializer
The following gems:
thoughtbot-factory_girl
rubyist-aasm
mislav-will_paginate
emk-safe_erb
settingslogic
vlad
vlad-git
The following plugins setup as Git submodules:
limerick_rake
mile_marker
squirrel
rspec
rspec-rails
exception_notifier
monkey-magic
gravatar
So the next time you start a new rails app, run this command and you will have the world …
…finally as far as I can tell the git commit SHA being deployed is not available in Vlad.
In the Vlad deployment script I added a Hoptoad task to replace the default Capistrano task provided by Hoptoad. task :notify_hoptoad => [:git_user, :git_revision] do notify_command = "rake hoptoad:deploy TO=#{rails_env} REVISION=#{current_sha} REPO=#{repository} USER='#{current_user}'" puts "Notifying Hoptoad of Deploy (#{notify_command})" `#{notify_command}` …
…user, finally as far as I can tell the git commit SHA being deployed is not available in Vlad.
In the Vlad deployment script I added a Hoptoad task to replace the default Capistrano task provided by Hoptoad.
1 2 3 4 5 6 task :notify_hoptoad => [ :git_user , :git_revision ] do notify_command = "rake hoptoad:deploy TO= #{ rails_env } REVISION= #{ current_sha } REPO= #{ repository } USER=' #{ current_user } '" puts "Notifying Hoptoad of Deploy ( #{ notify_command …