我试图进行交互式Ruby测试无济于事.
我没有问题地下载了zip文件,并按照终端命令行的说明继续得到以下错误.我使用的是"Ruby 1.9.3p392(2013-02-22修订版39386)[x86_64-darwin10.8.0]".
如果有人可以提供任何帮助或建议,请提前感谢您.
INSTRUCTIONS:
Install RSpec
gem install rspec
Enter the course directory. (That's the same directory that this
index.html file is in.)
cd learn_ruby
Enter the 00_hello lab.
cd 00_hello
Open a terminal in this directory
cd 00_hello
This directory is the starting point for this exercise. It contains a
spec file and you'll be adding a ruby file to (eventually) make the
specs pass.
Run the test
rake
Watch it fail
You should see an error. Don't …Run Code Online (Sandbox Code Playgroud)