Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
4cd33a2c
Commit
4cd33a2c
authored
3 years ago
by
Claire
Committed by
Eugen Rochko
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix "bundle exec rails mastodon:setup" crashing in some circumstances (#16976)
Fix regression from #16896
parent
f264cca1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/tasks/mastodon.rake
+3
-3
lib/tasks/mastodon.rake
with
3 additions
and
3 deletions
+3
-3
lib/tasks/mastodon.rake
+
3
-
3
View file @
4cd33a2c
...
...
@@ -350,11 +350,11 @@ namespace :mastodon do
end
end
.
join
(
"
\n
"
)
generated_header
=
"# Generated with mastodon:setup on
#{
Time
.
now
.
utc
}
\n\n
"
generated_header
=
"# Generated with mastodon:setup on
#{
Time
.
now
.
utc
}
\n\n
"
.
dup
if
incompatible_syntax
generated_header
<<
"Some variables in this file will be interpreted differently whether you are
\n
"
generated_header
<<
"using docker-compose or not.
\n\n
"
generated_header
<<
"
#
Some variables in this file will be interpreted differently whether you are
\n
"
generated_header
<<
"
#
using docker-compose or not.
\n\n
"
end
File
.
write
(
Rails
.
root
.
join
(
'.env.production'
),
"
#{
generated_header
}#{
env_contents
}
\n
"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets