Integrating QR Code Generation with rqrcode Gem in Package Installation

Hi,

I’m creating a package in which I need to generate qrcode I wanted to use the rqrcode gem for this, but I’m wondering how I can install it in the package so that automatically when I install it (package) this gem is added to gemfile.

You can add a file like this into your package:

Gemfile.local.your_package

gem 'rqrcode'

If the package (zpm) contains files like Gemfile* then it will show up additional commands in the UI of Admin → Package which will be required after package installation.

Related core code:

zammad/Gemfile at 31c03b93eed085ce184deb73a7288c904e5d2ffb · zammad/zammad · GitHub

zammad/app/models/package.rb at 31c03b93eed085ce184deb73a7288c904e5d2ffb · zammad/zammad · GitHub

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.