qkoots
Posts: 1
Joined: Fri Aug 28, 2015 8:44 pm

install rails gem

Fri Aug 28, 2015 8:55 pm

Hello,

I have been trying to install the "rails gem" the whole day but without any result!

I get this error:

Error: While executing gem.. (ArgumentError)
marshal data too short


What can I do? I did everything in this post but no result :

viewtopic.php?f=34&t=72858&p=530762&hil ... rt#p530762

Thank you !

atmosx
Posts: 24
Joined: Mon Aug 06, 2012 1:36 pm
Location: Greece

Re: install rails gem

Tue Sep 08, 2015 9:49 pm

Hello,

Remove ruby installation from you RPi and install ruby and rails via rvm using the following command:

Code: Select all

\curl -sSL https://get.rvm.io | bash -s stable --rails
Everything should be fine.

Return to “Other programming languages”