#11 ✓resolved
Umair Siddique

rake gems throws error if 'echoe' gem is not installed

Reported by Umair Siddique | November 17th, 2008 @ 08:44 PM

If echoe gem is not installed, the authlogic (and as well as searchlogic) gems fail in "rake gems" call.

Pretty obvious, I'm on Windows :)

C:\Users\Umair\Documents\NetBeansProjects\testproject>rake gems (in C:/Users/Umair/Documents/NetBeansProjects/testproject) - [I] authlogic rake aborted! You have a nil object when you didn't expect it! The error occurred while evaluating nil.dependencies

(See full trace by running task with --trace)

C:\Users\Umair\Documents\NetBeansProjects\testproject>rake gems --trace (in C:/Users/Umair/Documents/NetBeansProjects/testproject) Invoke gems (first_time) Invoke gems:base (first_time) Execute gems:base Invoke environment (first_time) Execute environment Execute gems - [I] authlogic rake aborted! You have a nil object when you didn't expect it! The error occurred while evaluating nil.dependencies c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/rails/gem_dependency.rb:77:in de pendencies' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.1/lib/active_support/core_ext/s ymbol.rb:11:insend' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.1/lib/active_support/core_ext/s ymbol.rb:11:in to_proc' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/rails/gem_dependency.rb:80:inma p' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/rails/gem_dependency.rb:80:in de pendencies' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/tasks/gems.rake:15:inprint_gem_ status' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/tasks/gems.rake:4 c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/tasks/gems.rake:3:in each' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.1/lib/tasks/gems.rake:3 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:incall' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:ineach' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:ininvoke_with_call_c hain' c:/ruby/lib/ruby/1.8/monitor.rb:242:in synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:ininvoke_with_call_c hain' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:ininvoke_task' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:ineach' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:instandard_exceptio n_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:inrun' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in standard_exceptio n_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:inrun' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 c:/ruby/bin/rake:19:in load' c:/ruby/bin/rake:19

C:\Users\Umair\Documents\NetBeansProjects\testproject>gem install echoe Successfully installed echoe-3.0.2 1 gem installed Installing ri documentation for echoe-3.0.2... Installing RDoc documentation for echoe-3.0.2...

C:\Users\Umair\Documents\NetBeansProjects\testproject>rake gems (in C:/Users/Umair/Documents/NetBeansProjects/testproject) - [I] authlogic

- [I] activesupport = 2.2.1
- [ ] echoe
- [I] rake = 0.8.3
- [ ] rubyforge >= 1.0.0
- [ ] highline

I = Installed F = Frozen R = Framework (loaded before rails starts)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Pages