lib/templates/create/install.sh in sunzi-1.1.2 vs lib/templates/create/install.sh in sunzi-1.2.0

- old
+ new

@@ -23,20 +23,20 @@ sed -i 's/ENABLED="false"/ENABLED="true"/' /etc/default/sysstat /etc/init.d/sysstat restart fi # Set RAILS_ENV -environment=$(cat attributes/environment) +environment=<%= @attributes.environment %> if ! grep -Fq "RAILS_ENV" ~/.bash_profile; then echo 'Setting up RAILS_ENV...' echo "export RAILS_ENV=$environment" >> ~/.bash_profile source ~/.bash_profile fi # Install Ruby using RVM source recipes/rvm.sh -ruby_version=$(cat attributes/ruby_version) +ruby_version=<%= @attributes.ruby_version %> if [[ "$(which ruby)" != /usr/local/rvm/rubies/ruby-$ruby_version* ]]; then echo "Installing ruby-$ruby_version" # Install dependencies using RVM autolibs - see https://blog.engineyard.com/2013/rvm-ruby-2-0 rvm install --autolibs=3 $ruby_version