Re: Upgrade to 1.8.4



The big trick on Ubuntu is to make sure you have all the prerequisite
development packages installed before building ruby (i.e. zlib,
readline, etc). Without these you will get a version of ruby to build,
but it will be missing important libraries (without which gems among
many others will not work).

I had assumed this stuff would have been installed, but Ubuntu is
geared toward "normal" desktop users and not developers so these very
common development packages are not installed unless you go out and
get them first. After that ruby builds find and 1.8.4 works like a
champ. I uninstalled ruby (apt-get remove) before installing the newer
build, you could also set the prefix if you do not want it in
/usr/local.

Good luck
pth

On 3/31/06, Stuart Batty <stuart.batty@xxxxxxxxx> wrote:
I'm running Ubuntu 5.10 and currently have ruby 1.8.2 installed. I would
like to upgrade to 1.8.4 but there doesn't seem to be an available deb
package for 1.8.4. Can someone give me some pointers on upgrading using
the source? I don't want to have version collisions or have both
versions installed.

Thanks

--
Posted via http://www.ruby-forum.com/.




.



Relevant Pages

  • Re: Ruby GUI Survey: Results
    ... Doing the survey prompted me to try out Ruby's stdlib Tk on OS X - just running a couple of the samples. ... I'm of the opinion that Tk isn't a fantastic GUI option for Ruby, but in recent incarnations it's not as bad as most people are aware, though the lack of awareness itself is an issue. ... If it takes installing some extra packages after installing Ruby to make Tk look as good as possible, then why wouldn't a user just install some other GUI package that's at the end of a 'gem install xxx' command. ...
    (comp.lang.ruby)
  • Re: Mac OSX Ruby Configuration Question
    ... Installing in /usr/local and prepending it to your path is the usual ... I have become convinced that not completely obliterating the Apple-default Ruby is a mistake. ... My text editing program lets me run text through shell scripts as text filters; so I wrote a Ruby script to pretty-format HTML. ... Not many people appear to have noticed that Apple installs scripting languages in /Library or /System/Library, not in invisible folders, except for the command-line binaries for the languages, which are in /usr/bin. ...
    (comp.lang.ruby)
  • Re: IRB doesnt like umlaut u (Re: Ruby install on Kubuntu Linux - why so spread out)
    ... OVERLORDS (Todd Benson and Peter Hickman) of alt.comp.ruby as a ruby ... This way of installing things has its problems and limitations but so ...
    (comp.lang.ruby)
  • Re: extremely hard to install rubygems on hpux
    ... checked program was: ... after installing ruby 1.8.7.p72 successfully, ... I trace the zlib location ruby wants. ... reason gem is failed. ...
    (comp.lang.ruby)
  • Re: Uninstalling Ruby 1.8.7 Help
    ... I have run into a bind, and need to manually uninstall Ruby 1.8.7 from ... Im running OS X Leopard and installed Ruby there so to not overwrite my ... anything and I think I may have screwed it up while I was installing it ...
    (comp.lang.ruby)