Skip to content

Remove dependency to fiddley - #258

Merged
shugo merged 2 commits into
mainfrom
fix/remove-fiddley-dependency
Aug 24, 2026
Merged

Remove dependency to fiddley#258
shugo merged 2 commits into
mainfrom
fix/remove-fiddley-dependency

Conversation

@shugo

@shugo shugo commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Because clipboard-2.0.0 doesn't work with fiddley:

NoMethodError: undefined method 'null?' for an instance of Fiddley::MemoryPointer
C:/Ruby34-x64/lib/ruby/gems/3.4.0/gems/clipboard-2.0.0/lib/clipboard/windows.rb:58:in 'C
lipboard::Windows#paste'

Windows users should install ffi instead if they want clipboard commands.

Because clipboard-2.0.0 doesn't work with fiddley:

```
NoMethodError: undefined method 'null?' for an instance of Fiddley::MemoryPointer
C:/Ruby34-x64/lib/ruby/gems/3.4.0/gems/clipboard-2.0.0/lib/clipboard/windows.rb:58:in 'C
lipboard::Windows#paste'
```

Windows users should install ffi instead if they want clipboard commands.
@shugo
shugo enabled auto-merge August 24, 2026 06:27
Without fiddle, the following error occurs on Windows:

```
C:/hostedtoolcache/windows/Ruby/4.0.6/x64/lib/ruby/4.0.0/bundled_gems.rb:60:in 'Kernel.require': cannot load such file -- fiddle/import (LoadError)
	from C:/hostedtoolcache/windows/Ruby/4.0.6/x64/lib/ruby/4.0.0/bundled_gems.rb:60:in 'block (2 levels) in Kernel#replace_require'
	from D:/a/textbringer/textbringer/vendor/bundle/ruby/4.0.0/gems/reline-0.7.0/lib/reline/io/windows.rb:1:in '<top (required)>'
```
@shugo shugo changed the title Remove dependencies to fiddle and fiddley Remove dependencies to fiddley Aug 24, 2026
@shugo shugo changed the title Remove dependencies to fiddley Remove dependency to fiddley Aug 24, 2026
@shugo
shugo merged commit 1d6a78b into main Aug 24, 2026
7 checks passed
@shugo
shugo deleted the fix/remove-fiddley-dependency branch August 24, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant