# Looks like a bug - Ruby1.9.1Rails2.3.0 - script/plugin

**URL:** <https://www.ruby-forum.com/t/looks-like-a-bug-ruby1-9-1rails2-3-0-script-plugin/161886>\
**Category:** Rails\
**Created:** [March 3, 2009, 12:51pm UTC](https://www.ruby-forum.com/t/looks-like-a-bug-ruby1-9-1rails2-3-0-script-plugin/161886 "2009-03-03T12:51:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@rick](https://www.ruby-forum.com/u/rick)\
**Post date:** [March 3, 2009, 12:51pm UTC](https://www.ruby-forum.com/t/looks-like-a-bug-ruby1-9-1rails2-3-0-script-plugin/161886/1 "2009-03-03T12:51:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@rick](https://www.ruby-forum.com/u/rick)\
**Post date:** [March 3, 2009, 3:50pm UTC](https://www.ruby-forum.com/t/looks-like-a-bug-ruby1-9-1rails2-3-0-script-plugin/161886/2 "2009-03-03T15:50:39Z")

</div>

On Tue, Mar 3, 2009 at 3:50 AM, Rick [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Active Resource version 2.3.0  
> #\<TypeError: can’t convert Array into String\>  
> So why can’t R(1.9.1)onR(2.3.0) “convert Array into String”?  
> [#2018 Ruby 1.9 compat: plugin/install git://... always fails in Ruby 1.9 - Ruby on Rails - rails](http://rails.lighthouseapp.com/projects/8994/tickets/2018-ruby-19-compat-plugininstall-git-always-fails-in-ruby-19)

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![rick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@rick](https://www.ruby-forum.com/u/rick)\
**Post date:** [March 3, 2009, 7:18pm UTC](https://www.ruby-forum.com/t/looks-like-a-bug-ruby1-9-1rails2-3-0-script-plugin/161886/3 "2009-03-03T19:18:09Z")

</div>

Got it and thanks
