BY: Suraj Kurapati (snk)
DATE: 2007-07-09 14:34
SUBJECT: RE: Installing Ruby-VPI on Ubuntu


Rob MacAulay wrote:
> I think I have sucessfully installed, although it may be 
> worthwhile pointing out to other Ubuntu installers that one has
> to install ruby, *and* rake *and* gem *and* rcov using apt-get or
> the synaptic package manager. It was not sufficient to just
> install ruby, gem, and then rely on gem installs, because paths
> are not set up.

I use Ubuntu as well but I used apt-get only for installing ruby:

  sudo apt-get install ruby ruby1.8-dev rdoc irb ri eruby

Afterwards, I downloaded the rubygems tarball from their website,
extracted it, and ran:

  sudo setup.rb

Next, I installed ruby-vpi (and its dependencies) in one shot:

  sudo gem install ruby-vpi -y

So I think the solution is not to rely on Ubuntu's version of
rubygems, but to install rubygems manually.


Uninstall everything that is not in the core ruby distribution
(rubygems, rcov, rake) from apt-get, try the above solution, and let
me know how it works out.

> I did then install ruby-vpi using gem install, as shown in the
> instructions. This was OK, although if you don't install rake
> using apt-get, everything will fall over.

I deliberately uninstalled the rake gem and tried a fresh ruby-vpi
installation, and it does correctly install rake beforehand:

$ sudo gem install ruby-vpi
Need to update 17 gems from http://gems.rubyforge.org
.................
complete
Install required dependency rake? [Yn] y
Building native extensions. This could take a while...
Successfully installed ruby-vpi-16.0.1
Successfully installed rake-0.7.3
Installing ri documentation for rake-0.7.3...
Installing RDoc documentation for rake-0.7.3...

P.S. There will be a new release of Ruby-VPI this week with great
simplifications. So if the tutorial doesn't seem interesting, it's
all about to get better :)

Reply via email to