Created
February 13, 2019 21:08
-
-
Save BanzaiMan/9cf34d25e79d367f791437a83ed02b35 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo@ecf00eb298cc:~$ rvm use --install --binary --fuzzy jruby-9.2.5.0 | |
Required jruby-9.2.5.0 is not installed - installing. | |
Searching for binary rubies, this might take some time. | |
Found remote file https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.5.0/jruby-dist-9.2.5.0-bin.tar.gz | |
Checking requirements for ubuntu. | |
Installing requirements for ubuntu. | |
Updating systemfoo password required for 'apt-get --quiet --yes update': | |
.... | |
Installing required packages: patch, bzip2, gawk, g++, make, openjdk-8-jre-headless............................................................ | |
Requirements installation successful. | |
jruby-9.2.5.0 - #configure | |
jruby-9.2.5.0 - #download | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 22.9M 100 22.9M 0 0 15.8M 0 0:00:01 0:00:01 --:--:-- 15.8M | |
No checksum for downloaded archive, recording checksum in user configuration. | |
jruby-9.2.5.0 - #validate archive | |
jruby-9.2.5.0 - #extract | |
jruby-9.2.5.0 - #validate binary | |
jruby-9.2.5.0 - #setup | |
jruby-9.2.5.0 - #gemset created /home/foo/.rvm/gems/jruby-9.2.5.0@global | |
jruby-9.2.5.0 - #importing gemset /home/foo/.rvm/gemsets/jruby/global.gems.. | |
jruby-9.2.5.0 - #generating global wrappers....... | |
jruby-9.2.5.0 - #gemset created /home/foo/.rvm/gems/jruby-9.2.5.0 | |
jruby-9.2.5.0 - #importing gemsetfile /home/foo/.rvm/gemsets/default.gems evaluated to empty gem list | |
jruby-9.2.5.0 - #generating default wrappers....... | |
Using /home/foo/.rvm/gems/jruby-9.2.5.0 | |
foo@ecf00eb298cc:~$ ruby -v | |
jruby 9.2.5.0 (2.5.0) 2018-12-06 6d5a228 OpenJDK 64-Bit Server VM 25.191-b12 on 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12 +jit [linux-x86_64] | |
foo@ecf00eb298cc:~$ gem install bundler | |
Fetching: bundler-2.0.1.gem (100%) | |
Successfully installed bundler-2.0.1 | |
1 gem installed | |
foo@ecf00eb298cc:~$ gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler | |
Removing bundle | |
Removing bundler | |
Successfully uninstalled bundler-2.0.1 | |
foo@ecf00eb298cc:~$ gem install bundler '< 2' | |
Successfully installed bundler-2.0.1 | |
ERROR: Could not find a valid gem '< 2' (>= 0) in any repository | |
1 gem installed | |
foo@ecf00eb298cc:~$ gem --version | |
2.7.6 | |
foo@ecf00eb298cc:~$ gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler | |
ERROR: While executing gem ... (Gem::InstallError) | |
bundler is not installed in GEM_HOME, try: | |
gem uninstall -i /home/foo/.rvm/gems/jruby-9.2.5.0 bundler | |
foo@ecf00eb298cc:~$ gem install bundler -v '< 2' | |
Fetching: bundler-1.17.3.gem (100%) | |
Successfully installed bundler-1.17.3 | |
1 gem installed | |
foo@ecf00eb298cc:~$ bundle --version | |
Bundler version 2.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment