Skip to content

Commit

Permalink
Exclude TruffleRuby to install stackprof gem in Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Jun 4, 2021
1 parent 21d2473 commit 9ab2922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ gemspec
group :development do
gem "bundler"
is_unix = RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
is_truffleruby = RUBY_DESCRIPTION =~ /truffleruby/
gem 'vterm', '>= 0.0.5' if is_unix && ENV['WITH_VTERM']
gem 'yamatanooroti', '>= 0.0.6'
gem "rake"
gem "stackprof" if is_unix
gem "stackprof" if is_unix && !is_truffleruby
end

0 comments on commit 9ab2922

Please sign in to comment.