You are currently browsing the tag archive for the 'capistrano' tag.

Does anyone actually like end of the year bookkeeping?

  • Rails, Ajax and jQuery - I’m not all that fond of AJAX, but if you are, this is worth a look - it avoids all the Rails helper methods in favor of just writing the JavaScript.
  • Capistrano 2.5.3 - Jamis is no longer going to knock himself out to support Windows. I think that’s just dandy.
  • HTTP Client - Little HTTP debugging tool for OS X. Nothing you couldn’t do with the right Firefox extensions, but it’s purty.
  • Firefox 3.1 Beta 2 - Time to upgrade again if you’re on the cutting edge.
    • webrat_story_steps - Looks useful for webrat-based testing, though it’s a bit out of sync with the latest webrat release.
    • Captor: A Capistrano GUI - Interesting, though unfinished.
    • zena - New Rails-based CMS just going into beta after extensive alpha testing.

    Checked in another contribution to the DocRails project yesterday - A Guide to Active Record Associations.

    Spent part of the weekend hacking around in Rails documentation. Made my first core-ish commit as part of the docrails project.

    • Capistrano 2.5.0 - With additional task-management goodness.
    • GetBundle - TextMate bundle to get other TextMate bundles. Why didn’t I install this ages ago?
    • RailsWheels - An attempt to build a licensing and commercial sales infrastructure for Rails plugins.
    • Configatron 1.0.0 Released - General-purpose manager for configuration variables in Ruby applications. (via RubyFlow)
    • AsciiDoc - The markup system being used for core Rails documentation.
    • Source-Highlight - You’ll need this to get good output from AsciiDoc. Fortunately there’s a port, but the port is a bit broken. On OS X 10.5, I had to install the boost port first (sudo port -v install boost) and then install the source-highlight port (sudo port install source-highlight) to get it to work. Do use the -v switch on boost; it takes for-bloody-ever to build and that’s the only way you’ll be reassured that it hasn’t rolled over and died.
    • AsciiDoc TextMate Bundle - Still in its early days.
    • Rails Guides HackFest - I was actually writing before this was announced. Good timing for me, though.

    It looks like the universe may be poised to fill in another hole in my work schedule. Thanks, universe.

    • Format CSS Online - Tool for applying a variety of formatting rules to CSS files, to make up for your sloppiness during development.
    • Envy Casts - The latest addition to the paid Rails screencasts ecosystem.
    • Cap 1.4.1? Go 1.4.2. Now. - An upgrade reminder for users of older versions of Capistrano. Fortunately for me, I finally managed to pull all of my own projects up to the Cap 2.x series.
    • The awesomest filter and sort ever - Courtenay is playing with named scopes and searching on multiple conditions in edge Rails. It’s looking useful.

    This weekend I pushed out my first plugin, user_event_logger. Suggestions welcome. Votes of confidence welcome on Working With Rails, too.

    I’m at the point where I could seriously use some help with Rails server admin. If there’s anyone out there who could use a few hours a week wrestling with nginx, monit, php, capistrano, evented mongrel, etc., etc., who actually knows what they’re doing, drop me a line to discuss hours and rates.

    A pretty quiet day in my corner of the Rails universe.

    Deploying with Capistrano via a gateway - Chu Yeow sorts a few things out. I have one project where this would be useful, except that they are stuck on an older Capistrano due to inertia.

    Working with a poorly-configured server all weekend. Hope to do something more fun today.

    And so another month draws to a close. Hope you’re being productive on the extra day.

    I actually have a working Cocoa app that implements all the “must have” features. Moving on to the “nice to have” features now.

    • Cocoa JSON Framework - I’m going to have to swap some data between the Cocoa app and a merb site. Looks like this makes it easy, since merb can do native JSON output of anything. I looked into using YAML, but the only existing Cocoa YAML code doesn’t seem to have been revised in several years. I could use a ruby class to do the import, but why not stick to all native Objective C?
    • Mac Help Writer - The help authoring scene on OS X is much bleaker than on Windows. This is the best one I’ve found; it builds nice-looking standard help files for the Mac, but I can tell I’m going to be hand-editing HTML files to do anything tricky, as it hits its limits quickly. I looked at several other applications that run on OS X, but they’re all cross-platform, building help files that look like WinHelp in an OS X container. That’s a fail.
    • Capistrano 2.2.0 Preview - Eek, I’m not done grokking 2.0 yet. Fortunately the changes are minimal, mainly better git support.
    • scope-out-rails - Plugin for adding easy scopes to your models.

    It’s the Thanksgiving holiday here. With luck that will mean fewer interruptions than usual, and I can actually get some work done.

    • RubyWorks Production Stack on Amazon EC2 - Capistrano recipes for getting up and running quickly on your shiny new EC2 instance.
    • AddonUpdateSecurity - The first major annoyance I’ve hit in Firefox 3. With their newly-tightened security, you cannot install an extension that isn’t hosted securely (like, say, BugMeNot). I understand the arguments for this, but just like version compatibility issues, I think you ought to be able to set a key to shoot yourself in the foot if you want.

    I’m back!

    Yes, well, it took somewhat longer to get moved and get a new, decent, Internet connection installed than I had planned. And then there was a long while spent getting the darned router configured correctly; I’m still not 100% happy (I prefer not to have to do port forwarding if I can help it), but I’ll live. This site probably isn’t visible to everyone yet, due to DNS propagation delays, but at least some of you lucky (?) folks can see it now.

    Anyhow, I’m still here, though “here” has changed to Newburgh, Indiana (just east of Evansville). And I’m still making my living off of non-Microsoft computer alternatives, primarily Ruby on Rails development. Now that I have this soapbox again, I’ll go back to keeping track of useful links.

    • Allow a different local and remote subversion repository path for Capistrano - This one came in handy for me last night, as I had to deploy past a firewall that is now enforcing just such a requirement on me (at least, I haven’t yet figured out how to get the internal NAT‘ted addresses to see the external port-forwarded address for the Subversion server). Remember to require /lib/tasks/patch_capistrano.rb in your deployment recipe if you use this. Or you could just upgrade to Capistrano 2.0, but I haven’t had time to climb that hill yet.
    • Sinatra: Classy web-development dressed in a DSL - Yet another quick way to bang together those web applications.

    It may be Labor Day in the States, but I’m in front of a computer with too many browser tabs open anyhow.

    Moving is such a huge pain in the arse. Let’s wallow in links for a few minutes to avoid thinking about it.

    • Webistrano - Web UI for managing Capistrano deployments, including complex scenarios, with tracking and history.
    • Why not ASP.Net? - Another Microsoft refugee sums up reasons for not using the ASP.NET platform.
    • RM-Install - New Rails stack installer (Mac/Linux at the moment) from FiveRuns and BitRock that looks like it covers just about everything you need to get cooking.
    • The Rails Edge: Quotes and Notes - A batch of amusing conference one-liners.
    • scplugin - Finder-integrated Subversion for the Mac. Haven’t tried it yet.

    The bookmarks have piled up a bit again. Time to clean them out to start the week.

    • Capistrano 2.0 - The release of a significant new version. I guess I finally have to stop putting off learning about the new features and changes now.
    • In-Place Editing: The Summer 2007 Rewrite - And speaking of new features, there’s been a significant bit of code thrash over at script.aculo.us.
    • pure class - Discussion of the best way to define a user.reviews.good (or analogous) method, something that I need to do soon for the current app I’m working on.

    I’m getting to the point where I’m finding more interesting links for my new blog than for my old one. This is a good sign of transition, I think.

    With a second Rails contract about to be signed, I guess I really am a Rails consultant now. How about that?

    It’s Monday, it’s time for some new links

    Welcome to new readers chased over here by Jeff Atwood’s article. I’m not really a slavering anti-Microsoft attack dog, though I do play one on TV sometimes.

    I’ve now reached the point where I’m finding it easier to find stuff for this blog than for my .NET link blog. Which is good for me but not so hot for the bottom line, since I sell ads over there. But onwards!

    Time to clean out the links bucket in anticipation of a busy weekend.

    • Hackety Hack - Ruby-based take on the idea of a starter’s coding environment for kids. (via Ruby Inside)
    • ActsAsSecure - Automatically encrypt specific fields from an ActiveRecord model when they’re stored in a database.
    • Compiling RMagick on OS X 10.4.9 Intel - RMagick, or at least its setup, is one of the pieces of the whole Rails story that just seems utterly devoid of elegance.
    • Tips for Upgrading to Capistrano 2 - I’ll probably jump in this pond sooner rather than later. One of the nice things about being new to the Rails world is that everything is new anyhow so there’s no special penalty to being out on the edge.
    • acts_as_sphinx plugin - Yet another option for full-text searching in Rails applications.
    • Rails: Group results by week - This came in handy last night when I needed to do multilevel reporting in a Rails view.

    Those attending RailsConf can now plan their detailed schedule with the nifty MyConfPlan . If you’re bored enough you can even look at my own plans .

    After 18 months of drawing a paycheck, I’m having to learn anew how to self-motivate. Which is to say that I had a very lazy Easter weekend.

    • Microsoft is Dead - You know, being a good developer and making a bunch of money with a startup in the right place at the right time does not qualify you to be an insightful commentator. I dislike Microsoft as much as the next guy, but it’s absurd to say that Microsoft is dead or to imply that the era of desktop applications is over. And ending the essay by implying that those who disagree with you are old and therefore stupid is just offensive. Graham should realize that his public posturing reflects on the companies that Y Combinator funds.
    • Schools should use Openoffice.org - I’m of two minds on this. On the one hand, NeoOffice (which is essentially OO for Mac) is handling all of my personal Office needs quite well these days, and that’s after having been a heavy Microsoft Office user from versions 2.0 through 2003. On the other, those students are going to end up in a world where they’re required to use Microsoft Office. It’s a quandry.
    • ActiveWarehouse ETL 0.7.0 Released - One of the more ambitious Rails-related projects that I know about continues to march along.
    • The Absolute Moron’s Guide to Capistrano - Baby steps and a helpful explanation of the conceptual framework. Useful if Capistrano is still a mysterious black box to you.

    Life gets more fun all the time. Turns out I’m going back to full-time freelancing at the end of this week.

    Not much to say this morning, but I’m at the point where I’m already feeling the itch to post consistently. This is the curse of my online life.

    • Gem-based Deployment and Delivery: Part 1 - When Capistrano Is Not Enough - I rather hope that I don’t have any Rails apps grow to the point where this is necessary. Still, it’s nice to see some folks thinking about big Rails apps, if only to have a data point to throw back at the critics.
    • LSL Wiki - Best source of information I’ve found for the odd little muddle that is Linden Scripting Language. At least it doesn’t take long to learn. There are some rather elegant hacks buried in here if you dig.

    If you like challenges, I can recommend LSL. It’s certainly one of the more hack-inducing, infuriating languages I’ve ever tried to work in.

    • tumblr - Tumblelog software that can automatically import RSS feeds, and thus becomes another tool for lifestreaming. They’re coming out of the woodwork now.
    • Capistrano security fun - Turns out there’s an information leak in the default use of Capistrano. Not a real high pri issue for most sites, but a bit sloppy. (via Ruby Inside)
    • Customize Your Rake Files - To make rcov behave the way you want it to.

    Well, I’m working on deploying another little Rails app, but I’ve hit an unexpected snag. I fired up a fresh Ubuntu server for this one, brought in all the latest bits, and now Capistrano is not playing nicely with it. I’m hitting the exact symptoms described in this message but as no one has posted an answer knowing that the symptoms are not unique doesn’t do me a whole boatload of good.

    I could perhaps shove it on to the same server I’m using for other things, but there’s a limit to how many mongrel instances I want to spin up on a single server when I have tons of unused computing capacity sitting around. Two differences between the servers may be salient - the working server is Ubuntu server and Capistrano , while the one that is being crabby is Ubuntu desktop and Capistrano 1.4.1. I suspect it’s the Capistrano version that’s making the difference 1.4.0, but what do I know? Not much.

    I’d be grateful for any suggestions.

    Sorry about all the RSS goofiness. I managed to complete bork the site and had to redo a batch of things, which didn’t do the feeds any good. Not that I’ve had much luck tracking down the original issue.

    • Rails vs. Django - There’s a link here to a Django screencast that I probably should find the time to watch, though overall it confirms my suspicion that the two frameworks are largely equivalent in terms of productivity.
    • Softies on Rails Interviews: Menuism - It’s certainly nice for me to read at this point stories of people who walked away from Microsoft to do Rails development.
    • File Upload Fu - Mike Clark discusses handling image file uploads in a Rails app.
    • Lighthouse - Rails issue tracking app from the Mephisto creators, coming soon.
    • TextMate: Power Editing for the Mac - Book from Pragmatic Bookshelf, now released. If I did want to become a TextMate expert, this would probably be a good investment.
    • Capistrano 1.4.1 - A minor update to the deployment utility that goes along with Rails.
    • Our ActiveRecord book …and YOU! - There’s a book all about ActiveRecord coming. You can go make suggestions about what you’d like to see covered.

    Why “Double Shot”? Why not? My daily links column over at Larkware is called “Daily Grind,” so somehow that just seems to fit. Well, at least as much as anything fits.

    • Shiny new Subversion and Trac cluster - The Rails team has just gotten a server upgrade, and having checked out a new Edge tree last night, I can confirm that it’s a whole lot faster. There’s also a change of URL for the Rails Subversion repository, though the old URL will continue to work. Here’s some info on switching an existing checkout to point to the new URL.
    • Streamlined 0.0.7.1 - I blinked and missed the announcement a few days ago, but the plugin version of this tool for building spiffy Rails views is out now.
    • Show database migration versions with Rake - A simple Rake task to pull the current version out of the database. I imagine this could be useful in a busy shop with multiple devs writing migrations.
    • Site5 Deployment Problems with Capistrano > 1.2 - A fix to some mystery Capistrano permissions problems. I think it’s a feature, but this could still be pretty helpful if you hit the same situation.
    • Getting Started with Subversion on OS X - Ben Wong has some basic information.

    OK, so very few people are going to learn about the release of Capistrano 1.4.0 from me rather than from some other source. But I’m going to blog it anyhow, because I have ambitions to some day have this be as good a news source for my new community as Larkware is for my old one, and I have to start somewhere.

    Anyhow, if you’re deploying Rails applications from one server to another, you need this. It can also do a lot more than that, and some day when I get through a stack of other stuff I will explore it properly. Meanwhile it’s off to run sudo gem install capistrano on a couple of machines to get them to update.

    Rails 1.2 is out although I really doubt that anyone is reading the news here for the first time. I’m not done learning the previous version yet so I can just sort of roll right in to the new features when I get there, I guess. I also need to take a good look at Mike Clark’s Managing Rails Versions with Capistrano when I get the chance.

    Capistrano 1.3.1 is another piece I need to spend more time grokking.