搭建ruby+watir-webdriver+cucumber环境

来源:互联网 发布:哇嘎超级节点连接网络 编辑:程序博客网 时间:2024/05/22 01:34

cucumber features


cucumber


D:\09_Automation\01_SC_FE_Branch\800_UI>gem install cucumber
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: diff-lcs-1.2.5.gem (100%)
Successfully installed diff-lcs-1.2.5
Fetching: multi_json-1.8.4.gem (100%)
Successfully installed multi_json-1.8.4
Fetching: gherkin-2.12.2-java.gem (100%)
Successfully installed gherkin-2.12.2-java
Fetching: multi_test-0.0.3.gem (100%)
Successfully installed multi_test-0.0.3
Fetching: cucumber-1.3.10.gem (100%)
Successfully installed cucumber-1.3.10
6 gems installed


*** LOCAL GEMS ***


builder (3.2.2)
cucumber (1.3.10)
diff-lcs (1.2.5)
gherkin (2.12.2 java)
jruby-win32ole (0.8.5)
multi_json (1.8.4)
multi_test (0.0.3)



ruby-debug

D:\09_Automation\01_SC_FE_Branch\800_UI>gem install ruby-debug
Fetching: columnize-0.3.6.gem (100%)
Successfully installed columnize-0.3.6
Fetching: ruby-debug-base-0.10.4-java.gem (100%)
Successfully installed ruby-debug-base-0.10.4-java
Fetching: ruby-debug-0.10.4.gem (100%)
Successfully installed ruby-debug-0.10.4
3 gems installed


watir-webdriver

    Unable to resolve dependency: watir-webdriver (= 0.6.4) requires selenium-webdriver (>= 2.18.0)


D:\09_Automation\01_SC_FE_Branch\800_UI>gem install selenium-webdriver
Fetching: rubyzip-1.1.0.gem (100%)
Successfully installed rubyzip-1.1.0
Fetching: ffi-1.9.3-java.gem (100%)
Successfully installed ffi-1.9.3-java
Fetching: childprocess-0.4.0.gem (100%)
Successfully installed childprocess-0.4.0
Fetching: websocket-1.0.7.gem (100%)
Successfully installed websocket-1.0.7
Fetching: selenium-webdriver-2.39.0.gem (100%)
Successfully installed selenium-webdriver-2.39.0
5 gems installed


D:\09_Automation\01_SC_FE_Branch\800_UI>gem install watir-webdriver
Fetching: watir-webdriver-0.6.4.gem (100%)
Successfully installed watir-webdriver-0.6.4
1 gem installed



C:\Users\Administrator>gem install activesupport
Fetching: i18n-0.6.9.gem (100%)
Successfully installed i18n-0.6.9
Fetching: tzinfo-0.3.38.gem (100%)
Successfully installed tzinfo-0.3.38
Fetching: minitest-4.7.5.gem (100%)
Successfully installed minitest-4.7.5
Fetching: atomic-1.1.14-java.gem (100%)
Successfully installed atomic-1.1.14-java
Fetching: thread_safe-0.1.3-java.gem (100%)
Successfully installed thread_safe-0.1.3-java
Fetching: activesupport-4.0.2.gem (100%)
Successfully installed activesupport-4.0.2
6 gems installed


C:\Users\Administrator>gem install activerecord
Fetching: builder-3.1.4.gem (100%)
Successfully installed builder-3.1.4
Fetching: activemodel-4.0.2.gem (100%)
Successfully installed activemodel-4.0.2
Fetching: arel-4.0.1.gem (100%)
Successfully installed arel-4.0.1
Fetching: activerecord-deprecated_finders-1.0.3.gem (100%)
Successfully installed activerecord-deprecated_finders-1.0.3
Fetching: activerecord-4.0.2.gem (100%)
Successfully installed activerecord-4.0.2
5 gems installed



no such file to load -- memcached (LoadError)

D:\09_Automation\01_SC_FE_Branch\800_UI>gem install jruby-memcached
Fetching: jruby-memcached-0.5.5.gem (100%)
Successfully installed jruby-memcached-0.5.5
1 gem installed


Unable to activate activemodel-4.0.2, because builder-3.2.2 conflicts with builder (~> 3.1.0) (Gem::LoadError)

D:\09_Automation\01_SC_FE_Branch\800_UI>gem install activemodel
Successfully installed activemodel-4.0.2

Unable to activate activemodel-4.0.2, because builder-3.2.2 conflicts with(冲突) builder (~> 3.1.0) (Gem::LoadError)


D:\09_Automation\01_SC_FE_Branch\800_UI>gem uninstall builder -v 3.2.2
Successfully uninstalled builder-3.2.2



0 0
原创粉丝点击