Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible update packages for using ruby 3+? #107

Closed
JustSnow opened this issue May 31, 2023 · 2 comments
Closed

Is it possible update packages for using ruby 3+? #107

JustSnow opened this issue May 31, 2023 · 2 comments
Labels
question Further information is requested

Comments

@JustSnow
Copy link

Trying to integrate pyroscope for ruby 3.1.4/3.2.2 and getting error:

2023-05-31T16:01:06.246Z INFO  spytools::process::process_info > got symbol ruby_current_vm_ptr (0x00007f64bc3586a8) from library
thread '<unnamed>' panicked at 'Ruby version not supported yet: 3.2.2. In the meantime, we suggest trying `--force-version <prior version>`.', /work/pyroscope_backends/rbspy/src/core/ruby_version.rs:1790:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@JustSnow JustSnow added the question Further information is requested label May 31, 2023
@JustSnow
Copy link
Author

rbspy/rbspy#278

@korniltsev
Copy link
Collaborator

I can not confirm the problem

$ ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]

$ gem install pyroscope
Fetching ffi-1.15.5.gem
Fetching pyroscope-0.5.9-x86_64-linux.gem
Building native extensions. This could take a while...
Successfully installed ffi-1.15.5
Successfully installed pyroscope-0.5.9-x86_64-linux
Parsing documentation for ffi-1.15.5
Installing ri documentation for ffi-1.15.5
Parsing documentation for pyroscope-0.5.9-x86_64-linux
Installing ri documentation for pyroscope-0.5.9-x86_64-linux
Done installing documentation for ffi, pyroscope after 1 seconds
2 gems installed

A new release of RubyGems is available: 3.4.10 → 3.4.15!
Run `gem update --system 3.4.15` to update your installation.

$ ruby main.rb         

works file

Please share more info: pyroscope gem version if you use gem. cli version if you use cli. pyroscope configuration.
I'l close the issue for now. Feel free to reopen if the issue is still reproducible with pyroscope-0.5.9 gem or pyroscope-cli-0.2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants