I started talking this one up yesterday - I''ve gotten as close to a good problem statement as I can. 1) script/about: Ruby version 1.9.1 (powerpc-darwin9.6.0) RubyGems version 1.3.1 Rails version 2.3.0 Active Record version 2.3.0 Action Pack version 2.3.0 Active Resource version 2.3.0 Action Mailer version 2.3.0 Active Support version 2.3.0 Application root /Users/rick/plugin-git Environment development Database adapter sqlite3 Database schema version 0 2) script/plugin install -v git://github.com/rubyist/aasm.git Plugins will be installed using http Plugin not found: ["git://github.com/rubyist/aasm.git"] #<TypeError: can''t convert Array into String> I rattled around in lib/ruby/gems/1.9.1/gems/rails-2.3.0/lib/commands/ plugin.rb for awhile with the blunt tool of "puts thing.inspect" to make sure I was getting to where I should. (BTW when will the ruby- debugger be available???) I traced this through to the call to "install_using_git" and, by replacing the variables with their string equivalents in the calls to "Dir.chdir" and "system()" I was able to get the install to complete. So why can''t R(1.9.1)onR(2.3.0) "convert Array into String"? Rick --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor
2009-Mar-03 14:49 UTC
Re: Looks like a bug - Ruby1.9.1Rails2.3.0 - script/plugin
On Tue, Mar 3, 2009 at 3:50 AM, Rick <Richard.T.Lloyd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I started talking this one up yesterday - I''ve gotten as close to a > good problem statement as I can. > > 1) script/about: > Ruby version 1.9.1 (powerpc-darwin9.6.0) > RubyGems version 1.3.1 > Rails version 2.3.0 > Active Record version 2.3.0 > Action Pack version 2.3.0 > Active Resource version 2.3.0 > Action Mailer version 2.3.0 > Active Support version 2.3.0 > Application root /Users/rick/plugin-git > Environment development > Database adapter sqlite3 > Database schema version 0 > > 2) script/plugin install -v git://github.com/rubyist/aasm.git > Plugins will be installed using http > Plugin not found: ["git://github.com/rubyist/aasm.git"] > #<TypeError: can''t convert Array into String> > > I rattled around in lib/ruby/gems/1.9.1/gems/rails-2.3.0/lib/commands/ > plugin.rb for awhile with the blunt tool of "puts thing.inspect" to > make sure I was getting to where I should. (BTW when will the ruby- > debugger be available???) > > I traced this through to the call to "install_using_git" and, by > replacing the variables with their string equivalents in the calls to > "Dir.chdir" and "system()" I was able to get the install to complete. > > So why can''t R(1.9.1)onR(2.3.0) "convert Array into String"?http://rails.lighthouseapp.com/projects/8994/tickets/2018-ruby-19-compat-plugininstall-git-always-fails-in-ruby-19 Good luck, -Conrad --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Got it and thanks On Mar 3, 4:49 am, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Mar 3, 2009 at 3:50 AM, Rick <Richard.T.Ll...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I started talking this one up yesterday - I''ve gotten as close to a > > good problem statement as I can. > > > 1) script/about: > > Ruby version 1.9.1 (powerpc-darwin9.6.0) > > RubyGems version 1.3.1 > > Rails version 2.3.0 > > Active Record version 2.3.0 > > Action Pack version 2.3.0 > > Active Resource version 2.3.0 > > Action Mailer version 2.3.0 > > Active Support version 2.3.0 > > Application root /Users/rick/plugin-git > > Environment development > > Database adapter sqlite3 > > Database schema version 0 > > > 2) script/plugin install -v git://github.com/rubyist/aasm.git > > Plugins will be installed using http > > Plugin not found: ["git://github.com/rubyist/aasm.git"] > > #<TypeError: can''t convert Array into String> > > > I rattled around in lib/ruby/gems/1.9.1/gems/rails-2.3.0/lib/commands/ > > plugin.rb for awhile with the blunt tool of "puts thing.inspect" to > > make sure I was getting to where I should. (BTW when will the ruby- > > debugger be available???) > > > I traced this through to the call to "install_using_git" and, by > > replacing the variables with their string equivalents in the calls to > > "Dir.chdir" and "system()" I was able to get the install to complete. > > > So why can''t R(1.9.1)onR(2.3.0) "convert Array into String"? > > http://rails.lighthouseapp.com/projects/8994/tickets/2018-ruby-19-com... > > Good luck, > > -Conrad--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---