This forum is no longer active. Please post your questions to our new community site
cannot debug ruby apps
|
|
Hi! I have installed Bitnami Rubystack on Ubuntu. I also have installed a gem, When I try to launch the server, i.e. I get What’s the issue here? :-( Tuo |
|
|
I got it! Seems to me that “sudo gem” launches the wrong gem binary. After I used the absolute path for the gem binary in my bitnami directory, I got bash-3.2$ /home/tuope/WWW/RoR/ruby/bin/gem install ruby-debug And now I can launch the server with the debugger enabled. :-) Tuo |
|
|
Hi, RubyStack is completly self-contained and independent of your system. You should use the gem binary that the Stack ships to install the ruby-debug gem:
or you can run the rubyconsole to load the Stack environment:
then you can check that now you are using the gem Stack binary:
I hope it helps. |
|
|
beltran, indeed. :-) bash-3.2$ sudo which gem No wonder it was not working. Thanks for your reply. One of the GREAT things about the Bitnami Rubystack is definitely the fact that it is self-contained and independent of the rest of the system. Anyway, I am so relieved that I got this issue solved. Thanks again for replying. Tuo |
|
|
I’m glad to hear this :) Let us know any question or suggestion to improve it. Cheers. |
|
|
I too am unsuccessful at installing ruby debug with Rubystack however my error keeps telling me that the current directory is invalid. I’ve tried this several times in different directories but always get the same message. I’m on a Vista 32 bit machine…which may be an issue itself. Error message: C:\Program Files\BitNami RubyStack\ruby\bin>gem install ruby-debug “C:/Program Files/BitNami RubyStack/ruby/bin/ruby.exe” extconf.rb Gem files will remain installed in C:/Program Files/BitNami RubyStack/ruby/lib/r |
|
|
Hi Taking a look the following post , it seems that the 10.0 version does not include the precompiled gem and try to compile it. Try to install the 0.9.3 version:
|

