Logo Questions Linux Laravel Mysql Ubuntu Git Menu

Installing Ruby on Rails on Linux mint?

When I used "sudo apt-get install ruby-full build-essential" in the terminal I got this:

$ sudo apt-get install ruby-full build-essential    
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/packages.medibuntu.org_dists_quantal_non-free_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Can anybody tell me how can I install Ruby on Rails in my Linux Mint machine?

like image 526
user2640758 Avatar asked Mar 21 '23 14:03


1 Answers

I think you don't need features of rvm. You just want to install ruby easy, fast and without troubles, right? Good news to you. We got an alternative to rvm. It's called rbenv. You can find an installation guide here.(don't skip ruby-build, it is necessary!).

And yes, follow ubuntu instructions since Mint is build on it (though there's debian-based version but I suppose you use ubuntu-based one).

I installed yesterday Mint 16 and rbenv on it. Works fine.

PS: don't forget to sudo apt-get install build-essential first.

like image 169
user2422869 Avatar answered Mar 28 '23 09:03