Hey there, I''m a newbie to Ruby and Rails. Curious issues with InstantRails. I unzip and put everything directly on my C drive. I start InstantRails and it updates it''s conf stuff. I then update my host file and go to www.mycookbook.com <http://www.mycookbook.com/> and get the following error: Application error (Apache) Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public.500.html I also try to go and create a new rails app and I get this error: C:/InstantRails/ruby/bin/rails:9:in `require`: No such file to load - rubygems (Load Error) From C:/InstantRails/ruby/bin/rails/:9 I''ve tried snooping around online but this is all pretty new so there''s not a lot of docs yet. Ideas? Thanks, Kyle -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051114/e2b34602/attachment.htm
On 11/14/05, Kyle Burnett <kyle at messageshop.com> wrote:> > Hey there, I''m a newbie to Ruby and Rails. Curious issues with > InstantRails. > > I unzip and put everything directly on my C drive. I start InstantRails > and it updates it''s conf stuff. I then update my host file and go to > www.mycookbook.com <http://www.mycookbook.com/> and get the following > error: > > Application error (Apache) >You probably haven''t started the SCGI application server for the cookbook application: - In the main menu, select Rails Applications > Manage Rails Applications... - Check the checkbox next to the cookbook application. - Click on the Start SCGI button. A minimized console window will appear. This contains the cookbook web app running through an SCGI server. - Wait a few seconds to make sure the cookbook web app is fully initialized (nothing is displayed in the console window). Open your browser and go to: http://www.mycookbook.com/ Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051114/89276483/attachment-0001.htm
I get the same error as I do when I create a new rails app. . in `require`: No such file to load - rubygems (LoadError) from . I guess I need to track down why this one is happening. Thanks, Kyle _____ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Curt Hibbs Sent: Monday, November 14, 2005 8:42 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] new user; getting some errors On 11/14/05, Kyle Burnett <kyle at messageshop.com> wrote: Hey there, I''m a newbie to Ruby and Rails. Curious issues with InstantRails. I unzip and put everything directly on my C drive. I start InstantRails and it updates it''s conf stuff. I then update my host file and go to www.mycookbook.com <http://www.mycookbook.com/> and get the following error: Application error (Apache) You probably haven''t started the SCGI application server for the cookbook application: * In the main menu, select Rails Applications > Manage Rails Applications... * Check the checkbox next to the cookbook application. * Click on the Start SCGI button. A minimized console window will appear. This contains the cookbook web app running through an SCGI server. * Wait a few seconds to make sure the cookbook web app is fully initialized (nothing is displayed in the console window). Open your browser and go to: http://www.mycookbook.com/ Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051115/16e7366c/attachment.htm
On 11/15/05, Kyle Burnett <kyle at messageshop.com> wrote:> > I get the same error as I do when I create a new rails app? > > ? in `require`: No such file to load ? rubygems (LoadError) from ? > > I guess I need to track down why this one is happening. >Make sure you are opening your console window via Instant Rails menu (Rails Applications >> Open Ruby Console Window), or click on the "Create New Rails App" button (they both do the same thing). This opens a console window that has ruby\bin on the path. Alternately, if you don''t have any other copy of Ruby installed, you can just add ...\ruby\bin on your system path. Then you can open a console window any way you like. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051115/7ee157b3/attachment.htm
Man, I''m running into one thing after another with InstantRails. Either the download is missing a few things or else my configuration is off. I''m going to guess it''s the later of the two. So I download, unzip, and start it and it should update everything on it''s own, right? Then why is mine not finding rubygems? I install that manually and then it can''t find zlib. So I install that manually and then it can''t find scgi stuff. So install that manually and now it can''t rind RubyGem rails. Good lord, how did I create such a train wreck with this simple install? Kyle -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051115/a4782bff/attachment-0001.htm
On 11/15/05, Kyle Burnett <kyle at messageshop.com> wrote:> > Man, I''m running into one thing after another with InstantRails. Either the > download is missing a few things or else my configuration is off. I''m going > to guess it''s the later of the two. > > So I download, unzip, and start it and it should update everything on it''s > own, right? > > Then why is mine not finding rubygems? I install that manually and then it > can''t find zlib. So I install that manually and then it can''t find scgi > stuff. So install that manually and now it can''t rind RubyGem rails. > > Good lord, how did I create such a train wreck with this simple install? > >Here is what I did to get InstantRails working. If you want to try this way, and haven''t already created a bunch of stuff, I would suggest deleting your existing InstantRails install. 1. I downloaded the zip file 2. I unzipped the zip file 3. I moved the folder "InstantRails" to the root of my drive 4. I double clicked "InstantRails.exe" and clicked OK 5. I followed the instructions in the README for getting the www.mycookbook.com app running 6. Tested in the web browser. That should work for you. let us know :) -- Will -------- Will Shattuck ( willshattuck.at.gmail.com ) Home Page: http://www.thewholeclan.com/will My Calligraphy: http://www.thewholeclan.com/will/gallery3/calligraphy When you get to your wit''s end, you''ll find God lives there.
Perfect. I knew I had to be doing something out of order. Thanks. -----Original Message----- From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Will Shattuck Sent: Tuesday, November 15, 2005 12:59 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] Where did I go wrong? On 11/15/05, Kyle Burnett <kyle at messageshop.com> wrote:> > Man, I''m running into one thing after another with InstantRails. Eitherthe> download is missing a few things or else my configuration is off. I''mgoing> to guess it''s the later of the two. > > So I download, unzip, and start it and it should update everything on it''s > own, right? > > Then why is mine not finding rubygems? I install that manually and then it > can''t find zlib. So I install that manually and then it can''t find scgi > stuff. So install that manually and now it can''t rind RubyGem rails. > > Good lord, how did I create such a train wreck with this simple install? > >Here is what I did to get InstantRails working. If you want to try this way, and haven''t already created a bunch of stuff, I would suggest deleting your existing InstantRails install. 1. I downloaded the zip file 2. I unzipped the zip file 3. I moved the folder "InstantRails" to the root of my drive 4. I double clicked "InstantRails.exe" and clicked OK 5. I followed the instructions in the README for getting the www.mycookbook.com app running 6. Tested in the web browser. That should work for you. let us know :) -- Will -------- Will Shattuck ( willshattuck.at.gmail.com ) Home Page: http://www.thewholeclan.com/will My Calligraphy: http://www.thewholeclan.com/will/gallery3/calligraphy When you get to your wit''s end, you''ll find God lives there. _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users
On 11/15/05, Kyle Burnett <kyle at messageshop.com> wrote:> Perfect. I knew I had to be doing something out of order. Thanks. >Which part fixed it for you? Will
Following the instructions worked like a champ. Go figure. ?!? Specifically it was running the WEBrick servlet. That made everything work right away. Previously I was just starting Apache and MySQL and hitting the URL. And then I started chasing that error never realizing that I really needed to start something else. I''m so accustomed to PHP that it didn''t dawn on me to run anything else. I have a lot to learn about the whole system. Thanks for the help, Kyle -----Original Message----- From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Will Shattuck Sent: Tuesday, November 15, 2005 5:16 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] Where did I go wrong? On 11/15/05, Kyle Burnett <kyle at messageshop.com> wrote:> Perfect. I knew I had to be doing something out of order. Thanks. >Which part fixed it for you? Will _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users