Welcome to the Treehouse Community
Looking to learn something new?
Problem with config.yml when installing ruby on rails
Im running ruby dk.rb init (inside my devkit folder) and then ruby dk.rb install but there is a message that says: "is needed to fix config.yml"
This is my config.yml
# This configuration file contains the absolute path locations of all # installed Rubies to be enhanced to work with the DevKit. This config # file is generated by the 'ruby dk.rb init' step and may be modified # before running the 'ruby dk.rb install' step. To include any installed # Rubies that were not automagically discovered, simply add a line below # the triple hyphens with the absolute path to the Ruby root directory. # # Example: # # --- # - C:/ruby19trunk # - C:/ruby192dev # ---
Charles Desabrais5,183 Points
If anyone get this error, chances are that you installed Ruby x64.
You can get the installation to work by opening %DevKitExtractionDir%\dk.rb(if you followed the video, it will be C:\Ruby200\devkit) in a text editor and changing the REG_KEYS array to include the 64-bit registry path, so it looks like this:
REG_KEYS = [ 'Software\RubyInstaller\MRI', 'Software\RubyInstaller\Rubinius', ' Software\Wow6432Node\RubyInstaller\MRI' ]