Sha256: 96bc6d871050346716f8938261b6aeb033a47fde6f672dd6f103df9b7f3f57fb

Contents?: true

Size: 476 Bytes

Versions: 2

Compression:

Stored size: 476 Bytes

Contents

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

current_ruby = 'ruby-2.1.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'"

copy_static_file '.env'
git :add => '.env'
git :commit => "-qm 'Add .env file'"

puts "\n"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pah-0.0.12 lib/pah/partials/_ruby_env.rb
pah-0.0.11 lib/pah/partials/_ruby_env.rb