Ruby on Rails Mac OSX Mavericks quits after installing RVM

I have been learning Ruby on Rails for several months and everything works.

Then, for the needs of the tutorial, I tried installing RVM to downgrade my setup to older versions of Ruby and Rails.

And since then I have run into problems all the time.

For example, when I start a new terminal session, here is what I get:

You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers,
you can switch to '.ruby-version' using 'rvm rvmrc to [.]ruby-version'
or ignore this warning with 'rvm rvmrc warning ignore /Users/Thibaud/work/.rvmrc',
'.rvmrc' will continue to be the default project file in RVM 1 and RVM 2,
to ignore the warning for all files run 'rvm rvmrc warning ignore all.rvmrcs'.

ree-1.8.7-2012.02 - #gemset created /Users/Thibaud/.rvm/gems/ree-1.8.7-2012.02@tedxperth
ree-1.8.7-2012.02 - #generating tedxperth wrappers....................
Using /Users/Thibaud/.rvm/gems/ree-1.8.7-2012.02 with gemset tedxperth
Warning! Executable 'ruby' missing, something went wrong with this ruby installation!
Warning! Executable 'gem' missing, something went wrong with this ruby installation!
Warning! Executable 'irb' missing, something went wrong with this ruby installation!

Two questions:

  • How can I fix errors occurring in my terminal? (see above)

  • Since I don't know what broke in my installation, I wonder if I should turn off the entire Ruby on Rails environment and install it again in order to get a clean installation: is this a good idea? If so, how can this be achieved?

+4
1

, ​​ .rvmrc :

$ rm .rvmrc

Ruby gemset cd . Ruby gemset .ruby-version .ruby-gemset, RVM . . rvmrc ruby- gemset RVM?.

Ruby. :

$ rvm remove ree-1.8.7-2012.02

.

, RVM. ,

$ rvm implode

RVM ( ). Ruby Rails RVM . , :

, , , Rails, , , ​​ Rails ( Rails 4.1, ). , :

, Rails RVM .

+2

Source: https://habr.com/ru/post/1540150/


All Articles