Skip to content

Commit

Permalink
FIX:Using RVM could case Etc.getlogin to fail
Browse files Browse the repository at this point in the history
So now requiring it by hand.
  • Loading branch information
pjaspers committed Mar 5, 2011
1 parent c0e9a34 commit 2bfe32e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/capfire.rb
@@ -1,5 +1,8 @@
# Gem for applications to automatically post to Campfire after an deploy.

require 'broach'
require 'etc'

class Capfire
# To see how it actually works take a gander at the generator
# or in the capistrano.rb
Expand Down
1 change: 0 additions & 1 deletion lib/capfire/capistrano.rb
Expand Up @@ -3,7 +3,6 @@
# There are two ways to use Capfire, either run the generator (see the README)
# or add 'require "capfire/capistrano"' to your deploy.rb.

require 'broach'
require 'capfire'

Capistrano::Configuration.instance(:must_exist).load do
Expand Down

0 comments on commit 2bfe32e

Please sign in to comment.