How do I install 'byebug' for ruby on Windows?

后端 未结 3 1713
天命终不由人
天命终不由人 2021-01-23 20:24

I am new to ruby and trying to setup my dev environment (Windows 10). I have installed ruby and rails but cannot install byebug. From what I read I need the DevKit first. So I i

3条回答
  •  一个人的身影
    2021-01-23 21:08

    I know this is a late reply!

    But when you face difficulties with DevKit, in this case with native gem such as buybug or json, you have to know that if your System type is 64 bit, you must use a RubyInstaller 64 bit, and DevKit 64 bit. Follow the same principle with a 32 bit system type, use a RubyInstaller 32bit, and DevKit 32bit.

    Also do not forget to run few commands after you installed, ruby and rails and DevKit, to do this go to the permanent installation of DevKit through terminal(cmd in windows) and run:

    Commands:

    1. ruby dk.rb init - this will create the configuration file
    2. then run ruby dk.rb install

    Cheers and Happy Coding. Ibrax.

提交回复
热议问题