[MacRuby] #1039: Bundler fails with TypeError: can't convert Pathname into String

MacRuby ruby-noreply at macosforge.org
Tue Dec 14 19:05:46 PST 2010


#1039: Bundler fails with TypeError: can't convert Pathname into String
------------------------------+---------------------------------------------
 Reporter:  sferik@…          |       Owner:  lsansonetti@…                    
     Type:  defect            |      Status:  new                              
 Priority:  major             |   Milestone:                                   
Component:  MacRuby           |    Keywords:  bundler, bundle, Pathname, String
------------------------------+---------------------------------------------
Changes (by lsansonetti@…):

  * milestone:  MacRuby 1.0 =>


Comment:

 Here is the code in bundler.rb line 230:

 {{{
     def load_gemspec(file)
       path = Pathname.new(file)
       # Eval the gemspec from its parent directory
       Dir.chdir(path.dirname) do                                         #
 <-- FAILS HERE
         begin
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1039#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list