Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 534 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I update Ruby version 2.0.0 to the latest version in Mac OS X v10.10 (Yosemite)?

#11
Use

sudo gem update --system

And simply restart the PC.

Reply

#12
Use:

`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.6.5`

`rbenv global 2.6.5`

`ruby -v`

Link to the [source page][1].

[1]:

[To see links please register here]

Reply

#13
The simplest way is definitely to enter the following command in the terminal:

```lang-none
sudo gem update --system
```

You can add the flag `--no-document` if you do not want to download the documentation. Here is sample output after running the command:

```lang-none
sudo gem update --system
Password:
Updating rubygems-update
Fetching: rubygems-update-2.6.8.gem (100%)
Successfully installed rubygems-update-2.6.8
Parsing documentation for rubygems-update-2.6.8
Installing ri documentation for rubygems-update-2.6.8
Installing darkfish documentation for rubygems-update-2.6.8
Installing RubyGems 2.6.8
RubyGems 2.6.8 installed
Parsing documentation for rubygems-2.6.8
Installing ri documentation for rubygems-2.6.8

------------------------------------------------------------------------------

RubyGems installed the following executables:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/gem

Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
```

Reply

#14
you can use the steps mentioned in

[To see links please register here]


worked great for me, macOS Ventura 13.3.1 (a) (22E772610a)
Reply

#15
Open your terminal and run

```lang-none
curl -sSL

[To see links please register here]

| bash -s stable
```

For the `rvm` command to work, you need to run:

source ~/.rvm/scripts/rvm

Now, run `rvm list known`

This shows the list of versions of the Ruby interpreter.

Now, run `rvm install ruby@latest` to get the latest Ruby version.

If you type `ruby -v` in the terminal, you should see `ruby X.X.X`.

If it still shows you `ruby 2.0.`, run `rvm use ruby-X.X.X --default`.

**Prerequisites for Windows 10:**

- C compiler. You can use

[To see links please register here]

- `make` command available otherwise it will complain that "bash: make: command not found". You can install it by running `mingw-get install msys-make`
- Add "C:\MinGW\msys\1.0\bin" and "C:\MinGW\bin" to your path environment variable




Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through