[rspec-users] Annoying problem, stack error

Fischer, Daniel daniel at danielfischer.com
Thu May 24 13:25:47 EDT 2007


Aslak,

Great meeting you at the Rspec BoF!

Anyway, I figured it out. Apparently I installed a new plugin, but that
installed it as "trunk", when there was already a trunk plugin respository
from file_column. I never noticed that it defaulted to trunk instead of the
plugin's name. Weird. How I figured this out, I have no clue.

So, after reinstalling my plugins and renaming them to what they are truly
called, everything worked.

:)

On 5/24/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
>
> On 5/24/07, Fischer, Daniel <daniel at danielfischer.com> wrote:
> > For some reason rake spec is totally crapping out on me.
> >
>
> Judging from the stack trace it doesn't look like it's from RSpec. In
> any case, we need more context to help you. A failing spec, detailed
> version info etc.
>
> Aslak
>
> > I don't know what I did to make it break, the only thing I tried new
> > was install haml, but even after removing it there is still a stack
> > trace.
> >
> > Here is what I am getting-
> >
> > sparta at phalanx ff $ rake spec
> > (in /Users/sparta/Projects/work/idastudios/ff)
> > ..................../usr/local/lib/ruby/gems/1.8/gems/activesupport-
> 1.4.2/lib/active_support/dependencies.rb:249:in
> > `load_missing_constant': Expected
> > /Users/sparta/Projects/work/idastudios/ff/config/../app/models/asset.rb
> > to define Asset (LoadError)
> >         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2
> /lib/active_support/dependencies.rb:452:in
> > `const_missing'
> >         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2
> /lib/active_support/dependencies.rb:464:in
> > `const_missing'
> >         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2
> /lib/active_support/dependencies.rb:260:in
> > `load_missing_constant'
> >         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2
> /lib/active_support/dependencies.rb:468:in
> > `const_missing'
> >         from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3
> /lib/active_record/base.rb:1360:in
> > `compute_type'
> >         from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3
> /lib/active_record/reflection.rb:125:in
> > `send'
> >         from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3
> /lib/active_record/reflection.rb:125:in
> > `klass'
> >         from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3
> /lib/active_record/associations/has_many_association.rb:194:in
> > `construct_sql'
> >          ... 30 levels...
> >         from
> /Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:154:in
> > `parse'
> >         from
> /Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:88:in
> > `create_behaviour_runner'
> >         from
> /Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/lib/spec/runner/command_line.rb:14:in
> > `run'
> >         from
> /Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/bin/spec:3
> > rake aborted!
> > Command ruby
> -I"/Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/lib"
> >
> "/Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/bin/spec"
> > "spec/controllers/comments_controller_spec.rb"
> > "spec/controllers/posts_controller_spec.rb"
> > "spec/controllers/users_controller_spec.rb"
> > "spec/models/asset_spec.rb" "spec/models/category_spec.rb"
> > "spec/models/comment_spec.rb" "spec/models/message_spec.rb"
> > "spec/models/post_spec.rb" "spec/models/user_spec.rb"
> > "spec/models/vote_spec.rb" --options
> > "/Users/sparta/Projects/work/idastudios/ff/config/../spec/spec.opts"
> > failed
> >
> > (See full trace by running task with --trace)
> >
> > Anyone have an idea what the heck is going on?
> >
> > Thanks,
> > Daniel
> >
> > --
> > www.writersbeat.com
> > www.danielfischer.com
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
>



-- 
www.writersbeat.com
www.danielfischer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070524/73e86aa9/attachment-0001.html 


More information about the rspec-users mailing list