Question

I'm currently setting up a new server, and started off with an Ubuntu 8.04 image with a version of Ruby and Rails already preinstalled (I thought it would be easier), and after getting my app running (with a few gems installed), the command line is throwing a wobbly, and trying to install the "Paperclip" gem, is giving the following error:

 activesupport requires ruby version >= 1.8.7

Running ruby -v tells me I'm on 1.8.6, but for the life of me, I have no idea how to update Ruby from the command line.

So, any advice for a) how to get Paperclip to work and b) ensure activesupport doesn't run into this error again, would be most welcome!

Was it helpful?

Solution

Try rvm ruby version manager, https://rvm.io .you can have multiple versions of ruby and gems are shared or unique to each version.

OTHER TIPS

sudo apt-get install ruby-full should work

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top