jlm at justinfront.net
2006-Mar-07 16:27 UTC
[Instantrails-users] AppTrain and how to trouble shoot in IR app setup.
Hi I am using instant rails which is really cool. But every time I download a rails application it invariably does not work, with help I managed to get Rforum working but I am now trying AppTrain, however I have no idea what to do when things just don''t work ie you ''start'' webbrick and it just flashes a black screen up I have no error messages to check or..., it would be great if I could get advice on how to go about trouble shooting. But generally it seems that any rails app needs mods before running in instant rails, maybe some guides on this would be useful, if there is something in the Agile Web dev Rail book specifically that I should read then let me know.
Curt Hibbs
2006-Mar-07 16:39 UTC
[Instantrails-users] AppTrain and how to trouble shoot in IR app setup.
On 3/7/06, jlm at justinfront.net <jlm at justinfront.net> wrote:> > Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help I > managed to get Rforum working but I am now trying AppTrain, however I > have no idea what to do when things just don''t work ie you ''start'' > webbrick and it just flashes a black screen up I have no error messages > to check or..., it would be great if I could get advice on how to go > about trouble shooting. But generally it seems that any rails app needs > mods before running in instant rails, maybe some guides on this would be > useful, if there is something in the Agile Web dev Rail book > specifically that I should read then let me know.A Rails app shouldn''t need any special mods to run under Instant Rails. What mods did you have to make for Rforum? If you''re getting errors when you start WEBrick, then you really want to start WEBrick manually so that you can see the errors. You can do this by opening a Ruby console window using the menu command ">>Rails Applications>>Open Ruby Console Window", then use CD to change your directory to your rails app, and finally start WEBrick using the command "ruby script\server". Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060307/2c20b704/attachment.htm
jlm at justinfront.net
2006-Mar-07 16:48 UTC
[Instantrails-users] AppTrain and how to trouble shoot in IR app setup.
Curt Thanks for quick reply will look at your suggestions. Some details on rForum setup for instant rails here http://www.twelvestone.com/forum_thread/view/29169 if you want me to zip up any of the rforum files and send them over or create a flash animation on doing it or something let me know. Thanks Justin Curt Hibbs wrote:> On 3/7/06, *jlm at justinfront.net <mailto:jlm at justinfront.net>* > <jlm at justinfront.net <mailto:jlm at justinfront.net>> wrote: > > Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help I > managed to get Rforum working but I am now trying AppTrain, however I > have no idea what to do when things just don''t work ie you ''start'' > webbrick and it just flashes a black screen up I have no error > messages > to check or..., it would be great if I could get advice on how to go > about trouble shooting. But generally it seems that any rails app > needs > mods before running in instant rails, maybe some guides on this > would be > useful, if there is something in the Agile Web dev Rail book > specifically that I should read then let me know. > > > A Rails app shouldn''t need any special mods to run under Instant > Rails. What mods did you have to make for Rforum? > > If you''re getting errors when you start WEBrick, then you really want > to start WEBrick manually so that you can see the errors. You can do > this by opening a Ruby console window using the menu command ">>Rails > Applications>>Open Ruby Console Window", then use CD to change your > directory to your rails app, and finally start WEBrick using the > command "ruby script\server". > > Curt
David Morton
2006-Mar-07 17:19 UTC
[Instantrails-users] AppTrain and how to trouble shoot in IR app setup.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jlm at justinfront.net wrote:> Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help IThe only change I ever have to make is to the .htaccess file - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFEDcC4SIxC85HZHLMRAhIMAJ44N+LNzoXbzjRLVjl+E2IEarVflgCYqkP6 lFOzYNfrMoWwIFJRIAaWsg==mIhk -----END PGP SIGNATURE-----
jlm at justinfront.net
2006-Mar-07 17:38 UTC
[Instantrails-users] AppTrain and how to trouble shoot in IR app setup.
There does not seem to be a script directory? Also there does not seem to be a file named *apptrain/db/application.sql* as per instructions I tried to follow see below. The location of the files use is here http://rubyforge.org/frs/?group_id=1056 Any idea sort of lost> > 1. Install a local db such as MySQL > <http://dev.mysql.com/downloads/mysql/5.0.html> > 2. Install Rails <http://download.rubyonrails.com/> > 3. At a command prompt, type *rails apptrain* to create a default > rails app in a directory called *apptrain*. > 4. download AppTrain > <http://rubyforge.org/cgi-bin/viewcvs.cgi/cvs_root.tar.gz?tarball=1&cvsroot=apptrain>. > > 5. Unzip on top of your local *apptrain* dir. > 6. Modify *apptrain/config/database.yml* to point to your local db. > (tested on mySql) > 7. Run *apptrain/db/application.sql* using something like MSql''s > Querry Browser > <http://dev.mysql.com/downloads/query-browser/1.1.html> to > create and populate the apptrain db. > 8. In the apptrain/ directory , run *ruby script/server* > 9. Hit http://localhost:3000/form and Create a form named [formname] > 10. Hit http://localhost:3000/[formname] > <http://localhost:3000/%5Bformname%5D> >Curt Hibbs wrote:> On 3/7/06, *jlm at justinfront.net <mailto:jlm at justinfront.net>* > <jlm at justinfront.net <mailto:jlm at justinfront.net>> wrote: > > Hi > > I am using instant rails which is really cool. But every time I > download a rails application it invariably does not work, with help I > managed to get Rforum working but I am now trying AppTrain, however I > have no idea what to do when things just don''t work ie you ''start'' > webbrick and it just flashes a black screen up I have no error > messages > to check or..., it would be great if I could get advice on how to go > about trouble shooting. But generally it seems that any rails app > needs > mods before running in instant rails, maybe some guides on this > would be > useful, if there is something in the Agile Web dev Rail book > specifically that I should read then let me know. > > > A Rails app shouldn''t need any special mods to run under Instant > Rails. What mods did you have to make for Rforum? > > If you''re getting errors when you start WEBrick, then you really want > to start WEBrick manually so that you can see the errors. You can do > this by opening a Ruby console window using the menu command ">>Rails > Applications>>Open Ruby Console Window", then use CD to change your > directory to your rails app, and finally start WEBrick using the > command "ruby script\server". > > Curt-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060307/bbb4d89a/attachment-0001.htm
David Morton
2006-Mar-07 17:43 UTC
[Instantrails-users] AppTrain and how to trouble shoot in IR app setup.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jlm at justinfront.net wrote:> There does not seem to be a script directory? > Also there does not seem to be a file named > *apptrain/db/application.sql* as per instructions I tried to follow see > below.The file does have the apptrain/db/application.sql, but it doesn''t have the script directory. Either it''s packaged wrong, or you need to generate a rails skeleton first. Before unpacking it, run "rails apptrain" to create the skeleton directory structure. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEDcZOSIxC85HZHLMRAuAMAJ4+7JLankEkVUHSx1Uiyoh5/7dw/QCfVpVC +sMczDNYwAgiRWwLxpr8UmI=jdM7 -----END PGP SIGNATURE-----