ruby-filemagic icon indicating copy to clipboard operation
ruby-filemagic copied to clipboard

Ruby bindings to the magic(4) library, revised.

Results 12 ruby-filemagic issues
Sort by recently updated
recently updated
newest added

gem install ruby-filemagic Fetching: ruby-filemagic-0.7.2.gem (100%) Temporarily enhancing PATH to include DevKit... ERROR: While executing gem ... (Errno::EACCES) Permission denied @ rb_file_s_symlink - (test/pyfile, C:/ruby/ruby-2.3.3-x64-mingw32/lib/ruby/gems/2.3.0/gems/ruby-filemagic-0.7.2/test/pylink)

The ruby-filemagic gem has several incompatibilities with [RubyInstaller-2.4](https://rubyinstaller.org/2017/05/25/rubyinstaller-2.4.1-1-released.html). 1. The `ruby_filemagic.so` load error in the binary gem can probably be fixed per `RubyInstaller::Runtime.add_dll_directory` - see [here](https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#dll-loading). 1. The gem should...

Increased version string temporary buffers from 8 to 16 bytes to suppress the following note, and 17 or 18 other lines of output, when compiling filemagic.c: note: ‘sprintf’ output between...

Using default directories in publicly available gems can cause problems because the directories are used when building unless all of them are overridden. For this gem it means running "gem...

Don't package test/pylink (a symbolic link to test/pyfile). Gem packaging creates a dangling symbolic link. Also, symbolic links might even be supported on the installation system. Create the link if...

Force test-unit gem to be used unless "USE_TEST_UNIT=no" is set in the environment. If "USE_TEST_UNIT=no" is set in the environment and minitest_tu_shim is installed, then minitest will be used instead...

If minitest_tu_shim is installed, then minitest will be used instead of test-unit resulting in deprecation warnings for assert_raise. Use assert_raises because it works with both test-unit and minitest.

Docker container alpine is used a lot. For those who are looking for the libs in Alpine the readme will specify it

I recently updated from Ruby 3.0.2 to 3.3.0 and I started getting the following warning at the line where I call `FileMatic.new`: ``` warning: undefining the allocator of T_DATA class...

alpine requires build-base to install