Skip to content

Commit ca1f95b

Browse files
committed
Prevent warning about redefinition
1 parent f7127ac commit ca1f95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source "https://rubygems.org"
22
version_file = File.expand_path("../.rails-version", __FILE__)
3-
RAILS_VERSION = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp)
3+
RAILS_VERSION = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp) || ""
44

55
gemspec
66

0 commit comments

Comments
 (0)