Sha256: ff140ae047bc7caaf4501865eebf218af8b9366702d9931b10db8eb5aca1c484
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
module Playmo module Recipes class RvmRecipe < Playmo::Recipe source_root File.expand_path('../templates/rvm_recipe', __FILE__) def setup silently do if system 'which rvm' run "cd #{application_name} && rvm #{RUBY_VERSION}@#{application_name} --rvmrc --create" end end end end end end # Write down this recipe to our Cookbook if it's available require File.dirname(__FILE__) + '/capistrano_recipe' Playmo::Cookbook.instance.insert_after(Playmo::Recipes::CapistranoRecipe, Playmo::Recipes::RvmRecipe) if defined?(Playmo::Cookbook)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playmo-0.0.18 | lib/playmo/recipes/rvm_recipe.rb |