ec2launcher 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.1.1
2
+
3
+ * Change to calling Bash directly in startup script, instead of running Bash in sh compatibility mode.
4
+
1
5
  ## 1.1.0
2
6
 
3
7
  * Backward imcompatible change. Now defaults to running "ruby", "gem", "chef-client" and "knife" based on the environment.
data/lib/ec2launcher.rb CHANGED
@@ -647,7 +647,7 @@ module EC2Launcher
647
647
  ##############################
648
648
  # Build launch command
649
649
  user_data = <<EOF
650
- #!/bin/sh
650
+ #!/bin/bash
651
651
  cat > /tmp/setup.json <<End-Of-Message-JSON
652
652
  #{setup_json.to_json}
653
653
  End-Of-Message-JSON
@@ -655,8 +655,8 @@ EOF
655
655
  if @environment.use_rvm or @application.use_rvm
656
656
  user_data += <<-EOF
657
657
  export HOME=/root
658
- if [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
659
- source "/usr/local/rvm/scripts/rvm"
658
+ if [[ -s "/etc/profile.d/rvm.sh" ]] ; then
659
+ source "/etc/profile.d/rvm.sh"
660
660
  fi
661
661
  EOF
662
662
  end
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2012 Sean Laurent
3
3
  #
4
4
  module EC2Launcher
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: