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

rvm failed to install 2.0.0 on fresh installed Ubuntu 13.10 #2382

Closed
eacku opened this issue Nov 26, 2013 · 13 comments
Closed

rvm failed to install 2.0.0 on fresh installed Ubuntu 13.10 #2382

eacku opened this issue Nov 26, 2013 · 13 comments
Assignees
Milestone

Comments

@eacku
Copy link

eacku commented Nov 26, 2013

the new version of rvm can not install ruby on ubuntu13.10 . the output code as followings:

➜ ~ rvm install 2.0.0
'ruby' was not found, cannot install rubygems unless ruby is present (Do you have an RVM ruby installed & selected?)
➜ ~ rvm -v

rvm 1.24.4 (master) by Wayne E. Seguin wayneeseguin@gmail.com, Michal Papis mpapis@gmail.com [https://rvm.io/]

i dont know how to fix it.

@ghost ghost assigned mpapis Nov 26, 2013
@felixge
Copy link

felixge commented Nov 26, 2013

Seeing the same issue in 1.24.4 on Ubuntu 12.04 on a fresh VM install. 1.24.3 is fine.

@mpapis
Copy link
Member

mpapis commented Nov 28, 2013

so first - I just grabbed virtual machine with Ubuntu 13.10 and I could not reproduce your problem,

  1. start with checking what shell is running ps -p $$ -o comm=

  2. try opening new terminal and trying again

  3. if that does not help try rvm --debug install 2.0.0 ... in case there was no extra output run:

    rvm --trace install 2.0.0 2>&1 | tee big.log
    

    and gist the big.log

@felixge
Copy link

felixge commented Nov 28, 2013

@mpapis did the VM already have a ruby installed?

@mpapis
Copy link
Member

mpapis commented Nov 28, 2013

yes it had ruby ... the image was build for work with chef, @felixge can you provide information from #2382 (comment)

@florianb
Copy link

Same issue on Linux $$$ 3.10.13-x86_64-jb1 #3 SMP Fri Oct 4 11:46:29 CEST 2013 x86_64 GNU/Linux - Debian GNU/Linux 7 (wheezy) with rvm 1.24.5 (stable)

$ rvm install 1.9.3 --debug
'ruby' was not found, cannot install rubygems unless ruby is present (Do you have an RVM ruby installed & selected?)
__rvm_rm_rf already gone: /home/puma/.rvm/tmp/8875*

@rafaels
Copy link

rafaels commented Nov 28, 2013

I am running into this in a fresh 13.10 installation (not VM).

I have no native ruby installed.

ps -p $$ -o comm= >>> bash

rvm --debug install 2.0.0

'ruby' was not found, cannot install rubygems unless ruby is present (Do you have an RVM ruby installed & selected?)
__rvm_rm_rf already gone: /home/rafael/.rvm/tmp/16017*

@mpapis
Copy link
Member

mpapis commented Nov 28, 2013

@rafaels please run:

rvm --trace install 2.0.0 2>&1 | tee big.log

and gist the big.log

@rafaels
Copy link

rafaels commented Nov 28, 2013

@mpapis mpapis closed this as completed in ba1a54f Nov 28, 2013
@mpapis
Copy link
Member

mpapis commented Nov 28, 2013

@rafaels thanks for the log, it should be fixed after rvm get head

@rafaels
Copy link

rafaels commented Nov 28, 2013

@mpapis thank you! Just got head and it seems pretty fixed! :)

@josephtyler
Copy link

Great! Thanks for this.

@florianb
Copy link

👍

@felixge
Copy link

felixge commented Nov 29, 2013

Thanks!

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

No branches or pull requests

6 participants