Can't install Ruby on Rails with RVM on Ubuntu 13.04 -


i trying install rvm on ubuntu machine.

i have used curl rvm, rvm commands (install, requirements) throw apt-get error:

there has been error while updating 'apt-get', please give time , try again later. 404 errors check sources configured in:     /etc/apt/sources.list     /etc/apt/sources.list.d/*.list 

type rvm | head -1 returns

rvm function -bash: type: write error: broken pipe 

which gem

/usr/bin/gem 

i have checked "run command login shell" option

steps followed tutorial:

sudo apt-get install curl curl -l get.rvm.io | bash -s stable --auto . ~/.bash_profile rvm requirements - doesn't work 

i have looked @ official rvm documentation, seems similar.

any ideas?

update: managed it. disabled third party ppa urls , installed smoothly.

there important packages system needs before install rvm. run @ terminal:

sudo apt-get install build-essential openssl libreadline6 libreadline6-dev \ curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev \ sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake \ libtool bison subversion nodejs 

then install rvm with:

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

now need put setting in .bashrc add rvm path scripting. run:

echo '[[ -s "$home/.rvm/scripts/rvm" ]] && source "$home/.rvm/scripts/rvm"' >> ~/.bashrc 

open new terminal , test rvm.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -