Comments on: Installing ruby 1.8.7 (and guessnet) on Hardy http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/ A blog on rails, php, computing, my bass guitar and stuff Wed, 17 Oct 2012 04:54:02 +0000 hourly 1 http://wordpress.org/?v=3.5 By: Pulkit http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-5858 Pulkit Thu, 10 Dec 2009 14:08:43 +0000 http://www.vanutsteen.nl/?p=111#comment-5858 for the line numbers just use vim and do a
:%s/\d\d\.//g and :%s/\d\.//g

:%s/\d{1,2}\.//g wasn’t working, apparently vim doesn’t recognize this construct. anyway the one mentioned above will work.

]]>
By: sandeep http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-5852 sandeep Thu, 05 Nov 2009 11:50:04 +0000 http://www.vanutsteen.nl/?p=111#comment-5852 thanks for the great writeup leon! and thank you, tobyo, for the tip!

]]>
By: TOBY http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-4797 TOBY Tue, 28 Jul 2009 03:30:07 +0000 http://www.vanutsteen.nl/?p=111#comment-4797 Hi, Thank you for your nice tips.

I have one problem.
sudo aptitude safe-upgrade
then, it goes and does 306 all packages upgrade to intrepid…
Can I no-upgrade it to intrepid without only ruby?

]]>
By: lardawge http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-4708 lardawge Thu, 23 Jul 2009 15:50:14 +0000 http://www.vanutsteen.nl/?p=111#comment-4708 Looks like it only installs p72. Vulnerabilities are fixed in p174. Sorry for the downer. Instructions to install from source?

]]>
By: The Irish Penguin http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-2030 The Irish Penguin Wed, 29 Apr 2009 20:41:28 +0000 http://www.vanutsteen.nl/?p=111#comment-2030 This guide is great, thanks!

I had to use sudo apt-get update and sudo apt-get install ruby guessnet instead of the aptitude commands. Not sure why as I usually use aptitude.

Nice one. Ciao!

]]>
By: Giridhar http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-1713 Giridhar Mon, 20 Apr 2009 06:52:17 +0000 http://www.vanutsteen.nl/?p=111#comment-1713 Thanks, it worked exactly what you have specified. If possible remove the line numbers.

]]>
By: spencer http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-702 spencer Thu, 19 Feb 2009 19:31:55 +0000 http://www.vanutsteen.nl/?p=111#comment-702 Ya, not to bite the hand that feeds, I really appreciate this, but those line numbers are KILLING me.

]]>
By: marsvin http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-592 marsvin Tue, 06 Jan 2009 15:01:27 +0000 http://www.vanutsteen.nl/?p=111#comment-592 This is very helpful but I’m sure it would save people tons of time if you took out the line numbering from your code boxes. Copying and pasting takes forever this way ;)

]]>
By: LeonB http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-255 LeonB Thu, 04 Sep 2008 07:13:52 +0000 http://www.vanutsteen.nl/?p=111#comment-255 No, ruby 1.8.6 will be automatically uninstalled. Both belong to the ruby1.8 package. So there can only be one.

]]>
By: benkong2 http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-249 benkong2 Thu, 04 Sep 2008 01:25:19 +0000 http://www.vanutsteen.nl/?p=111#comment-249 Do I need to uninstall ruby 1.8.6

]]>
By: Rock http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-64 Rock Sat, 16 Aug 2008 16:15:04 +0000 http://www.vanutsteen.nl/?p=111#comment-64 cool! 3x!

]]>
By: tobyo http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-58 tobyo Wed, 06 Aug 2008 04:04:09 +0000 http://www.vanutsteen.nl/?p=111#comment-58 When using the preference file, apt told me 1.8.6 was already the newest version for some reason. I was able to install 1.8.7 by removing preference and explicitly running:

sudo apt-get install ruby ruby1.8 libruby libruby1.8 rdoc rdoc1.8 ri ri1.8 irb irb1.8 libopenssl-ruby libreadline-ruby libreadline-ruby1.8 ruby-dev ruby1.8-dev

Then I moved the intrepid source so apt doesn’t want to upgrade 500 packages all the time.

]]>
By: LeonB http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-44 LeonB Mon, 14 Jul 2008 21:37:05 +0000 http://www.vanutsteen.nl/?p=111#comment-44 Thanks Kares! Updated the post: removed the typos and removed the comment.

]]>
By: kares http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-43 kares Mon, 14 Jul 2008 15:28:59 +0000 http://www.vanutsteen.nl/?p=111#comment-43 I think the error was caused by the content of the /etc/apt/preferences file, I had to remove the following lines :

5. /*All ruby*/
66. /*End ruby*/

I don’t now why synaptic did not ignore the comments.

Most importantly is there a typo at line 21 ?!

21. rdoc1.8 ri1.8

]]>
By: LeonB http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-39 LeonB Wed, 02 Jul 2008 07:26:33 +0000 http://www.vanutsteen.nl/?p=111#comment-39 Sorry, made a mistake…

The file has to be: /etc/apt/sources.list.d/intrepid.list instead of:
/etc/apt/sources.list.d/intrepid

So rename intrepid to intrepid.list and all will be fine. I’ve updated the blogpost too.

]]>
By: thorny_sun http://v3.vanutsteen.nl/2008/06/29/installing-ruby-187-and-guessnet-on-hardy/comment-page-1/#comment-38 thorny_sun Wed, 02 Jul 2008 06:02:44 +0000 http://www.vanutsteen.nl/?p=111#comment-38 tried it, but it doesn’t work.
aptitude update doesn’t seem to be picking up intrepid repos, and
aptitude install ruby gives these errors:
sudo aptitude install ruby
Reading package lists… Done
E: Invalid record in the preferences file, no Package header
E: Invalid record in the preferences file, no Package header

any ideas?

]]>