From: Mike Owens Date: 2010-09-12T04:25:07+09:00 Subject: Re: Anyone running v1.9.2 with Ubuntu 10.04? --0016e6dbdf9f2a2e6c049000c8d3 Content-Type: text/plain; charset=ISO-8859-1 I hacked together a 1.9.2 deb source package based on the 1.9.1. As root, you can build binary packages from a clean chroot as follows: bash $ /usr/lib/pbuilder/pbuilder-createbuildenv bash $ cd /var/tmp && mkdir chroot bash $ tar -C /var/tmp/chroot -xzvf /var/cache/pbuilder/base.tgz bash $ mount -t mount devpts /dev/pts bash $ mount proc -t proc chroot/proc bash $ chroot /var/data/tmp/bin/bash bash $ . /etc/lsb-release bash $ locale-gen en_US.UTF-8 bash $ apt-get --allow-unauthenticated update bash $ apt-get --allow-unauthenticated -q -y install debhelper devscripts fakeroot \ ruby curl fakeroot pbuilder git-core ssh wget bash $ cd /var/tmp bash $ git clone git://github.com/linterra/ruby1.9.2.git bash $ cd rsp && /usr/lib/pbuilder/pbuilder-satisfydepends bash $ fakeroot debian/rules clean bash $ dpkg-build -b bash $ exit bash $ umount chroot/dev/pts bash $ umount chroot/proc bash $ cd chroot/var/tmp/ bash $ dpkg -i libruby1.9.2_1.9.2.0-1_i386.deb ruby1.9.2_1.9.2.0-1_i386.deb \ libreadline-ruby1.9.2_1.9.2.0-1_i386.deb irb1.9.2_1.9.2.0-1_all.deb ... etc. You need to have pbuilder already installed on your system. On Fri, Sep 10, 2010 at 5:02 PM, Sam Weber wrote: > I had LoadError problems when my box was running Ruby v1.8.? and v1.9.2. > Since I didn't get an answer to a recent post about the issue, I decided > to uninstall both versions and attempt to get on v1.9.2. But there's no > v1.9.2 package available yet for Ubuntu 10.04. So should I attempt to > build from source? I saw some posts about using RVM but the last thing > I want is another package managing layer. > -- > Posted via http://www.ruby-forum.com/. > > --0016e6dbdf9f2a2e6c049000c8d3--