Sha256: 53439bb46bd155eb234ac3687ece80beb4fa1f10f1f9a07ad91d094ae8e07287

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

puts "Setting up ruby env ... ".magenta

current_ruby = 'ruby-2.0.0'
current_gemset = @app_name

copy_static_file '.ruby-version'
gsub_file '.ruby-version', /RUBY_VERSION/, current_ruby

copy_static_file '.ruby-gemset'
gsub_file '.ruby-gemset', /GEMSET/, current_gemset

git :add => '.ruby-version'
git :add => '.ruby-gemset'
git :commit => "-qm 'Add .ruby-version and .ruby-gemset'"

puts "\n"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pah-0.0.10 lib/pah/partials/_ruby_env.rb