What are the default Mac OSX 10.11 aircraft?

I tried to learn Ruby on Rails and followed the tutorial. However, I think I missed the part, and I can’t go to the next step in the tutorial, so I plan to remove things, including the gems I have set, and start all over again.

I installed Ruby with Homebrew because people say it’s better not to mess with Ruby, which comes with macOS. Then I deleted it again using brew uninstall ruby.

After that, I started gem listand it worked:

*** LOCAL GEMS ***

- bigdecimal (1.2.0)
- builder (3.2.2)
- CFPropertyList (2.2.8)
- io-console (0.4.2)
- json (1.7.7)
- libxml-ruby (2.6.0)
- minitest (4.3.2)
- nokogiri (1.5.6)
- psych (2.0.0)
- rake (0.9.6)
- rdoc (4.0.0)
- sqlite3 (1.3.7)
- test-unit (2.0.0.0)
- thor (0.19.1)

What gems (if any) that come with MacOS Ruby?

+5
source share
3

:

*** LOCAL GEMS ***

bigdecimal (1.2.0)
CFPropertyList (2.2.8)
io-console (0.4.2)
json (1.7.7)
libxml-ruby (2.6.0)
minitest (4.3.2)
nokogiri (1.5.6)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
sqlite3 (1.3.7)
test-unit (2.0.0.0)

@jsejcksn. macOS 10.13.6 (High Sierra) 10.14.5 (Mojave) :

*** LOCAL GEMS ***

bigdecimal (1.2.8)
CFPropertyList (2.2.8)
did_you_mean (1.0.0)
io-console (0.4.5)
json (1.8.3.1)
libxml-ruby (2.9.0)
minitest (5.8.5)
net-telnet (0.1.1)
nokogiri (1.5.6)
power_assert (0.2.6)
psych (2.1.0.1)
rake (10.4.2)
rdoc (4.2.1)
sqlite3 (1.3.11)
test-unit (3.1.5)
+4

, - , macOS 10.13.3:

*** LOCAL GEMS ***

bigdecimal (1.2.8)
CFPropertyList (2.2.8)
did_you_mean (1.0.0)
io-console (0.4.5)
json (1.8.3)
libxml-ruby (2.9.0)
minitest (5.8.5)
net-telnet (0.1.1)
nokogiri (1.5.6)
power_assert (0.2.6)
psych (2.1.0)
rake (10.4.2)
rdoc (4.2.1)
sqlite3 (1.3.11)
test-unit (3.1.5)

gem 2.5.2.

+3

OS X 10.10 Ruby 2.0 , , 10.11 - .

Ruby 2.3.0, .

brew, : -

brew install rbenv ruby-build

# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile

# Install Ruby
rbenv install 2.3.0
rbenv global 2.3.0
ruby -v

: https://gorails.com/setup/osx/10.11-el-capitan

UPDATE: 2.3.0 2.2.3. spikermann .

0
source

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


All Articles