Hi Folks, I''d like to use class pagination but the docs say I need a plugin. When I try to run the following I get an error. ruby script/plugin discover ruby: No such file or directory -- script/plugin (LoadError) I''m running MS Vista. I just upgraded to rails 2.0.2. Any suggestions. Thanks, Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080201/ffb4e516/attachment.html
What directory are you in when you run this command? You need to be within the root directory for yor app, not in the rails_apps directory which is where you start off when you use the link ''Open Ruby Console Window'' within InstantRails, ie if your app is called "photos" (created with the command ''rails photos") then you need to change directory with the cd command to rails_apps/photos Gareth ----- Gareth Howells, CertHE (Dunelm), BCS CEO, GForce Industries garethATgforce-industriesDOTcoDOTuk 07862725134 GForce Industries 86, Warwick Avenue, Quorn, Loughborough, LEICS. LE12 8HE ----- Original Message ----- From: Ed Loyot To: instantrails-users at rubyforge.org Sent: Friday, February 01, 2008 7:14 PM Subject: [Instantrails-users] Plugins Hi Folks, I''d like to use class pagination but the docs say I need a plugin. When I try to run the following I get an error. ruby script/plugin discover ruby: No such file or directory -- script/plugin (LoadError) I''m running MS Vista. I just upgraded to rails 2.0.2. Any suggestions. Thanks, Ed ------------------------------------------------------------------------------ _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080206/ca1cfac5/attachment.html
Thanks Gareth, I realized that after a while. Sorry for the dumb question. Ed On Feb 6, 2008 5:27 PM, Gareth Howells < subscriptions at gforce-industries.co.uk> wrote:> What directory are you in when you run this command? You need to be > within the root directory for yor app, not in the rails_apps directory which > is where you start off when you use the link ''Open Ruby Console Window'' > within InstantRails, ie if your app is called "photos" (created with the > command ''rails photos") then you need to change directory with the cd > command to rails_apps/photos > > Gareth > > ----- > > Gareth Howells, CertHE (Dunelm), BCS > CEO, GForce Industries > > garethATgforce-industriesDOTcoDOTuk > 07862725134 > > GForce Industries > 86, Warwick Avenue, > Quorn, > Loughborough, > LEICS. > LE12 8HE > > ----- Original Message ----- > *From:* Ed Loyot <eloyot at gmail.com> > *To:* instantrails-users at rubyforge.org > *Sent:* Friday, February 01, 2008 7:14 PM > *Subject:* [Instantrails-users] Plugins > > Hi Folks, > > I''d like to use class pagination but the docs say I need a plugin. When I > try to run the following I get an error. > > ruby script/plugin discover > > ruby: No such file or directory -- script/plugin (LoadError) > > I''m running MS Vista. I just upgraded to rails 2.0.2. > > Any suggestions. > > Thanks, > > Ed > > ------------------------------ > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080207/66592e32/attachment.html