It's a weird problem.

rspec is installed for sure. I can use it in other Rails apps locally
from within the same Ruby/Rails setup.

I tried adding a git submodule for rspec to vendor/gems/rspec from the
rspec github page. Still, the same errors.

I switched back to Ubuntu's Ruby installation to try if this made a
difference, but the problem remains the same. It just affects Typo.
Other Rails apps work fine...

Thanks for your help,

Tobias

On Feb 22, 4:46 am, Maurício Linhares <[email protected]>
wrote:
> Rake is trying to find rspec and isn`t being able to do it. Do you
> have any other rails version available? Are you sure that the rspec
> gem is installed at your current Ruby interpreter?
>
> You could also try to unpack the rspec gem into vendor/gems in your app.
>
> -
> Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) 
> |http://blog.codevader.com/(en)
>
> On Sat, Feb 21, 2009 at 7:13 PM, polarapfel <[email protected]> 
> wrote:
>
> > Hi everybody,
>
> > I am trying to get the Typo blog engine up and running in development
> > mode but I hit the wall as early as running rake db:migrate:
>
> > (in /home/tweisser/workspace/typo/typo)
> > rake aborted!
> > no such file to load -- spec/rake/spectask
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `gem_original_require'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `require'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
> > activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
> > `require'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
> > activesupport-2.2.2/lib/active_support/dependencies.rb:521:in
> > `new_constants_in'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
> > activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
> > `require'
> > /home/tweisser/workspace/typo/typo/lib/tasks/rspec.rake:9
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
> > activesupport-2.2.2/lib/active_support/dependencies.rb:142:in
> > `load_without_new_constant_marking'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
> > activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
> > activesupport-2.2.2/lib/active_support/dependencies.rb:521:in
> > `new_constants_in'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/
> > activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/
> > lib/tasks/rails.rb:8
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/
> > lib/tasks/rails.rb:8:in `each'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/
> > lib/tasks/rails.rb:8
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `gem_original_require'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `require'
> > /home/tweisser/workspace/typo/typo/Rakefile:10
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:2349:in `load'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:2349:in `raw_load_rakefile'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:1985:in `load_rakefile'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:2036:in `standard_exception_handling'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:1984:in `load_rakefile'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:1969:in `run'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:2036:in `standard_exception_handling'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > lib/rake.rb:1967:in `run'
> > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/
> > bin/rake:31
> > /opt/ruby-enterprise/bin/rake:19:in `load'
> > /opt/ruby-enterprise/bin/rake:19
>
> > You can see which version of Ruby I'm running. It's symlinked by /opt/
> > ruby-enterprise with /opt/ruby-enterprise/bin in my $PATH.
>
> > I have the latest version of gem and these gems installed:
>
> > *** LOCAL GEMS ***
>
> > actionmailer (2.2.2)
> > actionpack (2.2.2)
> > actionwebservice (1.2.6)
> > activerecord (2.2.2)
> > activeresource (2.2.2)
> > activesupport (2.2.2)
> > capistrano (2.5.4)
> > highline (1.5.0)
> > mysql (2.7)
> > net-scp (1.0.2)
> > net-sftp (2.0.2)
> > net-ssh (2.0.10)
> > net-ssh-gateway (1.0.1)
> > rails (2.2.2)
> > rake (0.8.3)
> > rspec (1.1.12)
> > will_paginate (2.2.2)
>
> > I don't know what's wrong here.
>
> > Did anybody encounter this problem elsewhere? I have little to no
> > Rails debugging experience with current Rails versions. Where to
> > start?
>
> > Thanks for your help.
>
> > Tobias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to