-
-
Save stephanetimmermans/233b5c99884f1d8c8b8b to your computer and use it in GitHub Desktop.
#https://gorails.com/setup/ubuntu/14.04 | |
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
curl -L https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc | |
rvm install 2.1.2 | |
rvm use 2.1.2 --default | |
ruby -v | |
#http://blog.acrona.com/index.php?post/2014/05/15/Installer-Fondation-et-Compass/sass-sur-Ubuntu-14.04 | |
gem install compass |
Nice one. Just needed to install the certificate if you hadn't done that already. The instructions are in the terminal. Thanks!
Thanks. I had to use rvm install ruby-2.1.2
Added gpg key and worked like a charm. Thanks!
No such file or directory when I run the source command. Am i doing anything wrong. Followed step by step though
👍
Thanks!
Thank you, solved!
thanks!
Thank you!
Perfect
After running...
curl -L https://get.rvm.io | bash -s stable
Copy the following line from the log and run it
gpg --keyserver hkp://keys.gnupg.net --recv-keys <NUMBER>
👍 Thanks!
Thanks~
Failed to install
gpg: Signature made Mon 30 Mar 2015 09:52:13 PM UTC using RSA key ID BF04FF17
gpg: Can't check signature: public key not found
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
GPG signature verification failed for '/home/ubuntu/.rvm/archives/rvm-1.26.11.tgz' - 'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc'!
try downloading the signatures:
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
or if it fails:
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
the key can be compared with:
https://rvm.io/mpapis.asc
https://keybase.io/mpapis
Doesn't work. No such file or directory
ubuntu@user:~$ source ~/.rvm/scripts/rvm
-bash: /home/ubuntu/.rvm/scripts/rvm: No such file or directory
There in no any /scripts
directory. Only this:
ubuntu@user:~$ ls .rvm/
total 16
drwxrwxr-x 4 ubuntu ubuntu 4096 Dec 3 05:22 .
drwxr-xr-x 6 ubuntu ubuntu 4096 Dec 3 05:22 ..
drwxrwxr-x 2 ubuntu ubuntu 4096 Dec 3 05:22 archives
drwxrwxr-x 2 ubuntu ubuntu 4096 Dec 3 05:22 src
"... or if it fails:"
run "curl -sSL https://rvm.io/mpapis.asc | gpg --import"
and then again "curl -L https://get.rvm.io | bash -s stable"
Working good, thank you
Thanks, works like a charm!
@wzup execute this first gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
then try source ~/.rvm/scripts/rvm
Thank you
Problems found and turnarounds:
-
Failed to install by signature problem: It happened to be a port blocked by the router? firewall.
I modified the instruction just adding :80
gpg --keyserver hkp://keys.gnupg.net**:80** --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 -
Ruby installation failed with 404 errors traced back to rvm requirements.
I had to deactive manually failing repositories in software updater.
Just tried the following on a fresh install of Ubuntu 14.04 and it worked without having to install rvm etc.:
apt-get install ruby-dev
gem install compass
thank you very much!
Use this as alternative for curl -L https://get.rvm.io | bash -s stable
curl -L https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable
Perfecto ! Thanks Buddy
Thanks +
Thank you
Thanks
Thank you!
After executinmg : source ~/.rvm/scripts/rvm
error occured as -bash: /home/rajan/.rvm/scripts/rvm: No such file or directory
how to reslove it ?
Thank you so much!!
Thanks!
If the directory doesn't exist, try
source /usr/local/rvm/scripts/rvm