Forum: Rails Engines development Cannot download the engine plugin.

Be132b469c1ac1b78a7a9a6d31fef864?d=identicon&s=25 Chris Laurie (Guest)
on 2006-01-16 19:55
I tried to download the engine pluging using the ruby script/plugin
method but it does not work. Here is the errors logged into console:

C:\Ruby\InstantRails\rails_apps\theapp>ruby script\plugin install
engines
script/plugin: No such file or directory - svn --version
script/plugin: No such file or directory - svn ls
http://dev.rubyonrails.com/svn
/rails/plugins/
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin
.rb:313:in `plugins': private method `split' called for nil:NilClass
(NoMethodEr
ror)
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:321:in `each'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:238:in `find_plugin'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:237:in `each'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:237:in `find_plugin'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:696:in `parse!'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:692:in `each'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:692:in `parse!'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:411:in `parse!'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:427:in `parse!'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/co
mmands/plugin.rb:823
        from
C:/Ruby/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re
quire.rb:21:in `require__'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re
quire.rb:21:in `require'
        from
C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.
5/lib/active_support/dependencies.rb:214:in `require'
        from script/plugin:3
602d5e1712946ae075e1c687e1318483?d=identicon&s=25 joshua schairbaum (Guest)
on 2006-01-18 17:31
Chris Laurie wrote:
> I tried to download the engine pluging using the ruby script/plugin
> method but it does not work. Here is the errors logged into console:
>
> C:\Ruby\InstantRails\rails_apps\theapp>ruby script\plugin install
> engines
> script/plugin: No such file or directory - svn --version
> script/plugin: No such file or directory - svn ls
> http://dev.rubyonrails.com/svn
> /rails/plugins/
> C:/Ruby/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin
> .rb:313:in `plugins': private method `split' called for nil:NilClass
> (NoMethodEr
> ror)
>         from



I think this means that you do not have svn configured correctly,
specifically that svn is not in your PATH.
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-01-20 06:58
(Received via mailing list)
Do you have svn installed on your machine? It seems like the
script/plugin command is making calls to svn, but cannot find it on
your system.

- james
B5384da2495dc3a41fc1eb0d7d9a0087?d=identicon&s=25 Joshua Schairbaum (Guest)
on 2006-01-21 00:46
James Adam wrote:
> Do you have svn installed on your machine? It seems like the
> script/plugin command is making calls to svn, but cannot find it on
> your system.
>
> - james

Right, if you've just got TortoiseSVN or some other client, that won't
work...you actually need SVN itself.
This topic is locked and can not be replied to.