magicmonkey 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/magic_monkey.rb +2 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/lib/magic_monkey.rb CHANGED
@@ -65,9 +65,9 @@ module MagicMonkey
65
65
  applications.each do |app_name|
66
66
  if Conf[app_name]
67
67
  commands = []
68
- commands << "source '#{Etc.getpwuid.dir}/.rvm/scripts/rvm'"
68
+ commands << "source '#{Etc.getpwuid.dir}/.rvm/scripts/rvm'" if Conf[app_name][:ruby] != 'auto'
69
69
  commands << "cd '#{Conf[app_name][:app_path]}'"
70
- commands << "rvm #{v ? 'use ' : ''}'#{Conf[app_name][:ruby]}'"
70
+ commands << "rvm #{v ? 'use ' : ''}'#{Conf[app_name][:ruby]}'" if Conf[app_name][:ruby] != 'auto'
71
71
  case Conf[app_name][:app_server]
72
72
  when 'passenger'
73
73
  commands << "passenger start -e production -p #{Conf[app_name][:port]} #{Conf[app_name][:app_server_options]} -d"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: magicmonkey
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - pioz