Hello there, sorry if this is a newbie question. When I try to use script/plugin to install a plugin, I get: ruby: No such file or directory -- script/plugin (LoadError) I have no idea why that comes up & haven''t been able to find a solution. Does anyone have any clues? The joy of Windows, I expect. I''ve tried reversing the slash, doubling it, both, with no luck so far :( Many thanks! I love RoR & am looking forward to exploring it further ... Ed -- Are you tired of yet another over hyped diet dismally failing to help? Discover the emotional secrets to weight loss that drive you to overeat. The new All You Can Eat Love Diet: http://www.allyoucaneatlovediet.com Any questions, ask me: ed at solutionsontap.com or Skype: aussielovecoach
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 4, 2007, at 9:08 PM, Ed Love wrote:> Hello there, sorry if this is a newbie question. When I try to use > script/plugin > to install a plugin, I get: > > ruby: No such file or directory -- script/plugin (LoadError)try: ruby script\plugin David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFHBaNRUy30ODPkzl0RAo46AKDCAGYBnbJMvc/WS80Ti/qYoJJ0vwCfWkBy I0EZJ8y77NWDkDLEyLPHsGs=rnWj -----END PGP SIGNATURE-----
Sounds like maybe you are in a standard cmd windows instead of one spawned by the Instant Rails UI. You need to either use the Instant Rails menu to open your cmd window, which sets the Ruby path, or you need to modify your system path variable to include the path to the InstantRails Ruby binary. Michael Slater www.BuildingWebApps.com On 10/4/07, Ed Love <ed at solutionsontap.com> wrote:> > Hello there, sorry if this is a newbie question. When I try to use > script/plugin > to install a plugin, I get: > > ruby: No such file or directory -- script/plugin (LoadError) > > I have no idea why that comes up & haven''t been able to find a solution. > Does > anyone have any clues? The joy of Windows, I expect. I''ve tried reversing > the > slash, doubling it, both, with no luck so far :( > > Many thanks! I love RoR & am looking forward to exploring it further ... > > Ed > -- > Are you tired of yet another over hyped diet dismally failing to help? > Discover the emotional secrets to weight loss that drive you to overeat. > The new All You Can Eat Love Diet: http://www.allyoucaneatlovediet.com > Any questions, ask me: ed at solutionsontap.com or Skype: aussielovecoach > _______________________________________________ > 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/20071004/36f26a46/attachment.html
You also need to ensure that you are calling script/plugin from your application''s root dir(c:\InstantRails\rails_apps\my_app), not the rails_apps dir. To Mike Slater: nice domain name. -- Matt On 10/4/07, Michael Slater <ms at mslater.com> wrote:> Sounds like maybe you are in a standard cmd windows instead of one spawned > by the Instant Rails UI. You need to either use the Instant Rails menu to > open your cmd window, which sets the Ruby path, or you need to modify your > system path variable to include the path to the InstantRails Ruby binary. > > Michael Slater > www.BuildingWebApps.com > > > On 10/4/07, Ed Love < ed at solutionsontap.com> wrote: > > Hello there, sorry if this is a newbie question. When I try to use > script/plugin > > to install a plugin, I get: > > > > ruby: No such file or directory -- script/plugin (LoadError) > > > > I have no idea why that comes up & haven''t been able to find a solution. > Does > > anyone have any clues? The joy of Windows, I expect. I''ve tried reversing > the > > slash, doubling it, both, with no luck so far :( > > > > Many thanks! I love RoR & am looking forward to exploring it further ... > > > > Ed > > -- > > Are you tired of yet another over hyped diet dismally failing to help? > > Discover the emotional secrets to weight loss that drive you to overeat. > > The new All You Can Eat Love Diet: > http://www.allyoucaneatlovediet.com > > Any questions, ask me: ed at solutionsontap.com or Skype: aussielovecoach > > _______________________________________________ > > 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 >-- Matt Scilipoti Possiamo Consulting LLC
> You also need to ensure that you are calling script/plugin from your > application''s root dir(c:\InstantRails\rails_apps\my_app), not the > rails_apps dir.Yep, checked that. The script directory does exist: C:\InstantRails\rails_apps\ASdemo>dir script Volume in drive C has no label. Volume Serial Number is 8015-9C8D Directory of C:\InstantRails\rails_apps\ASdemo\script 02/10/2007 04:23 PM <DIR> . 02/10/2007 04:23 PM <DIR> .. 02/10/2007 04:22 PM 812 index.htm 02/10/2007 04:23 PM <DIR> performance 02/10/2007 04:23 PM <DIR> process 1 File(s) 812 bytes 4 Dir(s) 7,754,866,688 bytes free That looks like a strange structure, I would have expected a file called plugin to live there!? Or is this some kind of ruby magic that simulates it? For what it''s worth, cookbook works just fine. I''m currently looking to test the Active Scaffolding demo from their website.> >> Sounds like maybe you are in a standard cmd windows instead of one spawned >> by the Instant Rails UI. You need to either use the Instant Rails menu to >> open your cmd window, which sets the Ruby path, or you need to modify your >> system path variable to include the path to the InstantRails Ruby binary.Yep, tried that as well, but thanks for the reminder! Also tried differend slashes, windows/unix style. Hmmm ... this is most puzzling. Has anyone else successfully installed plugins this way? Thanks again, Ed -- Are you tired of yet another over hyped diet dismally failing to help? Discover the emotional secrets to weight loss that drive you to overeat. The new All You Can Eat Love Diet: http://www.allyoucaneatlovediet.com Any questions, ask me: ed at solutionsontap.com or Skype: aussielovecoach
On 10/5/07, Ed Love <ed at solutionsontap.com> wrote:> > > > You also need to ensure that you are calling script/plugin from your > > application''s root dir(c:\InstantRails\rails_apps\my_app), not the > > rails_apps dir. > > Yep, checked that. The script directory does exist: > > C:\InstantRails\rails_apps\ASdemo>dir script > Volume in drive C has no label. > Volume Serial Number is 8015-9C8D > > Directory of C:\InstantRails\rails_apps\ASdemo\script > > 02/10/2007 04:23 PM <DIR> . > 02/10/2007 04:23 PM <DIR> .. > 02/10/2007 04:22 PM 812 index.htm > 02/10/2007 04:23 PM <DIR> performance > 02/10/2007 04:23 PM <DIR> process > 1 File(s) 812 bytes > 4 Dir(s) 7,754,866,688 bytes free > > That looks like a strange structure, I would have expected a file called > plugin > to live there!? Or is this some kind of ruby magic that simulates it? For > what > it''s worth, cookbook works just fine. I''m currently looking to test the > Active > Scaffolding demo from their website. > > > >> Sounds like maybe you are in a standard cmd windows instead of one > spawned > >> by the Instant Rails UI. You need to either use the Instant Rails menu > to > >> open your cmd window, which sets the Ruby path, or you need to modify > your > >> system path variable to include the path to the InstantRails Ruby > binary. > > Yep, tried that as well, but thanks for the reminder! Also tried differend > slashes, windows/unix style. Hmmm ... this is most puzzling. Has anyone > else > successfully installed plugins this way?How did you get that directory structure? It is definitely not a Rails directory structure (look at the structure for one of the sample apps). Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20071005/3a6b3775/attachment.html
> > How did you get that directory structure? It is definitely not a Rails > directory structure (look at the structure for one of the sample apps).Ok, that explains it! I downloaded the Active Scaffold demo & that''s what I got for my troubles. Oh, well, I will need to diddle around with this manually. e.g. create a new Rails app & then import the AS demo again. Curious that it doesn''t work straight out of the box?! Thanks for your help! Ed -- Are you tired of yet another over hyped diet dismally failing to help? Discover the emotional secrets to weight loss that drive you to overeat. The new All You Can Eat Love Diet: http://www.allyoucaneatlovediet.com Any questions, ask me: ed at solutionsontap.com or Skype: aussielovecoach