]> source.dussan.org Git - redmine.git/commitdiff
Add ci:about task to display ruby version in build output.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 26 Oct 2014 14:11:08 +0000 (14:11 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 26 Oct 2014 14:11:08 +0000 (14:11 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13511 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/ci.rake

index 857cc232d1de5a557e7f609335d5bfeff84f306e..52a876b2cd3af5ef0eb6e6569133ade1b2bddab7 100644 (file)
@@ -9,6 +9,11 @@ task :ci do
 end
 
 namespace :ci do
+  desc "Display info about the build environment"
+  task :about do
+    puts "Ruby version: #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
+  end
+
   desc "Setup Redmine for a new build"
   task :setup do
     Rake::Task["tmp:clear"].invoke