
Come installare Ruby on Rails su Ubuntu 14.04 usando RVM – How To Install Ruby on Rails on Ubuntu 14.04 using RVM #rubyonrails #rvm #install #ubuntu #14.04
Indice
Come Installare Ruby on Rails Su Ubuntu 14.04 Usando RVM
Ruby on Rails è uno dei linguaggi di programmazione più popolari per gli sviluppatori che desiderano creare siti e applicazioni web. Il linguaggio di programmazione Ruby, insieme con il framework di sviluppo Rails, semplifica lo sviluppo di applicazioni web.
Il modo più veloce per installa Ruby on Rails insieme a RVM basta lanciare questo comando dal nostro terminale di Ubuntu mantenendo il nostro utente corrente (non eseguire questo comando come root):
curl -sSL https://get.rvm.io | bash -s stable --rails
dopo l’installazione lanciare questo comando per caricare RVM
source ~/.rvm/scripts/rvm
Installiamo una versione specifica versione di Ruby
rvm install ruby_version
dopo l’installazione vediamo la lista completa delle versioni di Ruby disponibili
rvm list
usiamo una versione in partiolare
rvm use ruby_version
comandi utili
rvm gemset create gemset_name # creare un gemset gem install rails -v rails_version # install specific Rails version
How To Install Ruby on Rails on Ubuntu 14.04 using RVM
Ruby on Rails is one of the most popular application stacks for developers wishing to create sites and web apps. The Ruby programming language, coupled with the Rails development framework, makes app development simple.
The quickest way of installing Ruby on Rails with rvm is to run the following command on the Ubuntu’s terminal as a regular user:
curl -sSL https://get.rvm.io | bash -s stable --rails
after the installation run this command:
source ~/.rvm/scripts/rvm
Installing Specific Ruby Versions
rvm install ruby_version
we can list the available Ruby versions we have installed by typing:
rvm list
use specific version
rvm use ruby_version
useful commands
rvm gemset create gemset_name # creare un gemset gem install rails -v rails_version # install specific Rails version