Installed Ruby 1.9.2 but new gems won't create scripts into /usr/bin

Posted by karatedog on Ask Ubuntu See other posts from Ask Ubuntu or by karatedog
Published on 2011-03-13T22:36:14Z Indexed on 2011/03/14 0:17 UTC
Read the original article Hit count: 448

Filed under:
|
|

I had previously ruby 1.8 on my Ubuntu 10.10, which I removed through Synaptics. Then I have installed ruby 1.9.1 also via Synaptics (which is then saying that itself is version 1.9.2). Then I installed ruby-debug19 and rspec gems with sudo gem install ruby-debug19 rspec

However I can't start rdebug or rspec, but I can invoke the debugger from inside my ruby script, so the debugger is working. I inspected the starting scipts rdebug and rspec and then I realized that they are still old scripts back from ruby1.8 time. In other worlds, the current 1.9 install of these gems haven't created the starting scripts anywhere.

What is the easiest solution for a lazy soul like me? It looks like removing-reinstalling ruby 1.9.2 won't help, and installing these gems over and over againg won't create the starting scripts.

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about ruby