ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
370 stars 83 forks source link

can not install on macOS Mojave #163

Open qiulang opened 5 years ago

qiulang commented 5 years ago
qiulangs-MacBook-Pro:bundle qiulang$ sudo gem install ruby-debug-ide
Password:
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /usr/bin directory.
qiulangs-MacBook-Pro:bundle qiulang$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.2
BuildVersion:   18C54
qiulangs-MacBook-Pro:bundle qiulang$ ruby --version
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
qiulangs-MacBook-Pro:bundle qiulang$ which ruby
/usr/bin/ruby
qiulang commented 5 years ago

I guess my issue is more like a question, i.e. how do I installruby-debug-ide on macOS Mojava ? Right now my workaround is to rvm --default use ... then install it. But I was wondering is there a better way ?

ViugiNick commented 5 years ago

@qiulang Can you please thy to run ll -a command in usr/bin?

qiulang commented 5 years ago

Sorry just found your response. There are many commands in there, which one were you looking for?

ViugiNick commented 5 years ago

@qiulang I meant that you probably have a problem with the write access to /usr/bin. As said in error message you attached(ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.). I think that after you solve this problem everything will work fine.