« Return to Thread: rake spec error: uninitialized constant Spec::Rails::Example::RailsExampleGroup

Re: rake spec error: uninitialized constant Spec::Rails::Example::RailsExampleGroup

by eng. Ilian Iliev :: Rate this Message:

| View in Thread


Hi,

and thanks again for the fast help. This work almost perfectly for me.
There was only one thing that I must do. After removing other
versions
and leaving only 1.1.12 I get new error :
"uninitialized constant Scenario"
Fortunately there is easy to find solution ->
http://radiantcms.org/blog/archives/2009/03/10/developer-tips-scenarios-and-datasets/

10x again for the help and I hope that this discussion will be
useful for other people as well as it was for me.

Greetings
Ilian Iliev




On 5 Май, 16:58, Sean Cribbs <seancri...@...> wrote:

> Yes, exactly:
>
> sudo gem install -v=1.1.12 rspec rspec-rails
>
> Sean
>
> eng. Ilian Iliev wrote:
> > Hi,
>
> > does you post mean that i should have rspec 1.1.11 cause I currently
> > have:
>
> > radiant (0.7.1)
> > rake (0.8.4, 0.8.1)
> > rspec (1.2.6, 1.2.4)
> > rspec-rails (1.2.6, 1.2.4)
>
> > 10x in advance,
> > Ilian Iliev
>
> > On 5 Май, 16:17, Sean Cribbs <seancri...@...> wrote:
>
> >> That's my fault.  Radiant 0.7.1 requires RSpec 1.1.11 or 1.1.12, but the
> >> version is not "locked" properly in the gemspec.  Edge runs properly on
> >> RSpec 1.2.x.
>
> >> Sean
>
> >> eng. Ilian Iliev wrote:
>
> >>> Hi all,
>
> >>> does any one of you have the same problem?
>
> >>> I follow the create extension tutorial (http://wiki.github.com/radiant/radiant/creating-extensions
> >>> )
> >>> step by step but after callign "rake spec" I got this error:
>
> >>> C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/
> >>> lib/../../activesupport/lib/active_support/depend
> >>> encies.rb:276:in `load_missing_constant': uninitialized constant
> >>> Spec::Rails::Example::RailsExampleGroup (NameError)
>
> >>> Any ideas?
>
> >>> I am absolute radiant/ruby beginner so every help will be appreciated.
>
> >>> 10x in advance
> >>> Ilian Iliev
>
>
--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: rake spec error: uninitialized constant Spec::Rails::Example::RailsExampleGroup