E: Unable to locate package ruby-rvm
I'm trying to install edx-platform on ubuntu 12.10 through the "create-dev-env.sh, every thing is fine untile the ruby-rvm part
originally I'v rvm installed and have ruby-1.9.3-p374 as default beside ruby-1.9.3-p374
I'm spinning for two days to complete the installation, but it always stops at this:
Installing RVM, Ruby, and required gems Setting up rvm on linux. This is a known pain point. If the script fails here refer to the following stack overflow question: http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395 Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package ruby-rvm
!! ERROR !!
The last command did not complete successfully,
For more details or trying running the
script again with the -v flag.
Output of the script is recorded in /var/tmp/install-20130606-025531.log
I followed the instructions in the link several times but no success.
try this: go into scripts/install-system-req.sh and comment out the line "sudo apt-get -y install ruby-rvm" --- then follow the apt-get purge, and rm (first lines) from that link you provided; then try to re-run create-dev-env.sh; see if that helps.
Regards,
- Yarko
On Wed, Jun 5, 2013 at 8:01 PM, ahmadix [email protected] wrote:
I'm trying to install edx-platform on ubuntu 12.10 through the "create-dev-env.sh, every thing is fine untile the ruby-rvm part
originally I'v rvm installed and have ruby-1.9.3-p374 as default beside ruby-1.9.3-p374
I'm spinning for two days to complete the installation, but it always stops at this:
Installing RVM, Ruby, and required gems Setting up rvm on linux. This is a known pain point. If the script fails here refer to the following stack overflow question:
http://stackoverflow.com/questions/9056008/installed-ruby-1-9-3-with-rvm-but-command-line-doesnt-show-ruby-v/9056395#9056395 Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package ruby-rvm
!! ERROR !!
The last command did not complete successfully, For more details or trying running the script again with the -v flag.
Output of the script is recorded in /var/tmp/install-20130606-025531.log
I followed the instructions in the link several times but no success.
— Reply to this email directly or view it on GitHubhttps://github.com/edx/edx-platform/issues/82 .
It doesn't work for me. The problem is that I could only find references to p374 into create-dev-env.sh and install system prereq.sh and .rubyversion .
I removed / changed all of them without success. Both ruby-rvm package and ruby-1.9.3-p374 still aren;t in raring (my version, 1304).
It seems that the only way to make it work is using Precise Pangolin. I'm downloading the iso now, can you confirm?
D.
I tried 1304, but not very hard; I've seen project people testing 12.10, so I decided (as a non-project person, an "outsider") to try on 12.04 (LTS seems like a good target). I'm trying to just let the scripts "do their thing" (not reading too much, not manually intervening), and I'm still working on it (but I think I'm pretty far along).
RE: "ruby-1.9.3-p374" not in raring: as per the referred post, and many other posts suggesting not using the installed ruby, but the method you cited: note that there is an accepted pull-request which fixes a typo in create-dev-env.sh (the "--autodotfiles" option should be: "--auto-dotfiles"). You can either an update from master, or make this change manually.
There is in fact not an rvm package in the 13.04 package manager as of yet. It will probably be included soon, but as of now there's not a very good workaround since the installation of rvm on ubuntu is still an area being debugged. It's probably a good idea to switch to 12.04 in general since it's support will last until 2017, but the package managers associated with 12.10, or any non-deprecated versions of mint and debian should include a version of the rvm package.