Skip to content

Commit

Permalink
add ruby-version file
Browse files Browse the repository at this point in the history
  • Loading branch information
damienlethiec committed Feb 7, 2018
1 parent 2a5ec1f commit 048d21a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ruby-version.tt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<%= RUBY_VERSION %>
4 changes: 3 additions & 1 deletion template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ def apply_template!

template 'README.md.tt', force: true

template "ruby-version.tt", ".ruby-version"

after_bundle do
run 'rails db:create db:migrate'

git flow: 'init -d'

git add: '.'
git commit: '-m "Initial commit for #{app_name}"'
git commit: '-m "End of the template generation'
end
end

Expand Down

0 comments on commit 048d21a

Please sign in to comment.