Invalid configuration or no Rubies listed. Please fix 'config.yml' and rerun 'ruby dk.rb install'
Try:
---
- G:\Ruby22-x64
The YAML syntax says you need the 3 dashes at the top and then both the dash and space (-
)
Only one version of Ruby works when multiple versions are installed
I had the exact same issue, except using rbenv with bash.
The perpetrator seems to be the echo "export RUBYOPT='-W:no-deprecated -W:no-experimental'" line in your .zsh file, I'm not sure if Ruby 2.6.5 understands it.
Remove echo "export RUBYOPT='-W:no-deprecated -W:no-experimental'" from your .zsh / .bashrc / .profile and restart your shell.
Ruby RVM apt-get update error
RVM
doesn't behave well if apt-get update
has errors. If your apt
sources
have an invalid repository that gives 404 or GPG error, RVM
will refuse to work. This can be confusing because it happens even if the faulty repository has nothing to do with ruby
or RVM
.
The following fix worked for me (Ubuntu):
Run apt-get update
and see if there are any errors. Edit your sources.list
and precise.list
in /etc/apt
to remove the faulty repositories. Repeat until apt-get update
succeeds without any errors. Then try running RVM
.
Related Topics
Load Works on Local Path, Require Doesn'T
How to Store a Ruby Array into a File
When Trying to Generate a Model with Rails and Postgresql, the Command Hangs Without Error
Linux Cli: How to Render Arabic Text into Bitmap
Cannot Install Ruby Gems - Zlib Error
How to Extend a Class from an Initializer and Have It Reload in Development Environment
How to Use Factorygirl to Create an Attribute Called "Alias"
Should Rbenv Be Installed System-Wide, or at a User Level
Single Custom Param Name in Routes for Nested Resources Rails 4.1
How to Return a Fixed Length Binary Representation of an Integer in Ruby
How to Use Fiddle to Pass or Return a Struct to Native Code
How to Upload a Local File to a Carrierwave Model
Rails Installation Error :The 'Atomic' Native Gem Requires Installed Build Tools
How to Log Specific Request Details to Rails Server Logs