aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
diff options
context:
space:
mode:
authorOrhan Toy <toyorhan@gmail.com>2019-04-01 18:39:15 +0200
committerOrhan Toy <toyorhan@gmail.com>2019-04-01 18:39:15 +0200
commitdb4c6f5ecbdc2851fe5947fa36725f43cce52280 (patch)
treea31d58a4a8f57f6b1d258c34235de7ffb6f78ca6 /railties/lib/rails/generators
parente0a9e0259c56700fc83b3e886cdf7c04f6a83495 (diff)
downloadrails-db4c6f5ecbdc2851fe5947fa36725f43cce52280.tar.gz
rails-db4c6f5ecbdc2851fe5947fa36725f43cce52280.tar.bz2
rails-db4c6f5ecbdc2851fe5947fa36725f43cce52280.zip
Include final newline in generated .ruby-version
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/ruby-version.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/ruby-version.tt b/railties/lib/rails/generators/rails/app/templates/ruby-version.tt
index bac1339923..096cfd36a8 100644
--- a/railties/lib/rails/generators/rails/app/templates/ruby-version.tt
+++ b/railties/lib/rails/generators/rails/app/templates/ruby-version.tt
@@ -1 +1 @@
-<%= ENV["RBENV_VERSION"] || ENV["rvm_ruby_string"] || "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}" -%>
+<%= ENV["RBENV_VERSION"] || ENV["rvm_ruby_string"] || "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}" %>