summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-21 06:06:53 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-21 06:06:53 +0000
commit3b55f654077dfb7b4764eafa52579a83bd22152f (patch)
treef54f71952c75bfc3077d8f8cf1b2fc556eaaadf2 /bin
parentb900ae6107666deb601753eaa7abab0b299c006d (diff)
downloadredmine-3b55f654077dfb7b4764eafa52579a83bd22152f.tar.gz
redmine-3b55f654077dfb7b4764eafa52579a83bd22152f.zip
Remove frozen_string_literal magic comment from files which are not used when running the application or tests (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'bin')
-rwxr-xr-xbin/about1
-rwxr-xr-xbin/bundle1
-rw-r--r--bin/changelog.rb2
-rwxr-xr-xbin/rails2
-rwxr-xr-xbin/rake2
5 files changed, 0 insertions, 8 deletions
diff --git a/bin/about b/bin/about
index d1815f783..cfec3b406 100755
--- a/bin/about
+++ b/bin/about
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
ENV["RAILS_ENV"] ||= "production"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
diff --git a/bin/bundle b/bin/bundle
index 96e725c20..a169c9da9 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
load Gem.bin_path('bundler', 'bundle')
diff --git a/bin/changelog.rb b/bin/changelog.rb
index 36c11f458..7862f21eb 100644
--- a/bin/changelog.rb
+++ b/bin/changelog.rb
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
-
require 'optparse'
require 'ostruct'
require 'date'
diff --git a/bin/rails b/bin/rails
index 6ba2e160f..728cd85aa 100755
--- a/bin/rails
+++ b/bin/rails
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'
require 'rails/commands'
diff --git a/bin/rake b/bin/rake
index 15f8a9a8d..17240489f 100755
--- a/bin/rake
+++ b/bin/rake
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
-
require_relative '../config/boot'
require 'rake'
Rake.application.run