nodex 0.1.1 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/nodex CHANGED
@@ -4,4 +4,4 @@ require 'rubygems'
4
4
  require 'nodex'
5
5
  require 'nodex/cli'
6
6
 
7
- Nodex::CLI.execute ARGV
7
+ Nodex::CLI.execute ARGV
@@ -24,7 +24,7 @@ module Nodex
24
24
  end
25
25
 
26
26
  def remote_setup
27
- remote_run "cd #{path} && #{git_clone} && #{app_checkout} && #{copy_example_file} && #{install_bundler} && #{bundle_cmd} && #{rake_db_create}"
27
+ remote_run bash("cd #{path} && #{git_clone} && #{app_checkout} && #{copy_example_file} && #{install_bundler} && #{bundle_cmd} && #{rake_db_create}")
28
28
  local_setup
29
29
  end
30
30
 
@@ -26,6 +26,10 @@ module Nodex
26
26
  Kernel.system "#{command}"
27
27
  end
28
28
 
29
+ def bash(command)
30
+ "bash -l -c #{command}"
31
+ end
32
+
29
33
  def clear_cache
30
34
  unless skip_step?('clear_cache')
31
35
  cache_dirs.each do |dir|
@@ -1,3 +1,3 @@
1
1
  module Nodex
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nodex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bruno S. Barros
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-07 00:00:00 -03:00
13
+ date: 2011-03-20 00:00:00 -03:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency