tiring of manually googling for SVN urls then checking out modules into /usr/share/ruby and linking it into plugins/, ive tried script/plugin again. it predictable fails here: ./script/plugin install acts_as_ferret svn: URL ''svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins'' non-existent in that revision ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:758:in `parse!'': undefined local variable or method `name'' for #<Commands::Install:0x2af381b6fa90> (NameError) from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:469:in `parse!'' from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:485:in `parse!'' from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:907 from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from ./script/plugin:3 im thinking maybe the laszlo thing is fouling it up, but maybe thats just a warning? in any case, grep -ir laszlo finds nothing of interest to prune .. m cracklog # ./script/plugin unsource svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins failed: svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins Removed 0 repositories. m cracklog # ./script/plugin unsource svn://rubyforge.org/var/svn/laszlo-plugin/rails/ failed: svn://rubyforge.org/var/svn/laszlo-plugin/rails/ Removed 0 repositories. m cracklog # ./script/plugin unsource svn://rubyforge.org/var/svn/laszlo-plugin/ failed: svn://rubyforge.org/var/svn/laszlo-plugin/ Removed 0 repositories. so i guess its write my own plugin script..or figure this out. any ideas? -- Posted via http://www.ruby-forum.com/.
Ray Baxter
2006-Jun-02 19:39 UTC
[Rails] Re: where does script/plugin cache its server list?
Mine is in ~/.rails-plugin-sources -- Ray
Ray Baxter
2006-Jun-02 19:50 UTC
[Rails] Re: where does script/plugin cache its server list?
I wrote:> Mine is in ~/.rails-plugin-sourcesThat''s not a good answer. It answers the question you asked, but is irrelevant. What you should do is in the output of script/plugin -h That will let you read and write you plugin-sources file and otherwise manage where you get you plugins. -- Ray
> That''s not a good answer. It answers the question you asked, but is > irrelevant. What you should do is in the output of > > script/plugin -hyeah. i was able to get it going by using the SVN url listed on the acts_as_ferret page, since the one found in discover wasnt working for whatever reason.. however, ./cript/console Loading development environment.>> Entity.find_by_contents("pcp")./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:226: [BUG] Segmentation fault ruby 1.8.4 (2006-05-27) [x86_64-linux] Aborted (core dumped) i will be announce an ultra-simple and ''probably not good enough for discriminating users'' pure-rails search in the next few days, since ferret segfaults, and acts_as_hyperestraier fails to return results from its supposedly still intact index (according to its web interface) after a reboot.. -- Posted via http://www.ruby-forum.com/.
Ray Baxter
2006-Jun-02 21:24 UTC
[Rails] Re: where does script/plugin cache its server list?
carmen wrote:> however, > ./cript/console > Loading development environment. >>> Entity.find_by_contents("pcp") > ./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:226: > [BUG] Segmentation fault > ruby 1.8.4 (2006-05-27) [x86_64-linux] > Aborted (core dumped)I believe that this error occurs if you have not installed the ferret gem. This is documented on the "Before Installation" step on this page: http://projects.jkraemer.net/acts_as_ferret -- Ray
Benjamin Curtis
2006-Jun-02 23:22 UTC
[Rails] where does script/plugin cache its server list?
This doesn''t directly answer your question :), but it may be helpful just the same. Instead of ''manually googling'' for plugin URLs, go to http://www.agilewebdevelopment.com/plugins/<search term here> to quickly find plugins. Once you found one, you can then run ''script/ plugin install <repo url here>'' to fetch and install the plugin. Maybe one day I''ll get around to writing a nice little UI for script/ plugin that can do the search and let you pick ones to install from the list. Until then, at least you can save yourself a little bit of time by using the rails plugin directory I created. -- Benjamin Curtis http://www.bencurtis.com/ http://www.tesly.com/ -- Collaborative test case management http://www.agilewebdevelopment.com/ -- Resources for the Rails community On Jun 2, 2006, at 11:22 AM, carmen wrote:> tiring of manually googling for SVN urls then checking out modules > into > /usr/share/ruby and linking it into plugins/, ive tried script/plugin > again. it predictable fails here: > > ./script/plugin install acts_as_ferret > svn: URL ''svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins'' > non-existent in that revision > ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb: > 758:in > `parse!'': undefined local variable or method `name'' for > #<Commands::Install:0x2af381b6fa90> (NameError) > from > ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb: > 469:in > `parse!'' > from > ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb: > 485:in > `parse!'' > from > ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:907 > from > /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from ./script/plugin:3 > > im thinking maybe the laszlo thing is fouling it up, but maybe thats > just a warning? in any case, grep -ir laszlo finds nothing of interest > to prune .. > > m cracklog # ./script/plugin unsource > svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins > failed: svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins > Removed 0 repositories. > m cracklog # ./script/plugin unsource > svn://rubyforge.org/var/svn/laszlo-plugin/rails/ > failed: svn://rubyforge.org/var/svn/laszlo-plugin/rails/ > Removed 0 repositories. > m cracklog # ./script/plugin unsource > svn://rubyforge.org/var/svn/laszlo-plugin/ > failed: svn://rubyforge.org/var/svn/laszlo-plugin/ > Removed 0 repositories. > > > so i guess its write my own plugin script..or figure this out. any > ideas? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails