lib/bently/recipe/rvmrc.rb in bently-0.1.0 vs lib/bently/recipe/rvmrc.rb in bently-1.0.0

- old
+ new

@@ -1,17 +1,10 @@ module Bently class Rvmrc < Recipe - - step :touch_rvmrc - def touch_rvmrc - ruby_version = `rvm current`.chomp - shell( - lambda{|gemset| "echo \"rvm use --create #{ruby_version}@#{gemset}\" > .rvmrc" }, - :ask => "Enter a gemset name:", - :description => "Touch .rvmrc:\nrvm use --create #{ruby_version}@<gemset>" - ) + def initialize + run "echo \"rvm use --create 1.9.3@gemsetname\" > .rvmrc" end end end