jellybob / mimemagic

Mime type detection in ruby via file extension or file content
https://github.com/minad/mimemagic
MIT License
10 stars 6 forks source link

Issue running rake test #4

Open olafura opened 3 years ago

olafura commented 3 years ago

I'm getting:

~/dev/mimemagic$ rake default

File does not exist: mimemagic/path

rake aborted!
Command failed with status (1)
jellybob commented 3 years ago

Thanks - I'd completely forgotten about that. I need to go and do my actual job for a bit, since I've been neglecting that getting this version shipped, but will pick this up in the next week or so.

olafura commented 3 years ago

@jellybob no problem. Thanks for taking the lead in fixing all of this, it's has been really interesting time since all of this happened :D

So you have any trick to run the rake so it generes the file?

olafura commented 3 years ago

It's this issue: https://travis-ci.com/github/jellybob/mimemagic/jobs/493705730

olafura commented 3 years ago

Ah I see you released the package will test

jellybob commented 3 years ago

If you want to run tests you can run ext/mimemagic/Rakefile, which will create the file in the right place.