Ruby Cucumber Environment

Source: Internet
Author: User

1, http://rubyinstaller.org/downloads download Rubyinstaller and Developmentkit (note the version number to correspond)

2, installation Rubyinstaller and decompression Developmentkit

3. Open cmd, enter Developmentkit extract directory, execute ruby DK.RB init

4. Run the Ruby dk.rb install installation Developmentkit

5. Control Panel-system-Advanced settings-environment variable-system variable path to add Ruby and Developmentkit bin directory

6. Gem Install JSON

7. Gem Install cucumber

8. Gem Install RSpec

9, http://adoxa.altervista.org/ansicon/download ansi166

10. Double-clickansicon.exe input ansicon -I return, ansicon -i-u return

11. Switch the address in CMD toCucumberOfExamples\i18n\en\features Directory

12, cucumber addition.feature

Note: There is no source when installing JSON, cucumber, etc.;

Solution: https://gems.ruby-china.org/

Ruby Cucumber Environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.