Can't get Ruby DevKit configuration file autogenerated properly
It seems the problem is that that the 64bit version of Ruby 2.0.0 creates a registry entry in a location that the Devkit initilisation script (dk.rb) is not aware of ('Software\Wow6432Node\RubyInstaller\MRI').
Until the Devkit installer is updated, you can get the installation to work by opening %DevKitExtractionDir%\dk.rb 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'
]
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 (-
)
VisualRuby and DevKit setup
I've installed VisualRuby directed by instructions at http://visualruby.net/site/Download.html It works just fine. I use ruby 1.9.3
Related Topics
Using Acts_As_List with Has_Many :Through in Rails
Difference Between As_JSON and To_JSON Method in Ruby
Xpath to Find All Following Siblings Up Until the Next Sibling of a Particular Type
Start Using Ruby on Rails, Web Services and Oauth
Rails: Is Passenger Standalone Suitable for Production Deployment
Equivalent of Iconv.Conv("Utf-8//Ignore",...) in Ruby 1.9.X
How to Calculate 32 Bit Crc in Ruby on Rails
Ruby on Rails with Imap Idle for Multiple Accounts
How to Negate a Scope in Rails
Programmatically Getting Full Ruby Version
Set Default Stage with Capistrano 3
How to Integrate Rubocop with Rake
How to Write a Rails Mixin That Spans Across Model, Controller, and View