Permalink
Browse files

Use __dirname instead of @configuration.bin

  • Loading branch information...
sstephenson committed Jun 6, 2012
1 parent a4ad5af commit 831469e8ef71cc68277df87420204acfb0d6800c
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/rack_application.js
  2. +1 −1 src/rack_application.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -112,7 +112,7 @@ module.exports = class RackApplication
if rvmrcExists
exists rvm = @configuration.rvmPath, (rvmExists) =>
if rvmExists
- libexecPath = resolve @configuration.bin, "../../libexec"
+ libexecPath = resolve "#{__dirname}/../libexec"
before = """
'#{libexecPath}/pow_rvm_deprecation_notice' '#{[@firstHost]}'
source '#{rvm}' > /dev/null

0 comments on commit 831469e

Please sign in to comment.