rspec --init not working/ `mkd ir': Invalid argument - ./C: (Errno::EINVAL)
Here's how I finally fixed this crap:
gem uninstall rspec
gem uninstall rspec-core rspec-expectations rspec-mocks rspec-support
gem install rspec -v 2.14.1
Basically, newer versions of rspec are broken on Windows. Don't use them. Do this and rspec works just fine.
rspec --init not working/ `mkd ir': Invalid argument - ./C: (Errno::EINVAL)
Here's how I finally fixed this crap:
gem uninstall rspec
gem uninstall rspec-core rspec-expectations rspec-mocks rspec-support
gem install rspec -v 2.14.1
Basically, newer versions of rspec are broken on Windows. Don't use them. Do this and rspec works just fine.
Related Topics
How to Test 'Rand()' with Rspec
How to Get Past "Http://Gems.Rubyforge.Org/ Does Not Appear to Be a Repository" Error Message
Generating an Instagram- or Youtube-Like Unguessable String Id in Ruby/Activerecord
How to Format This International Phone Number in Rails
How to Find Each Instance of a Class in Ruby
Creating Permutations from a Multi-Dimensional Array in Ruby
How to Downgrade from Ruby 1.9.2 to Ruby 1.8.7 to Run Rails 2.0.2
Rails Carrierwave Base64 Image Upload
Rails - Local Variables Versus Instance Variables
How to Generate Links with Trailing Slash in Rails 3
Handling Exceptions Raised in a Ruby Thread
How to Convert a Ruby Object to JSON
What Is '-Mix' in a Ruby Regular Expression
How to Robustly Parse Malformed CSV