Skip to content

Remove orphaned clipboard-rails gem - #80

Merged
JuanVqz merged 1 commit into
mainfrom
chore/remove-clipboard-rails
Jul 8, 2026
Merged

Remove orphaned clipboard-rails gem#80
JuanVqz merged 1 commit into
mainfrom
chore/remove-clipboard-rails

Conversation

@JuanVqz

@JuanVqz JuanVqz commented Jul 8, 2026

Copy link
Copy Markdown
Member

What

Removes the orphaned clipboard-rails gem.

Why

clipboard-rails was pulled into the asset bundle via //= require clipboard in app/assets/javascripts/application.js, but nothing in the app ever used it:

  • No Clipboard() / new Clipboard(...) instantiation
  • No data-clipboard-* attributes in any view
  • No copy-to-clipboard wiring anywhere

It is an orphaned dependency (a dead require with no consumer), not a used feature.

Changes

  • Removed gem "clipboard-rails" from the Gemfile
  • Removed the dead //= require clipboard line from the asset manifest
  • Updated Gemfile.lock and the dual-boot Gemfile.next.lock

Verification

  • App boots on the changed bundle
  • assets:precompile succeeds without the require
  • Full test suite passes: 16 runs, 52 assertions, 0 failures, 0 errors, 0 skips

clipboard-rails was included via //= require clipboard in the asset
manifest but never used: no Clipboard() instantiation, no data-clipboard-*
attributes, no copy-to-clipboard wiring anywhere in the app. An orphaned
dependency, not a used feature.

Dropped both the gem line and the dead manifest require; updated
Gemfile.lock and the dual-boot Gemfile.next.lock.

Verified: boots, assets precompile without the require, and the full test
suite passes (16 runs, 52 assertions, 0 failures).
@JuanVqz JuanVqz self-assigned this Jul 8, 2026
@JuanVqz
JuanVqz marked this pull request as ready for review July 8, 2026 19:15
@JuanVqz
JuanVqz merged commit 4256573 into main Jul 8, 2026
2 checks passed
@JuanVqz
JuanVqz deleted the chore/remove-clipboard-rails branch July 8, 2026 19:19
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