From 3433752b66a4f50345f5d7d60bbfbf2655eb36ea Mon Sep 17 00:00:00 2001 From: GEK62 Date: Thu, 4 Nov 2021 11:20:04 +0300 Subject: [PATCH 1/2] First init --- Gek62/hometask-1/hello_world.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 Gek62/hometask-1/hello_world.rb diff --git a/Gek62/hometask-1/hello_world.rb b/Gek62/hometask-1/hello_world.rb new file mode 100755 index 00000000..f6d9097c --- /dev/null +++ b/Gek62/hometask-1/hello_world.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +# !/usr/bin/env ruby + +puts 'Hello World!' From 8abee98d212b40931e7ed151edaa9077b4979bdd Mon Sep 17 00:00:00 2001 From: GEK62 Date: Thu, 4 Nov 2021 14:51:56 +0300 Subject: [PATCH 2/2] Local run fix --- Gek62/hometask-1/hello_world.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gek62/hometask-1/hello_world.rb b/Gek62/hometask-1/hello_world.rb index f6d9097c..ac0eb034 100755 --- a/Gek62/hometask-1/hello_world.rb +++ b/Gek62/hometask-1/hello_world.rb @@ -1,5 +1,5 @@ -# frozen_string_literal: true +#!/usr/bin/env ruby -# !/usr/bin/env ruby +# frozen_string_literal: true puts 'Hello World!'