Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mimemagic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
mimemagic
Commits
560ac3d7
Unverified
Commit
560ac3d7
authored
Mar 25, 2021
by
Jon Wood
Committed by
GitHub
Mar 25, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #115 from NickLaMuro/ruby-2.2-compliant-Rakefile
[ex/mimemagic/Rakefile] Use older Ruby HEREDOC
parents
00fbbd4c
73d58ba6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ext/mimemagic/Rakefile
+1
-1
No files found.
ext/mimemagic/Rakefile
View file @
560ac3d7
...
@@ -11,7 +11,7 @@ def locate_mime_database
...
@@ -11,7 +11,7 @@ def locate_mime_database
path
=
possible_paths
.
find
{
|
candidate
|
File
.
exist?
(
candidate
)
}
path
=
possible_paths
.
find
{
|
candidate
|
File
.
exist?
(
candidate
)
}
return
path
unless
path
.
nil?
return
path
unless
path
.
nil?
raise
(
<<
~
ERROR
)
raise
(
<<
-
ERROR
.
gsub
(
/^ {3}/
,
""
)
)
Could not find MIME type database in the following locations:
#{
possible_paths
}
Could not find MIME type database in the following locations:
#{
possible_paths
}
Ensure you have either installed the shared-mime-info package for your distribution, or
Ensure you have either installed the shared-mime-info package for your distribution, or
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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