Chris Olsen
3/6/2007 1:48:00 PM
On Mar 6, 6:37 am, Brian Candler <B.Cand...@pobox.com> wrote:
> On Tue, Mar 06, 2007 at 10:30:05PM +0900, chris wrote:
> > On Mar 6, 2:05 am, Brian Candler <B.Cand...@pobox.com> wrote:
> > > On Tue, Mar 06, 2007 at 01:30:20PM +0900, chris wrote:
> > > > I am trying to install ruby on ubuntu Edgy, but this is the error that
> > > > I am getting.
> > > ..
> > > > chris@chris-laptop:~/Desktop/rubygems-0.9.2/rubygems-0.9.0$ sudo ruby
> > > > setup.rb
> > > > setup.rb:52:in `require': no such file to load -- rbconfig (LoadError)
> > > > from setup.rb:52
>
> > > I don't think you're trying to install Ruby - I think you're trying to
> > > install rubygems.
>
> > > Assuming you installed ruby as the ubuntu package, then the bit you're
> > > missing can be installed using
>
> > > apt-get install ruby1.8-dev
>
> > > B.
>
> > Ooops my mistake, it is rubygems that I am installing, but I have
> > previoulsy re-installed ruby as you mentioned and I am still getting
> > the same error.
>
> Yes, but make sure you have "ruby1.8-dev" (note the -dev) and "libruby1.8"
> installed.
>
> On my system:
>
> $ dpkg-query -S /usr/lib/ruby/1.8/i486-linux/rbconfig.rb
> libruby1.8: /usr/lib/ruby/1.8/i486-linux/rbconfig.rb
>
> You probably also want packages "ruby1.8-examples", "irb1.8", "rdoc1.8" and
> "ri1.8"
>
> Brian.
It is the dev files that I have. For some reason in the i486 dir the
rbconfig.rb file is not there. I do also have all the other libraries
that you mentioned.