I am installing Ruby on Rails on Virtual Box / Ubuntu 13.10. Following are the steps
ruby -v
=> The ruby program can be found in the following packages ... Try: sudo apt-get install
source / my account / ...
==> Good.
\ curl -L https://get.rvm.io | bash
=> I have a message thanks to which I use RVM. In case of problems, I should consult their website or twitter.
Rvm requirements
==> Successful installation.
rvm type | head -n 1
==> rvm is a function
Famous rvm list
==> I get a list of ruby versions
rvm install 2.0.0 -C --enable-shared, --with-openssl-dir = / usr / local
== > ruby 2.0.0 . , ruby 2.1.0...
rvm list
== > rvm rubies = * ruby-2.0.0-p353 [i686]
# => - current
# =* - current && default
# * - current
rvm use 2.0.0@railstutorial_rails_4_0 --create --default
== > ok.
gemset rvm
== > gemsets ruby-2.0.0-p353...
( )
= > railstutorial_rails_4_0
gem -v
= > "gem" :
ruby? , 7. , , , ruby.
"" "" > " " > " " " ". ruby -v gem -v. . , .
, rvm . ruby -v, ? , , . , $PATH ?
/bin/bash --login , ?
/bin/bash --login
check what returns rvm list.
I had several versions of ruby, but did not select the ruby version.
I did rvm use <ruby_version> --default, then ruby, and also executed the command gem.
rvm use <ruby_version> --default
ruby
gem
Source: https://habr.com/ru/post/1525962/More articles:lua python repr equivalent - pythonHow to set servlet context in Jersey Unit Test Framework 2.5 - mavenПоле формы HTML - как требовать формат ввода - javascriptВызов оболочки script содержит SSH из java - javaThe most efficient way to exclude indexed rows in a pandas dataframe is pythonCreating a sequence of individual random numbers in a specific range in a bash script - bashКак остановить jcarousel сразу при наведении курсора мыши и продолжить движение - jqueryHow to make bootstrap class = "form-inline" work with permissions <768px - htmlAFNetworking 2.0 Acceptable Availability incorrectly reports inaccessibility - AFNetworkReachabilityStatusNotReachable - iosUpdate custom cursor adapter after deleting database row - androidAll Articles