On Tuesday, September 21, 2010 10:14:02 pm Wolfram Volpi wrote:
Hello. My name is wolfv and I am new to Ruby. I appreciate your
answers to the following three questions.
- Do the rspec, hpricot, and cucumber packages come with Ruby?
No. However, Rubygems does come with recent versions of Ruby.
- Does that mean I will need to download the files from RubyGems?
Sort of, if by “download” you mean typing this:
gem install rspec hpricot cucumber
If you’re on a recent Linux or OS X, you may have to put ‘sudo’ in front
that command like so:
sudo gem install rspec hpricot cucumber
This is worth doing anyway. You never know when some tiny gem someone
going to be useful to you, and it’s nice to be able to run only one
update all installed gems:
sudo gem update
You may also want to look into Bundler, which new Rails projects use.
says “Ruby 1.9.2 passes over 99% of RubySpec.” What does “passes over”
The “over” is modifying the 99%. In other words, it passes 99.9% or
RubySpec, by the way, has little to do with RSpec. It’s an attempt to
test suite for testing Ruby implementations themselves, so that things
JRuby and IronRuby can be measured against this, not just “Does it work
way the C Ruby (MRI) does?”