spork fails to work with rubygems 1.8.0/1.8.1 but works with 1.7.2

bhavindkamani's Avatar

bhavindkamani

06 May, 2011 09:18 AM

After doing a system upgrade spork fails to work with 1.8.0/1.8.1. It appears to be rubygems issue as stacktrace leads to a rubygem deprecated method "latest_load_paths". All works well when I revert back to 1.7.2

  1. 1 Posted by Greg B on 06 May, 2011 11:48 AM

    Greg B's Avatar

    I'm seeing this too (rubygems 1.8.1, rvm ruby-1.9.2-p180)


    ahound(master|549m) $ spork
    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/mc/.rvm/gems/ruby-1.9.2-p180@global/specifications/bundler-1.0.0.rc.5.gemspec:10.
    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/mc/.rvm/gems/ruby-1.9.2-p180@global/specifications/rake-0.8.7.gemspec:10.
    NOTE: Gem.latest_load_paths is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem.latest_load_paths called from /Users/mc/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc5/lib/spork.rb:107.
    NOTE: Gem.all_partials is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem.all_partials called from /Users/mc/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:600.
    undefined method
    basename' for "/Users/mc/.rvm/gems/ruby-1.9.2-p180/gems/abstract-1.0.0":String (NoMethodError) /Users/mc/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:601:inblock in latest_partials'

  2. 2 Posted by Greg B on 07 May, 2011 06:34 PM

    Greg B's Avatar

    This is fixed in spork 0.9.0rc7.

  3. Support Staff 3 Posted by Ryan Davis on 13 May, 2011 07:57 AM

    Ryan Davis's Avatar

    This was a bug on my part and not a matter of deprecation... just a bug. It has been addressed in spork directly and the buggy code will be fixed in the next revision of rubygems.

    Sorry for the trouble.

  4. Ryan Davis closed this discussion on 13 May, 2011 07:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM