patterninc / datadog_notifier

MIT License
1 stars 1 forks source link

Using v1.0.3 doesn't work #7

Open prateekkish opened 6 months ago

prateekkish commented 6 months ago

Steps to reproduce

  1. Use the gem in a rails application with the tag v1.0.3
gem 'datadog_notifier', git: 'https://github.com/patterninc/datadog_notifier.git', tag: 'v1.0.3'
  1. Bundle install
Bundler 2.3.23 is running, but your lockfile was generated with 2.3.26. Installing Bundler 2.3.26 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.3.26
Installing bundler 2.3.26
Fetching https://github.com/patterninc/datadog_notifier.git

[!] There was an error while loading `datadog_notifier.gemspec`: cannot load such file -- ddtrace. Bundler cannot continue.

 #  from /Users/prateekchoudhary/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/bundler/gems/datadog_notifier-634e26abda24/datadog_notifier.gemspec:3
 #  -------------------------------------------
 #  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
 >  require 'datadog_notifier'
 #  require "datadog_notifier/version"
 #  -------------------------------------------

EDIT - Adding ruby and ddtrace version as requested

ddtrace (1.18.0) ruby - 3.1.2

amoludage commented 6 months ago

@prateekkish could you please share ruby and ddtrace version you are using in your application?

prateekkish commented 6 months ago

This happened with: ddtrace (1.18.0) ruby - 3.1.2

amoludage commented 6 months ago

@prateekkish As discussed I tried with both the projects you shared and its working fine on my development env.