kompanee-recipes 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kompanee-recipes might be problematic. Click here for more details.

@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module KompaneeRecipes
5
- VERSION = '0.0.8'
5
+ VERSION = '0.0.9'
6
6
  end
@@ -1,6 +1,7 @@
1
1
  require 'kompanee-recipes/ubuntu_server_setup'
2
2
  require 'kompanee-recipes/app_setup'
3
3
  require 'kompanee-recipes/bash_environment'
4
+ require 'bundler/capistrano'
4
5
 
5
6
  Capistrano::Configuration.instance(:must_exist).load do
6
7
  set :use_sudo, false
@@ -30,9 +31,9 @@ Capistrano::Configuration.instance(:must_exist).load do
30
31
  set :app_server_name, server_name
31
32
  set :db_server_name, server_name
32
33
 
33
- set :app_ruby_version, "ruby-1.8.7-head"
34
- set :default_ruby_version, "ruby-1.8.7-head"
35
- set :passenger_version, "2.2.13"
34
+ set :app_ruby_version, "ruby-1.9.2-head"
35
+ set :default_ruby_version, "ruby-1.9.2-head"
36
+ set :passenger_version, "3.0.0"
36
37
 
37
38
  ######################################################################
38
39
  # DATABASE SPECIFIC #
@@ -72,18 +73,6 @@ Capistrano::Configuration.instance(:must_exist).load do
72
73
  run "touch #{File.join(current_path,'tmp','restart.txt')}"
73
74
  end
74
75
 
75
- namespace :gems do
76
- desc "Install Bundled Gems"
77
- task :install do
78
- Net::SSH.start(web_server_ip, user) do |ssh|
79
- ssh.exec!("cd #{current_path} && bundle install")
80
- end
81
- end
82
-
83
- desc "Update Bundled Gems"
84
- task :update do deploy.gems.install; end
85
- end
86
-
87
76
  namespace :web do
88
77
  desc "Uses the Web Server to enable the site."
89
78
  task :site_up do
@@ -105,7 +94,7 @@ Capistrano::Configuration.instance(:must_exist).load do
105
94
  ubuntu.apache.stop
106
95
  end
107
96
 
108
- desc "Takes the entire web server up."
97
+ desc "Restarts then entire web server."
109
98
  task :server_restart do
110
99
  ubuntu.apache.restart
111
100
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kompanee-recipes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Kompanee