Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed typo, added gemify stuff

  • Loading branch information...
commit 0ae6ce43d2c3699478aed2da41fb872a2c8508f3 1 parent e78c343
Pat Nakajima authored

Showing 3 changed files with 12 additions and 3 deletions. Show diff stats Hide diff stats

  1. +6 0 .gemified
  2. +4 1 .manifest
  3. +2 2 lib/capinatra.rb
6 .gemified
... ... @@ -0,0 +1,6 @@
  1 +---
  2 +:summary: Quickly deploy Sinatra apps on Passenger
  3 +:dependencies:
  4 +- capistrano
  5 +:name: capinatra
  6 +:version: 0.0.1
5 .manifest
... ... @@ -1,2 +1,5 @@
1 1 bin/capinatra
2   -lib/capinatra.rb
  2 +lib/capinatra.rb
  3 +templates/Capfile
  4 +templates/config.ru.erb
  5 +templates/vhost.conf.erb
4 lib/capinatra.rb
@@ -7,7 +7,7 @@
7 7 desc "Sets up apache vhost"
8 8 task :vhost do
9 9 logger.info 'compiling vhost template'
10   - template = File.read(File.dirname(__FILE__), '..', 'templates', 'vhost.conf.erb')
  10 + template = File.read(File.join(File.dirname(__FILE__), '..', 'templates', 'vhost.conf.erb'))
11 11
12 12 logger.info 'uploading vhost file'
13 13 put ERB.new(template).result(binding), "#{application}.conf"
@@ -22,7 +22,7 @@
22 22 desc "Adds config.ru file"
23 23 task :config do
24 24 logger.info 'compiling config.ru template'
25   - template = File.read(File.dirname(__FILE__), '..', 'templates', 'config.ru.erb')
  25 + template = File.read(File.join(File.dirname(__FILE__), '..', 'templates', 'config.ru.erb'))
26 26
27 27 logger.info 'uploading config.ru file'
28 28 put ERB.new(template).result(binding), "config.ru"

0 comments on commit 0ae6ce4

Please sign in to comment.
Something went wrong with that request. Please try again.