On May 10, 10:06 am, Guyren G Howe <
guy...@gmail.com> wrote:
> Doesn't the trace show trying to install ruby-debug-ide19, only to be told it requires ruby_core_source?
>
> This is in fact what I tried to do originally. It complained about wanting ruby_core_source, so I installed that, but it doesn't seem to have noticed.
>
Hi Guyren. I'm a total ruby/rails noob and have only been
experimenting with this for the last few days, just to see what all
the fuss is about, so I'm not exactly sure your problem is the same as
mine, but I was getting the exact same output. I had installed
ruby_core_source and it simply was ignored by the install of ruby-
debug19. I'm using Ubuntu 10.04 x64 btw.
I remembered that the other day when I first installed rails, at a
certain point some action required the GEM_HOME variable. I exported
it at the time (but didn't put it in /etc/profile or similar) and
whatever required it ran correctly.
Today I was getting the same output and it occurred to me that it
might have to do something with it. I exported the var as a non-root
user, did sudo install and nothing. Then I recalled that sudo'ing
wouldn't carry the var so I really needed a root shell and did this:
$ sudo su
# export GEM_HOME=/usr/lib/ruby1.9.1/gems/1.9.1/
# gem install ruby-debug19 (no sudo here!)
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Successfully installed linecache19-0.5.11
Successfully installed ruby-debug-base19-0.11.23
Successfully installed ruby-debug19-0.11.6
3 gems installed
Installing ri documentation for linecache19-0.5.11...
Installing ri documentation for ruby-debug-base19-0.11.23...
Installing ri documentation for ruby-debug19-0.11.6...
Updating class cache with 3239 classes...
Installing RDoc documentation for linecache19-0.5.11...
Installing RDoc documentation for ruby-debug-base19-0.11.23...
Installing RDoc documentation for ruby-debug19-0.11.6...
And this is the output I got. I'll probably put GEM_HOME in /etc/
export so just sudo'ing will work.
A friend of mine that knows a lot more than I about ruby/rails tells
me this shouldn't require the GEM_HOME var so there's probably
something wrong with Ubuntu Ruby or one of these gems. Still, hope it
gets you through. :)