Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing rvm with ruby on a Raspberry Pi takes a long time #3145

Open
dahofer opened this issue Nov 17, 2014 · 8 comments
Open

Installing rvm with ruby on a Raspberry Pi takes a long time #3145

dahofer opened this issue Nov 17, 2014 · 8 comments

Comments

@dahofer
Copy link

dahofer commented Nov 17, 2014

Hello,

This is on a Raspberry Pi model B+. I ran the following command to install:

curl -L https://get.rvm.io | bash -s stable --ruby

It took 1-2 hours (not sure exactly how long because I left the room for a while). Most of the time was taken up by compiling ruby 2.1.5. I then complained about this on twitter and got this response (impressive!): https://twitter.com/rvm_io/status/534119299301257216

So having binaries for the ARM 7 would be great. If I can do anything to help, let me know.

@mpapis mpapis added the binary label Nov 18, 2014
@mpapis mpapis changed the title Installing rvm on a Raspberry Pi takes a long time Installing rvm with ruby on a Raspberry Pi takes a long time Nov 22, 2014
@BrianHawley
Copy link
Contributor

Raspberry Pi A, B and B+ have ARM 6, not 7. Raspberry Pi 2 has ARM 7. If you have one set of binaries it should be for ARM 6. If you can have two sets of binaries, then make separate ARM 6 and 7 builds - it will make Ruby faster on the Pi 2.

@haslinger
Copy link

I built an image for Raspberry Pi 2. We'll have to change something in the installer ... @mpapis already pointed me to place where it should be changed.
Meanwhile you can install on Raspi 2's using

rvm mount -r https://rvm.io/binaries/experimental/armv7l-linux-eabihf/ruby-2.2.1.tar.bz2

in 2 mins 30 secs. ;-)

@dahofer
Copy link
Author

dahofer commented Apr 27, 2015

Cool! I will try that out when I get a chance.

@roolo
Copy link

roolo commented May 7, 2015

@haslinger Seems nice, but checksum is not matching. Is it expected behaviour?

Downloaded archive checksum did not match, archive was removed!

roolo added a commit to roolo/provisioning-raspberry that referenced this issue May 7, 2015
@bravepi
Copy link

bravepi commented May 8, 2015

@roolo definitely not, I will look into this, thanks for pointing it out to me.

@rbnpi
Copy link

rbnpi commented Oct 23, 2015

what is the current state of play with this now? ruby 2.1.5p273 (2014-11-13) [arm-linux-gnueabihf] is installed by default onto latest Jessie distribution for Raspberry Pi. Is it possible to use this so that a long compile from source is not necessary?

@roolo
Copy link

roolo commented Oct 26, 2015

RE #3145 (comment) :

I don't currently have my RPi. I hope I'll be able to check it next week.

If there is 2.1 Ruby package, then it could be possible workaround, but it doesn't seems like optimal solution bypass RVM when actually want to use it ;)

Anyway if somebody just want SOME ruby, package could be a way.

@tibbon
Copy link

tibbon commented May 8, 2017

Bump :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants