Unable to use debugger (debase-0.3.0-beta34 install error)
I am using both rbenv and Rubymine 2020.2. When I try to DEBUG a cucumber feature, I get an error when the IDE is installing its debase-0.3.0-beta34 gem:
Error running 'Unnamed': Failed to Install Gems. Following gems were not installed: /Applications/RubyMine.app/Contents/rb/gems/debase-0.3.0.beta8.gem: Error installing debase-0.3.0.beta8.gem: ERROR: Failed to build gem native extension. current directory:
Attached you can find a copy of my gem_make.out for this gem installation attempt. Furthermore. I have tried going ahead and installing that gem manually. However, I get this error:
$ gem install debase -v 0.3.0.beta34 --pre
ERROR: Could not find a valid gem 'debase' (= 0.3.0.beta34) in any repository
ERROR: Possible alternatives: debase
This is becoming a big issue since I need this debugger to work properly for this position I was just hired for. please help!!!
请先登录再写评论。
Same here:
That appears to be a known issue, could you please take a look at: https://youtrack.jetbrains.com/issue/RUBY-26866 Could you please specify which OS and XCode versions you're using?
Hi,
I am using MacOSX Catalina 10.15.6 (19G2021). As for the XCode, I do not have that installed on my system at all. Should I have that installed? If so, what version? I wasnt aware that was a prereq for Rubymine. please advise.
Sincerely,
Tiago Garcia
Also, here is my gem list:
*** LOCAL GEMS ***
activesupport (6.0.3.2, 6.0.2.1)
ast (2.4.1, 2.4.0)
axe-matchers (2.6.1, 2.5.0)
axiom-types (0.1.1)
backports (3.16.0)
benchmark (default: 0.1.0)
bigdecimal (default: 2.0.0)
builder (3.2.4)
bundler (2.1.4)
cgi (default: 0.1.0)
childprocess (3.0.0)
coderay (1.1.3, 1.1.2)
coercible (1.0.0)
concurrent-ruby (1.1.7, 1.1.5)
csv (default: 3.1.2)
cucumber (4.1.0, 3.1.2)
cucumber-core (7.1.0, 3.2.1)
cucumber-create-meta (1.0.0)
cucumber-cucumber-expressions (10.3.0)
cucumber-expressions (6.0.1)
cucumber-gherkin (14.2.0)
cucumber-html-formatter (7.2.0)
cucumber-messages (12.4.0)
cucumber-tag-expressions (2.0.4)
cucumber-tag_expressions (1.1.1)
cucumber-wire (3.1.0, 0.0.1)
data_magic (1.2)
date (default: 3.0.0)
dbm (default: 1.1.0)
debase (0.2.4.1)
debase-ruby_core_source (0.10.9)
delegate (default: 0.1.0)
descendants_tracker (0.0.4)
did_you_mean (default: 1.4.0)
diff-lcs (1.3)
domain_name (0.5.20190701)
dotenv (2.7.6, 2.7.5)
dumb_delegator (0.8.1)
equalizer (0.0.11)
etc (default: 1.1.0)
faker (2.13.0, 2.10.1)
fcntl (default: 1.0.0)
ffi (1.13.1)
fiddle (default: 1.0.0)
fig_newton (1.0)
fileutils (default: 1.4.1)
formatador (0.2.5)
forwardable (default: 1.3.1)
gdbm (default: 2.1.0)
getoptlong (default: 0.1.0)
gherkin (5.1.0)
graphql (1.11.2, 1.10.2)
graphql-client (0.16.0)
guard (2.16.2, 2.16.1)
guard-rake (1.0.0)
http-accept (1.7.0)
http-cookie (1.0.3)
i18n (1.8.5, 1.8.2)
ice_nine (0.11.2)
io-console (default: 0.5.6)
ipaddr (default: 1.2.2)
irb (default: 1.2.3)
jaro_winkler (1.5.4)
json (default: 2.3.0)
jwt (2.2.1)
listen (3.2.1)
logger (default: 1.4.2)
lumberjack (1.2.7, 1.2.4)
matrix (default: 0.2.0)
method_source (1.0.0, 0.9.2)
middleware (0.1.0)
mime-types (3.3.1)
mime-types-data (3.2020.0512, 3.2019.1009)
minitest (5.14.1, 5.14.0, 5.13.0)
multi_json (1.14.1)
multi_test (0.1.2)
mutex_m (default: 0.1.0)
nenv (0.3.0)
net-pop (default: 0.1.0)
net-smtp (default: 0.1.0)
net-telnet (0.2.0)
netrc (0.11.0)
notiffany (0.1.3)
observer (default: 0.1.0)
open3 (default: 0.1.0)
openssl (default: 2.1.2)
ostruct (default: 0.2.0)
page-object (2.2.6)
page_navigation (0.10)
parallel (1.19.2, 1.19.1)
parser (2.7.1.4, 2.7.0.2)
pg (1.2.3)
power_assert (1.1.7)
prime (default: 0.1.1)
protobuf-cucumber (3.10.8)
pry (0.13.1, 0.12.2)
pstore (default: 0.1.0)
psych (default: 3.1.0)
racc (default: 1.4.16)
rainbow (3.0.0)
rake (13.0.1)
rb-fsevent (0.10.4, 0.10.3)
rb-inotify (0.10.1)
rdoc (default: 6.2.1)
readline (default: 0.0.2)
readline-ext (default: 0.1.0)
regexp_parser (1.7.1, 1.6.0)
reline (default: 0.1.3)
rest-client (2.1.0)
rexml (3.2.4, default: 3.2.3)
rspec (3.9.0)
rspec-core (3.9.2, 3.9.1)
rspec-expectations (3.9.2, 3.9.0)
rspec-mocks (3.9.1)
rspec-support (3.9.3, 3.9.2)
rss (default: 0.2.8)
rubocop (0.89.1, 0.79.0)
rubocop-ast (0.3.0)
rubocop-performance (1.7.1, 1.5.2)
ruby-debug-ide (0.8.0.beta24, 0.8.0.beta8)
ruby-progressbar (1.10.1)
rubyzip (2.3.0, 2.2.0)
sdbm (default: 1.0.0)
selenium-webdriver (3.142.7)
shellany (0.0.1)
singleton (default: 0.1.0)
stringio (default: 0.1.0)
strscan (default: 1.0.3)
sys-uname (1.2.1)
test-unit (3.3.4)
thor (1.0.1)
thread_safe (0.3.6)
timeout (default: 0.1.0)
tracer (default: 0.1.0)
tzinfo (1.2.7, 1.2.6)
unf (0.1.4)
unf_ext (0.0.7.7, 0.0.7.6)
unicode-display_width (1.7.0, 1.6.1)
uri (default: 0.10.0)
virtus (1.0.5)
watir (6.16.5)
webrick (default: 1.6.0)
wiremock_mapper (2.2.0)
xmlrpc (0.3.0)
yaml (default: 0.1.0)
yml_reader (0.7)
zeitwerk (2.4.0, 2.2.2)
zlib (default: 1.1.0)
Furthermore, I have tried using other versions of Ruby (via rbenv): 2.7.1, 2.7.0,2.6.6, 2.5.8. However, none of those made this work. As a consequence I cannot get my debugger working.
Same issue. Running on RHEL 7.8.
Cannot start debugger. Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist. while trying to install debase -v 0.3.0.beta34 --pre
Also the link provided is broken
https://youtrack.jetbrains.com/issue/RUBY-26866
It looks like workaround is:
gem install --local $IDE_Folder/plugins/ruby/rb/gems/debase-0.3.0.beta34.gem -- --with-cflags="-Wno-error=implicit-function-declaration"
what in the Lord's name is $IDE_Folder?
ROFL :)
IDE_Folder is the location where RubyMine is unzipped or untarred
by running gem install --local /Applications/RubyMine\ 2.app/plugins/ruby/rb/gems/debase-0.3.0.beta34.gem -- --with-cflags="-Wno-error=implicit-function-declaration"
ERROR: Could not find a valid gem '/Applications/RubyMine 2/plugins/ruby/rb/gems/debase-0.3.0.beta34.gem' (>= 0) in any repository
Where could I get debase-0.3.0.beta34.gem ?
I could get only debase-0.2.4.1
Go to the folder where your RubyMine is present and traverse the path /plugins/ruby/rb/gems. i.e looks in the plugins folder,
See the list of gems in the gems folder and you ll see debase gem. If the correct version is not there then you need to download latest version of RubyMine.
upgrading to RubyMine 2020.2.2 RC solved the issue. The debug works in RubyMine 2020.2.2 RC
https://confluence.jetbrains.com/display/RUBYDEV/RubyMine+Preview+and+RC+builds
I was able to install the debugging gems after upgrade to RubyMine 2020.2.2
Interesting. I have 2020.3.2 on Catalina, and debug install fails.
Dave Horowitz, could you please specify which Ruby version you're using (and whether it's a local or remote one) and what kind of error you get?
Is this issue still open? Olga Kuvardina I am facing this exact same issue with the following:
* macOS Catalina 10.15.7
* Rubymine (installed via JetBrains Toolbox) 2020.3.4
Shikhar Raje, could you please provide more details about the Ruby SDK you're using and also attach the full error message. Does the same happen in 2021.2.3/2021.3 EAP?