# Habe Schwierigkeiten bei der Installation des \`eth\`-Gems in einem Plugin in der Produktion

**URL:** <https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496>\
**Category:** Development\
**Created:** [8. Februar 2022 um 11:54 UTC](https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496 "2022-02-08T11:54:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [14. März 2022 um 07:12 UTC](https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496/7 "2022-03-14T07:12:28Z")

</div>

Habe ich in

> <https://github.com/discourse/discourse/pull/16176>
>
> when bundler is loaded, it sets the \`RUBYOPT\` environment variable to setup bund…ler. However, it was causing weird errors like the following when we try to install
> custom plugin gems into a specific directory.
> 
> \`\`\`
> /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/source/git.rb:214:in \`rescue in load\_spec\_files': https://github.com/discourse/mail.git is not yet checked out. Run \`bundle install\` first. (Bundler::GitError)
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/source/git.rb:210:in \`load\_spec\_files'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/source/path.rb:107:in \`local\_specs'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/source/git.rb:178:in \`specs'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/lazy\_specification.rb:88:in \`\_\_materialize\_\_'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/spec\_set.rb:75:in \`block in materialize'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/spec\_set.rb:72:in \`map!'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/spec\_set.rb:72:in \`materialize'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/definition.rb:468:in \`materialize'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/definition.rb:190:in \`specs'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/definition.rb:238:in \`specs\_for'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/runtime.rb:18:in \`setup'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler.rb:151:in \`setup'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/setup.rb:20:in \`block in \<top (required)\>'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/ui/shell.rb:136:in \`with\_level'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/ui/shell.rb:88:in \`silence'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/gems/2.7.0/gems/bundler-2.3.5/lib/bundler/setup.rb:20:in \`\<top (required)\>'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/site\_ruby/2.7.0/rubygems/core\_ext/kernel\_require.rb:85:in \`require'
> from /home/tgxworld/.asdf/installs/ruby/2.7.5/lib/ruby/site\_ruby/2.7.0/rubygems/core\_ext/kernel\_require.rb:85:in \`require'
> \`\`\`

gemacht

---

_[View the full topic](https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496)._
