This post originated from an RSS feed registered with Ruby Buzz
by Eric Hodel.
Original Post: Firebrigade Home Page Fixed
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
I denormalized a bit and beat the tests back into shape and the Firebrigade home page is back to life! Next I’m going to sand down a few rough edges on RubyGems to get a beta shipped suitable for feedback.
Firebrigade is now fully vladified using perforce.
Here’s the two setup steps you need for perforce:
Require ‘vlad/perforce’ at the top of config/deploy.rb.
Your .p4config goes in the scm/ directory of the server’s checkout.
Run p4 client in the scm/ directory and set your View to //path/to/project/... //clientname/...
Hopefully we can fully automate this so the vlad:setup_app task can handle this automatically.
I also had to do some custom setup for firebrigade because it uses RubyInline and needs the INLINEDIR set. I just added extra stuff to the setup_app task:
namespace :vlad do
remote_task :setup_app do
cmds = [
"mkdir #{inline_dir}",
"sudo chown www:www #{inline_dir}",
]
run cmds.join(' && ')
end
end