On 3/20/07, Scott Taylor <mailing_lists at railsnewbie.com>
wrote:>
> I''ve created a short patch so that spec.opts can use a single line
> (or multiple lines for backwards compatibility) for options. I''ve
> run the specs against spec:trunk
>
> I have two questions:
>
> 1. I''ve run rake pre_commit, but after the specs are done
running, I
> get this error:
>
> rake aborted!
> ERROR while running webgen: /opt/local/lib/ruby/site_ruby/1.8/
> rubygems/custom_require.rb:27:in `gem_original_require'': no such
file
> to load -- webgen/plugins/tags/tags (LoadError)
> from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `require''
> from /Users/smtlaissezfaire/proj/ruby/projects/rspec/trunk/
> doc/plugin/version.rb:1:in `load_plugin''
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/
> webgen/plugin.rb:224:in `load_from_file''
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/
> webgen/plugin.rb:223:in `catch''
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/
> webgen/plugin.rb:223:in `load_from_file''
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/
> webgen/plugin.rb:237:in `load_from_block''
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/
> webgen/plugin.rb:237:in `catch''
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/
> webgen/plugin.rb:237:in `load_from_block''
> ... 13 levels...
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/
> webgen/cli.rb:454:in `cli_main''
> from /opt/local/lib/ruby/gems/1.8/gems/webgen-0.4.2/bin/
> webgen:4
> from /opt/local/bin/webgen:16:in `load''
> from /opt/local/bin/webgen:16
> /Users/smtlaissezfaire/proj/ruby/projects/rspec/trunk/rspec/rakefile:63
>
>
> So - Is this some incompatiblity between the newer version of ruby?
> I''ve installed all of the following gems (as the docs say):
>
> * rake # Runs the build script
> * rcov # Verifies that the code is 100% covered by specs
> * webgen # Generates the static HTML website
> * RedCloth # Required by webgen
> * syntax # Required by our own custom webgen extension to
> highlight ruby code
> * diff-lcs # Required if you use the --diff switch
> * meta_project # Required in order to make releases at RubyForge
> * heckle # Required if you use the --heckle switch
>
> What am I missing?
>
RSpec is using webgen 0.3.8. You probably have a newer version.
>
> 2. The website says to include docs. This is a relatively minor
> change. Should I just put a comment in front of the methods
> indicating the changes, in typical rdoc style?
>
We put *changes* in the trunk/rspec/CHANGES file. We use RDoc only for
documentation (and not for changes). So you should probably update
both.
Aslak
> Best,
>
> Scott Taylor
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>