dd-trace-rb icon indicating copy to clipboard operation
dd-trace-rb copied to clipboard

DD_PROFILING_NO_EXTENSION=true bundle install required

Open dondenoncourt opened this issue 2 years ago • 1 comments

I'm on a Mac M1 and I was unable to bundle install the ddtrace gem version 0.54.1 So I used that DD_PROFILING_NO_EXTENSION=true bundle install required option to get past on my local environment.

dondenoncourt avatar Aug 19 '22 13:08 dondenoncourt

Hey @dondenoncourt thanks for the report and sorry that you ran into the issue!

Using that option should have zero impact (so you can keep it enabled); it will just prevent you from enabling profiling if you ever chose to do so (and you'll get a helpful log message telling you that you've disabled it).

You mentioned you're running the 0.54.1 release; we actually did a number of fixes that should mean that option is no longer needed on the latest release (1.3.0), so that's my 1st recommendation.

If you still need to be on the 0.x series, you may want to try the 0.54.2 release which includes some of those fixes as well (but not all) -- that's my 2nd recommendation.

Let me know if we can help further 😄

ivoanjo avatar Aug 19 '22 14:08 ivoanjo

Hey! It's been a while since this ticket, and modern versions of dd-trace-rb include code that auto-detects macOS and avoids building the extension to avoid any issues.

I'm going to to ahead and close the ticket! Do reach out if we can help out further with this or anything else :)

ivoanjo avatar Jun 27 '23 16:06 ivoanjo