<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><html>On May 19, 2008, at 7:01 PM, Larry Kluger wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,<br><br>I newly downloaded rspec, rspec_on_rails and ran the command<br>ruby script/generate rspec<br>from the instructions&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span><a href="http://rspec.info/documentation/rails/install.html">http://rspec.info/documentation/rails/install.html</a><br><br>I then created the directories in spec:<span class="Apple-converted-space">&nbsp;</span><br>&nbsp; controllers, fixtures, helpers, models, views<br><br>I then created the file spec/models/user_spec.rb&nbsp; as a spec for my model User.<br>(Is the convention to name the model's spec&nbsp;&nbsp;&nbsp;&nbsp; user.rb&nbsp; ?? ) The docs give both examples on different pages of the wiki.<br><br>Anyhow, my problem:<br>I run rake spec<br>and get<span class="Apple-converted-space">&nbsp;</span><br><br>/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- spec/rails (MissingSourceFile)<br><br>The file /spec/spec_helper.rb contains the line<br>require 'spec/rails'<br><br>Using the response to a similar q/a I found on the net, I also tried<br>&nbsp;&nbsp; ruby script/spec spec<br>Same result.</div></div></div></span></blockquote><div><br></div><div>What version of rails are you using?</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br><br>Pointers would be most appreciated.<br><br>Thanks,<br><br>Larry<br><br>ps. I URGE the powers-that-be to update the installation instructions. This type of problem dramatically slows down adoption of an otherwise great projec<span class="Apple-converted-space">&nbsp;</span><br></div></div>_______________________________________________<br>rspec-users mailing list<br><a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a></div></span></blockquote></div><br></body></html>