Skip to content

Commit

Permalink
Fix parser dependency (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
kxmbrian committed Feb 7, 2024
1 parent 760f55b commit 629e3a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.markdown
Expand Up @@ -21,6 +21,10 @@ Add the gem to your Gemfile

gem 'scout_apm'

Add [a version of the `parser` gem that supports your version of Ruby](https://github.com/whitequark/parser?tab=readme-ov-file#backwards-compatibility). For example, if you're on Ruby 3.3.0:

gem 'parser', '~> 3.3.0.0'

Update your Gemfile

bundle install
Expand Down
2 changes: 1 addition & 1 deletion scout_apm.gemspec
Expand Up @@ -28,7 +28,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake-compiler"
s.add_development_dependency "addressable"
s.add_development_dependency "activesupport"
s.add_runtime_dependency "parser", Gem::Version.new(RUBY_VERSION).approximate_recommendation
s.add_runtime_dependency "parser"

# These are general development dependencies which are used in instrumentation
# tests. Specific versions are pulled in using specific gemfiles, e.g.
Expand Down

0 comments on commit 629e3a8

Please sign in to comment.