Skip to content

Remove irb from gemspec - #558

Merged
ccutrer merged 2 commits into
openhab:mainfrom
jimtng:fix-irb-deps
Aug 17, 2026
Merged

Remove irb from gemspec#558
ccutrer merged 2 commits into
openhab:mainfrom
jimtng:fix-irb-deps

Conversation

@jimtng

@jimtng jimtng commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Having irb as a dependency causes bundler to try to install newer version of irb which fails on docker due to its transitive dependency to prism. Prism can't install/build in a standard openhab docker environment.

As of JRuby 10.1.1.0 irb is still bundled, so not having the dependency here makes the addon's default gem installation to work fine.

When using Gemfile, one must explicitly add gem "irb" to the Gemfile to run the karaf jrubyscripting console (which is how it was before we added the irb dependency to gemspec).

Found the past attempts: #438, #415, #422 (issue caused by psych back then, it's prism now)

@jimtng jimtng added the bug Something isn't working label Aug 13, 2026
jimtng added 2 commits August 13, 2026 16:23
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
@jimtng jimtng changed the title Pin irb to < 1.8 so it doesn't depend on prism Remove irb from gemspec Aug 13, 2026
@jimtng
jimtng marked this pull request as ready for review August 13, 2026 06:45
@jimtng
jimtng requested a review from ccutrer August 13, 2026 06:46
@ccutrer
ccutrer merged commit ae6a5b8 into openhab:main Aug 17, 2026
18 checks passed
@jimtng
jimtng deleted the fix-irb-deps branch August 18, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants