Libraries missing for ruby 2.3.1 - ruby

currently trying to install Ruby 2.3.1 using rvm on my terminal(macOS Sierra) but ran into this error
Libraries missing for ruby-2.3.1:
/Users/travis/.rvm/rubies/ruby-2.3.1/lib/libruby.2.3.0.dylib,/usr/local/opt/gdbm/lib/libgdbm.4.dylib. Refer to your system manual for installing libraries
This error is similar to another question on stack overflow but the solution there did not work for me.
I am new to Ruby, so any help would be much appreciated.
This is the full output from the terminal by the way.
ruby-2.3.1 - #removing src/ruby-2.3.1..
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/osx/10.12/x86_64/ruby-2.3.1.tar.bz2
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
ruby-2.3.1 - #configure
ruby-2.3.1 - #download
ruby-2.3.1 - #validate archive
ruby-2.3.1 - #extract
ruby-2.3.1 - #validate binary
Libraries missing for ruby-2.3.1: /Users/travis/.rvm/rubies/ruby-2.3.1/lib/libruby.2.3.0.dylib,/usr/local/opt/gdbm/lib/libgdbm.4.dylib. Refer to your system manual for installing libraries
Mounting remote ruby failed with status 10, trying to compile.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/sabrina.zuraimi/.rvm/rubies/ruby-2.3.1, this may take a while depending on your cpu(s)...
ruby-2.3.1 - #downloading ruby-2.3.1, this may take a while depending on your connection...
ruby-2.3.1 - #extracting ruby-2.3.1 to /Users/sabrina.zuraimi/.rvm/src/ruby-2.3.1....
ruby-2.3.1 - #configuring......................................................|
ruby-2.3.1 - #post-configuration.
ruby-2.3.1 - #compiling...........
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/sabrina.zuraimi/.rvm/log/1481003831_ruby-2.3.1/make.log
compiling enc/utf_8.c
compiling enc/trans/newline.c
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
compiling dmyenc.c
linking miniruby
config.status: creating ruby-runner.c
generating encdb.h
encdb.h updated
rbconfig.rb updated
generating enc.mk
making srcs under enc
/bin/sh: /Applications/Xcode-beta: No such file or directory
make: *** [srcs-enc] Error 127
++ return 2

I have the same error but the installation completes successfully.
Napuka:~ joaquin$ rvm install ruby-2.3.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.12/x86_64/ruby-2.3.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/joaquin/.rvm/rubies/ruby-2.3.3, this may take a while depending on your cpu(s)...
ruby-2.3.3 - #downloading ruby-2.3.3, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.7M 100 13.7M 0 0 2219k 0 0:00:06 0:00:06 --:--:-- 2220k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.3.3 - #extracting ruby-2.3.3 to /Users/joaquin/.rvm/src/ruby-2.3.3....
ruby-2.3.3 - #configuring......................................................|
ruby-2.3.3 - #post-configuration.
ruby-2.3.3 - #compiling........................................................-
ruby-2.3.3 - #installing.........
ruby-2.3.3 - #making binaries executable..
Installed rubygems 2.5.2 is newer than 2.4.8 provided with installed ruby, skipping installation, use --force to force installation.
ruby-2.3.3 - #gemset created /Users/joaquin/.rvm/gems/ruby-2.3.3#global
ruby-2.3.3 - #importing gemset /Users/joaquin/.rvm/gemsets/global.gems.........|
ruby-2.3.3 - #generating global wrappers........
ruby-2.3.3 - #gemset created /Users/joaquin/.rvm/gems/ruby-2.3.3
ruby-2.3.3 - #importing gemsetfile /Users/joaquin/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.3.3 - #generating default wrappers........
ruby-2.3.3 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.3.3 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
But your message looks quite explicit:
/bin/sh: /Applications/Xcode-beta: No such file or directory
Do you have that directory?

First of all, do you have Xcode installed? If not, you can just get the command line tools here: http://railsapps.github.io/xcode-command-line-tools.html
It seems like the message is saying that you had Xcode-beta but removed it and now it has no way to install properly. The command line tools should be good enough

Related

/bin/sh: Command not found

I am trying to install ruby via rvm on Windows by using the command
rvm install "ruby-2.6.5"
I get the following output (Below XXXX is my username and hence redacted it)
ruby-2.6.5 - #removing src/ruby-2.6.5..
Searching for binary rubies, this might take some time.
No binary rubies available for: mingw/unknown/x86_64/ruby-2.6.5.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing Ruby from source to: /c/Users/XXXX/.rvm/rubies/ruby-2.6.5, this may take a while depending on your cpu(s)...
ruby-2.6.5 - #downloading ruby-2.6.5, this may take a while depending on your connection...
ruby-2.6.5 - #extracting ruby-2.6.5 to /c/Users/XXXX/.rvm/src/ruby-2.6.5....|
ruby-2.6.5 - #configuring......................................................|
ruby-2.6.5 - #post-configuration..
ruby-2.6.5 - #compiling.
ruby-2.6.5 - #installing.
Error running '__rvm_make install',
please read /c/Users/XXXX/.rvm/log/1663339281_ruby-2.6.5/install.log
There has been an error while running make install. Halting the installation.
I tried updating the PATH variable to have the path where sh.exe is present but still does not work.
In the make.log, install.log, and configure.log I see the below error
make: /bin/sh: Command not found
As per the error, I think it is unable to process the make command because it is unable to find the sh.exe

rvm not installing ruby-2.2; Error running '__rvm_make -j4'

When I try to download Cocoapods, it says:
XXXX: ~ XXX$ sudo gem install cocoapods
Password:XX
ERROR: Error install cocoapods:
minitest requires Ruby version ~> 2.2.
Then I try every way to install ruby but it gives me this:
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/osx/10.11/x86_64/ruby-2.2.5.tar.bz2
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl#1.1/cert.pem' is already up to date.
Requirements installation successful.
ruby-2.2.5 - #configure
ruby-2.2.5 - #download
ruby-2.2.5 - #validate archive
ruby-2.2.5 - #extract
ruby-2.2.5 - #validate binary
Libraries missing for ruby-2.2.5: __rvm_ls. Refer to your system manual for installing libraries
Mounting remote ruby failed with status 10, trying to compile.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl#1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/vishaljayakumar/.rvm/rubies/ruby-2.2.5, this may take a while depending on your cpu(s)...
ruby-2.2.5 - #downloading ruby-2.2.5, this may take a while depending on your connection...
ruby-2.2.5 - #extracting ruby-2.2.5 to /Users/vishaljayakumar/.rvm/src/ruby-2.2.5.....
ruby-2.2.5 - #applying patch /Users/vishaljayakumar/.rvm/patches/ruby/2.2.5/fix_installing_bundled_gems.patch.
ruby-2.2.5 - #applying patch /Users/vishaljayakumar/.rvm/patches/ruby/2.2.5/openssl3.patch.
ruby-2.2.5 - #configuring......................................................-
ruby-2.2.5 - #post-configuration.
ruby-2.2.5 - #compiling........................................................|
Error running '__rvm_make -j4',
please read /Users/vishaljayakumar/.rvm/log/1581558007_ruby-2.2.5/make.log
There has been an error while running make. Halting the installation.
What do I do?
I have done literally every solution here and it doesn't work:
Github Error Page
Let me just name some of them just for you to see.
rvm get head
rvm mount -r https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2
rvm get stable; rvm reload; rvm install "ruby-2.2.X"
anything to do with openssl(I have no idea what it is)
rvm install ruby-2.6.5 --with-openssl-dir='{directory of openssl}
sudo xcode-select -s /Applications/Xcode.app
rvm install 2.6.4
brew install homebrew/portable-ruby/portable-openssl
rvm reinstall ruby-2.3.1 --with-openssl-dir=/usr/local/opt/portable-openssl/
Please give me a solution that is not in here(or one of the above).
I am a little desperate as I have wasted a lot of time on these commands!
I am free to any answers or comments!!!!!

"cannot load such file -- rubygems/defaults/operating_system" when installing Ruby 2.0.0

I have need of Ruby 2.0.0, so I turned to RVM to help manage my ruby installations.
However, when I do rvm install ruby-2.0.0, the installation ends up bombing out.
$ rvm install ruby-2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.12/x86_64/ruby-2.0.0-p648.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/nick/.rvm/rubies/ruby-2.0.0-p648, this may take a while depending on your cpu(s)...
ruby-2.0.0-p648 - #downloading ruby-2.0.0-p648, this may take a while depending on your connection...
ruby-2.0.0-p648 - #extracting ruby-2.0.0-p648 to /Users/nick/.rvm/src/ruby-2.0.0-p648....
ruby-2.0.0-p648 - #applying patch /Users/nick/.rvm/patches/ruby/2.0.0/openssl3.patch.
ruby-2.0.0-p648 - #applying patch /Users/nick/.rvm/patches/ruby/2.0.0/update-autoconf.patch.
ruby-2.0.0-p648 - #configuring.................................................
ruby-2.0.0-p648 - #post-configuration.
ruby-2.0.0-p648 - #compiling...................................................|
ruby-2.0.0-p648 - #installing..............
ruby-2.0.0-p648 - #making binaries executable..
ruby-2.0.0-p648 - #downloading rubygems-2.7.2
ruby-2.0.0-p648 - #extracting rubygems-2.7.2.....
ruby-2.0.0-p648 - #removing old rubygems........
ruby-2.0.0-p648 - #installing rubygems-2.7.2.
Error running 'env GEM_HOME=/Users/nick/.rvm/gems/ruby-2.0.0-p648#global GEM_PATH= /Users/nick/.rvm/rubies/ruby-2.0.0-p648/bin/ruby -d /Users/nick/.rvm/src/rubygems-2.7.2/setup.rb --no-document',
please read /Users/nick/.rvm/log/1510703598_ruby-2.0.0-p648/rubygems.install.log
So, I check out the log file as instructed, and this is what I see:
[2017-11-14 15:55:25] /Users/nick/.rvm/rubies/ruby-2.0.0-p648/bin/ruby
current path: /Users/nick/.rvm/src/rubygems-2.7.2
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/nick/.nvm/versions/node/v8.4.0/bin:/usr/local/sbin:/usr/local/bin:/Users/nick/.gvm/vertx/current/bin:/Users/nick/.gvm/springboot/current/bin:/Users/nick/.gvm/lazybones/current/bin:/Users/nick/.gvm/jbake/current/bin:/Users/nick/.gvm/groovyserv/current/bin:/Users/nick/.gvm/groovy/current/bin:/Users/nick/.gvm/griffon/current/bin:/Users/nick/.gvm/grails/current/bin:/Users/nick/.gvm/gradle/current/bin:/Users/nick/.gvm/glide/current/bin:/Users/nick/.gvm/gaiden/current/bin:/Users/nick/.gvm/crash/current/bin:/usr/local/mongodb_2.4.5/bin:/Users/nick/.gvm/grails/current/bin:/usr/local/mysql/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/usr/local/mongodb_2.4.5/bin:/Users/nick/.gvm/grails/current/bin:/usr/local/scala-2.12.1/bin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/share/dotnet:/usr/local/git/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/nick/.rvm/bin
command(7): env GEM_HOME=/Users/nick/.rvm/gems/ruby-2.0.0-p648#global GEM_PATH= /Users/nick/.rvm/rubies/ruby-2.0.0-p648/bin/ruby -d /Users/nick/.rvm/src/rubygems-2.7.2/setup.rb --no-document
Exception `LoadError' at /Users/nick/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/rubygems.rb:1087 - cannot load such file -- rubygems/defaults/operating_system
Exception `LoadError' at /Users/nick/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/rubygems.rb:1096 - cannot load such file -- rubygems/defaults/ruby
YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0).
Bundler 1.16.0 installed
RubyGems 2.7.2 installed
Regenerating binstubs
I'm not really sure what to make of this error. I've tried uninstalling 2.0.0 and installing it again, imploding & reinstalling rvm, even reinstalling ruby with homebrew and doing everything from scratch, but this error persists. Any ideas?
Try installing Ruby using the --rubygems ignore option:
$ rvm install ruby-2.0.0 --rubygems ignore
Mention a specific version of rubygems will work too
rvm reinstall ruby-head --rubygems 2.6.11

Rails: I installed Ruby, now "bundle install" doesn't work

I’m using Rails 4.2.7. I downloaded an example that evidently requires me to use Ruby 2.1.6 rather than the Ruby 2.3.0 version I had installed …
localhost:lti_tool_provider_example-master davea$ bundle install
Your Ruby version is 2.3.0, but your Gemfile specified 2.1.6
So that’s what I did. However after installing Ruby 2.1.6, now “bundle install” doesn’t work …
localhost:lti_tool_provider_example-master davea$ rvm install ruby-2.1.6
Warning! PATH is not properly set up, '/Users/davea/.rvm/gems/ruby-2.3.0/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.3.0'.
Warning, new version of rvm available '1.27.0', you are using older version '1.26.11'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/osx/10.12/x86_64/ruby-2.1.6.tar.bz2
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
ruby-2.1.6 - #configure
ruby-2.1.6 - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7630k 100 7630k 0 0 1199k 0 0:00:06 0:00:06 --:--:-- 1551k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.1.6 - #validate archive
ruby-2.1.6 - #extract
ruby-2.1.6 - #validate binary
Libraries missing for ruby-2.1.6: cannot. Refer to your system manual for installing libraries
Mounting remote ruby failed with status 10, trying to compile.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Warning: DYLD_LIBRARY_PATH environment variable is set, this might interact with the compilation and ruby.
Installing Ruby from source to: /Users/davea/.rvm/rubies/ruby-2.1.6, this may take a while depending on your cpu(s)...
ruby-2.1.6 - #downloading ruby-2.1.6, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11.4M 100 11.4M 0 0 2272k 0 0:00:05 0:00:05 --:--:-- 2354k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.1.6 - #extracting ruby-2.1.6 to /Users/davea/.rvm/src/ruby-2.1.6....
ruby-2.1.6 - #configuring....................................................
ruby-2.1.6 - #post-configuration.
ruby-2.1.6 - #compiling.......................................................................................................................................
ruby-2.1.6 - #installing...............
ruby-2.1.6 - #making binaries executable..
ruby-2.1.6 - #downloading rubygems-2.4.8
ruby-2.1.6 - #extracting rubygems-2.4.8.....
ruby-2.1.6 - #removing old rubygems.........
ruby-2.1.6 - #installing rubygems-2.4.8......................
ruby-2.1.6 - #gemset created /Users/davea/.rvm/gems/ruby-2.1.6#global
ruby-2.1.6 - #importing gemset /Users/davea/.rvm/gemsets/global.gems...............................................
ruby-2.1.6 - #generating global wrappers........
ruby-2.1.6 - #gemset created /Users/davea/.rvm/gems/ruby-2.1.6
ruby-2.1.6 - #importing gemsetfile /Users/davea/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.1.6 - #generating default wrappers........
ruby-2.1.6 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.1.6 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
localhost:lti_tool_provider_example-master davea$ bundle install
-bash: bundle: command not found
How do I restore the “bundle” command without interfering with the Ruby 2.1.3 version I just installed?
Bundle with Ruby 2.1.6
You just need to install bundler :
rvm use ruby-2.1.6
gem install bundler
This will be installed in a gemset specific to ruby-2.1.6, so it won't interfere with anything you installed with ruby-2.3.0. You can use
bundle install
to install the required gems.
Trying with Ruby 2.3.0
Alternatively, you could just try the example you downloaded with ruby-2.3.0 by either changing the
ruby '2.1.6'
line or deleting it from the Gemfile.
I experienced this same issue. For my case, the cause of the issue was because of two conflicting versions of the bundler gem that are very close in version number.
bundler (2.0.2, 2.0.1, default: 1.17.2)
The issue was from the bundler versions 2.0.2 and version 2.0.1
This is what I did to fix it.
Open your terminal or command line
Ctrl + Alt + T
N/B: The command above is for Linux Users, the one for Windows users might be different
Display a list of all your local gems for the bundler gem
gem list bundler
N/B: The command above is for rbenv version manager, the one for rvm might be different
Look through the displayed versions of the bundler gem, you will see some closely related conflicting versions like the one below
bundler (2.0.2, 2.0.1, default: 1.17.2)
Uninstall the bundler gem
gem uninstall bundler
Install a new copy of the bundler gem
gem install bundler
Try running the bundle install command again now
bundle install
That's all
I hope this helps.
Simply do the following
Open your terminal
Run gem uninstall bundler to uninstall previous versions of bundler
And then run gem install bundler to install a new copy of bundler
You can now run
bundle install
This worked for me
As mentioned above, you must re-install bundler gem again (because last one was and actually is attached to the previous version you had, as global library, you could actually go back and set it up as default again and see that bundler still there since usually all ruby versions you install thru version managers rbenv or rvm will be kept locally in your machine user's folder.
Step by step run the following (just in case)
rvm list known
Let's say ruby-2.3.3 is the latest or the one you want to work with
rvm install ruby-2.3.3
rvm use --default 2.3.3
gem install bundler
bundle install
In my case i was using OSX also rvm in OSX rvm store rubies in /Users/some_user/.rvm/rubies/default so just remember to configure whatever your terminal is with the proper rvm's ruby path in this case the file i should double check will be .bash_profile and the line of code i would look for will be export PATH=$PATH:/Users/some_user/.rvm/rubies/default
Hope this is helpful for someone that just realizes how rvm and rbenv work around, i was expecting somehow that bundler being a key part of the process will be more like a core library per se (ruby), but instead bundler is a totally separated gem, which bring me back to think, what a gem! way to go! inspirational one!

Ruby command not working after installing Ruby 2.0 through RVM on Linux mint 17.2

I tried to install Ruby 2.0 through RVM. It seems like I installed the Ruby without any problem. However, when I type ruby -v nothing comes out. I think the command ruby is not yet set up.
I want to know how to use "ruby -v".
<blink>
kyu#kyu-Latitude-D430 ~ $ rvm install ruby 2.0.0 Searching for binary rubies, this might take some time.
No binary rubies available for: mint/17.2/x86_64/ruby-2.0.0-p643.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for mint.
Installing requirements for mint.
Updating system............
Installing required packages: g++, libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, libffi-dev..............
Requirements installation successful.
Installing Ruby from source to: /home/kyu/.rvm/rubies/ruby-2.0.0-p643, this may take a while depending on your cpu(s)...
ruby-2.0.0-p643 - #downloading ruby-2.0.0-p643, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.2M 100 10.2M 0 0 1139k 0 0:00:09 0:00:09 --:--:-- 1473k
ruby-2.0.0-p643 - #extracting ruby-2.0.0-p643 to /home/kyu/.rvm/src/ruby-2.0.0-p643....
ruby-2.0.0-p643 - #configuring..................................................
ruby-2.0.0-p643 - #post-configuration..
ruby-2.0.0-p643 - #compiling................................................................................
ruby-2.0.0-p643 - #installing..............................
ruby-2.0.0-p643 - #making binaries executable..
ruby-2.0.0-p643 - #downloading rubygems-2.4.8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 437k 100 437k 0 0 225k 0 0:00:01 0:00:01 --:--:-- 225k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.0.0-p643 - #extracting rubygems-2.4.8....
ruby-2.0.0-p643 - #removing old rubygems.........
ruby-2.0.0-p643 - #installing rubygems-2.4.8......................
ruby-2.0.0-p643 - #gemset created /home/kyu/.rvm/gems/ruby-2.0.0-p643#global
ruby-2.0.0-p643 - #importing gemset /home/kyu/.rvm/gemsets/global.gems...............................................
ruby-2.0.0-p643 - #generating global wrappers........
ruby-2.0.0-p643 - #gemset created /home/kyu/.rvm/gems/ruby-2.0.0-p643
ruby-2.0.0-p643 - #importing gemsetfile /home/kyu/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.0.0-p643 - #generating default wrappers........
ruby-2.0.0-p643 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.0.0-p643 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
kyu#kyu-Latitude-D430 ~ $ ruby -v
bash: /usr/bin/ruby: No such file or directory <code>
<blink>
You should have something like
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
in your .profile file.
If it's there, you may not have started a new login shell since it was added, so just source it manually.
Then you should see some ruby related paths when you
echo $PATH

Resources