#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

  • Ben Johnson

    Ben Johnson November 17th, 2008 @ 09:38 PM

    • State changed from “new” to “open”

    Hmm, well the whole reason I went with echoe is to avoid the requiring of a dependency. Hoe does this, which is the whole reason echoe was created. That is strange though, I'll look into an alternative. Thanks for letting me know about this.

  • Ben Johnson

    Ben Johnson November 21st, 2008 @ 07:11 PM

    • State changed from “open” to “resolved”

    I added in an error message that requires echoe be installed if you are trying to run meta tasks. I am not sure why rails is running some of those tasks, but at least now its an option. The alternative is to use hoe which always requires itself, which is a little excessive for those that JUST want to use the library and not run any of the tasks.

  • Raul279

    Raul279 December 18th, 2018 @ 02:49 AM

    I had 'rake' in Unicode but all the others in straight, so I had to copy and paste the straight quotes to go around rake. Even when adding to Gemfile, I am still getting the same error message as the original post over and over liteblue. How can I get past load error?

  • badmanlive

    badmanlive January 4th, 2019 @ 01:13 AM

    Even when adding to Gemfile, I am still getting the same error message as the original post over and over Liteblue How do i fix the error?

  • kenkoiii

    kenkoiii April 1st, 2019 @ 03:59 AM

    When you get some problem while playing this red ball and bouncing balls

  • minianna1234567

    minianna1234567 July 22nd, 2019 @ 03:42 AM

    I really like the useful information you shared.
    gun mayhem redux

  • nicolashmartin

    nicolashmartin September 7th, 2019 @ 05:21 AM

    Published over the 'employee id' words. It is your special recognition number. liteblue.usps.gov It consists of an excellent remedy and also solution to the customers.

  • kristen

    kristen October 10th, 2019 @ 08:49 AM

    Wouldn't we be able to simply toss in some code into our other library and utilize that? ... It's best practice to determine every one of the jewels that our library women's black leather jacket relies upon in the gemspec. Rakefile: Requires Bundler and includes the manufacture , introduce and discharge Rake ..... record was totally unfilled, we would keep running into a non-accommodating Errno::ENOEXEC mistake

  • anonymous

    anonymous October 25th, 2019 @ 06:18 AM

    Microsoft is working on the window which is speedy and reliable. Window 8 is the good window but it is too light and some software did not run in this window but this https://www.topdissertations.org/edubirdie-review/ is the best option for students. Overall, the next project of the Microsoft is good and I hope this time they will launch the better version.

  • badmanlive

    badmanlive December 20th, 2019 @ 01:49 PM

    Happy New Year Eve Quotes 2020 HNY Wishes, Resolutions Images New Year

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