You are not logged in.
Pages: 1
Hello all, every time I open the terminal, the following message is displayed: `ubygems.rb' is deprecated, and will be removed on or after 2018-12-01. Remove `-rubygems' from your command-line, or use `-r rubygems' instead
i try some solutions, but none of my attempts solved the problem.
thx
Sorry my inglish is bad...LOL
Last edited by 0xduk3n (2018-05-27 14:55:42)
Offline
Paste your shell initialisation files (presumably .bashrc and .bash_profile).
Offline
Hello
I think it solves the problem. I just run sudo vim /usr/lib/ruby/2.5.0/ubygems.rb and i commented the line with the warn....but, i dunno if it's the best way. LOL
thx
Offline
No, not only is that not the best way, that is not a good way at all. If you want help, past your shellrc files as requested.
EDIT: where does that file come from? It is no longer packaged with rubygems? Is your system up to date? Are you not running arch linux? nevermind this part ... I swear it wasn't there a second ago - ah, I searched for the full path instead of using -Fo.
Last edited by Trilby (2018-05-26 16:34:08)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
This is still in the package and should stay there until December 2018 as written in the message.
$ CUTF pacman -Qo /usr/lib/ruby/2.5.0/ubygems.rb
/usr/lib/ruby/2.5.0/ubygems.rb is owned by rubygems 2.7.7-1Last edited by progandy (2018-05-26 16:32:09)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
No, not only is that not the best way, that is not a good way at all. If you want help, past your shellrc files as requested.
EDIT:
where does that file come from? It is no longer packaged with rubygems? Is your system up to date? Are you not running arch linux?nevermind this part ... I swear it wasn't there a second ago - ah, I searched for the full path instead of using -Fo.
Hello, my bashrc
https://ghostbin.com/paste/c8fpk
thx
Offline
GEM_DIR=$(ruby -rubygems -e 'puts Gem.user_dir')/bin
This is what is causing the message.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
GEM_DIR=$(ruby -rubygems -e 'puts Gem.user_dir')/binThis is what is causing the message.
yep
Offline
Hi,
Just do what the message is telling you to.
Since the problem may be residing inside one of your rc files for your shell, just look for that invocation in there and change it accordingly to the warning instructions, which translates (simply put) into:
where it was
-rubygemsjust write
-r rubygems.
Offline
Pages: 1