Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby on rails devkit windows

I am having a problem in installing devkit of ruby on rails. Here's the error I got

C:\DevKit>ruby dk.rb review
Based upon the settings in the 'config.yml' file generated
from running 'ruby dk.rb init' and any of your customizations,
DevKit functionality will be injected into the following Rubies
when you run 'ruby dk.rb install'.

C:/Ruby192
C:/Ruby192/include/ruby-1.9.1

C:\DevKit>ruby dk.rb install
[INFO] Updating convenience notice gem override for 'C:/Ruby192'
[INFO] Installing 'C:/Ruby192/lib/ruby/site_ruby/devkit.rb'
[ERROR] Unable to find RubyGems in site_ruby or core Ruby. Please install RubyGems and rerun 'ruby dk.rb install'.

Please help me

Thanks

like image 923
Mir Avatar asked Jul 01 '11 16:07

Mir


2 Answers

The error is that you added C:/Ruby192/include/ruby-1.9.1 to the list of Ruby installations.

By default dk.rb will not find that and actually that is not a valid path.

Please ensure config.yml contains just this:

- C:/Ruby192

The dash is important

Once you do that, try ruby dk.rb install again.

like image 90
Luis Lavena Avatar answered Oct 31 '22 03:10

Luis Lavena


Open config.yml and configure the diretory of Ruby EX: C:/Ruby192

like image 27
Darlan D. Avatar answered Oct 31 '22 02:10

Darlan D.