From julian.harris at gmail.com Sat Apr 5 13:23:46 2008 From: julian.harris at gmail.com (Julian Harris) Date: Sat, 5 Apr 2008 18:23:46 +0100 Subject: [Instantrails-users] App won't start -- and error flashes up too quickly Message-ID: Hi everyone, I've broken a rails app -- when I start it with mongrel inside InstantRails 2.0, it brings up the console window, which pauses, flashes a message for about 1ms then kills the window. /logs is empty. Possible options inside InstantRails: 1. find a way of preventing the console window from disappearing so I can see the error message 2. find where the message is logged thoughts? thanks in advance! -- Sent from my iPhone 2.0 beta -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080405/67de8781/attachment.html From mrdave215 at gmail.com Mon Apr 7 09:20:50 2008 From: mrdave215 at gmail.com (David Williams) Date: Mon, 7 Apr 2008 09:20:50 -0400 Subject: [Instantrails-users] Confused Newbie question Message-ID: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> I have instant rails 2.0 installed and running happily. I unzipped everything into a Ruby folder. I only have one copy of Mysql on my computer. I run the instant rails program then go in and start the mycoookbook application. I got a blank cook book. So i added a couple of catagories and poked around. I then went into mysql admin. This showed the database config, which is fine. When I went into browse the tables, there were recipes in there already. The recipies and catagories I added where not to be found. I looked at my task list and there is only one mysql process. What am I missing here. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080407/57149302/attachment.html From rbazinet at gmail.com Mon Apr 7 09:28:29 2008 From: rbazinet at gmail.com (Robert Bazinet) Date: Mon, 7 Apr 2008 09:28:29 -0400 Subject: [Instantrails-users] App won't start -- and error flashes up too quickly In-Reply-To: References: Message-ID: Julian, When you are inside Instant Rails you can go to a command prompt. Go to the command prompt from within InstantRails to your application directory. It should be something like rails_apps\myapp. When you are there you can start the server manually by typing: ruby script\server Assuming Ruby is in your path this should run or attempt to run the mongrel server. I hope this helps. -Rob Bazinet On Sat, Apr 5, 2008 at 1:23 PM, Julian Harris wrote: > Hi everyone, > > I've broken a rails app -- when I start it with mongrel inside > InstantRails 2.0, it brings up the console window, which pauses, flashes a > message for about 1ms then kills the window. /logs is empty. > > Possible options inside InstantRails: > > 1. find a way of preventing the console window from disappearing so I can > see the error message > 2. find where the message is logged > > thoughts? > > thanks in advance! > > > -- > Sent from my iPhone 2.0 beta > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > -- Rob Bazinet InfoQ Ruby and .NET Editor http://www.accidentaltechnologist.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080407/3365f6a4/attachment.html From mortonda at dgrmm.net Mon Apr 7 14:21:47 2008 From: mortonda at dgrmm.net (David Morton) Date: Mon, 7 Apr 2008 13:21:47 -0500 Subject: [Instantrails-users] Confused Newbie question In-Reply-To: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> References: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> Message-ID: <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 7, 2008, at 8:20 AM, David Williams wrote: > I have instant rails 2.0 installed and running happily. I unzipped > everything into a Ruby folder. > > I only have one copy of Mysql on my computer. I run the instant > rails program then go in and start the mycoookbook application. > > I got a blank cook book. So i added a couple of catagories and poked > around. > > I then went into mysql admin. This showed the database config, which > is fine. When I went into browse the tables, there were recipes in > there already. The recipies and catagories I added where not to be > found. > > I looked at my task list and there is only one mysql process. > > What am I missing here. Rails 2.0 defaults to using sqlite, I think. Is that packaged with Rails now? It's possible that your changes are in the sqlite database, and it's not connecting to mysql. David Morton Maia Mailguard http://www.maiamailguard.com mortonda at dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe MrrvpTu7UzyWo4MoWV68Chw= =BzDV -----END PGP SIGNATURE----- From mrdave215 at gmail.com Mon Apr 7 16:21:30 2008 From: mrdave215 at gmail.com (David Williams) Date: Mon, 7 Apr 2008 16:21:30 -0400 Subject: [Instantrails-users] Confused Newbie question In-Reply-To: <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> References: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> Message-ID: <37ed3cd60804071321r5c49da34qa040c94c22087b18@mail.gmail.com> I guess that is possible, there is nother database somewhere. I do not have any other database running on my computer or on the network right now. Just what came with R -on- R. The task manager shows mysqld.exe and nothing else with "sql". Where do I find the database/port config? On Mon, Apr 7, 2008 at 2:21 PM, David Morton wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Apr 7, 2008, at 8:20 AM, David Williams wrote: > > > I have instant rails 2.0 installed and running happily. I unzipped > > everything into a Ruby folder. > > > > I only have one copy of Mysql on my computer. I run the instant > > rails program then go in and start the mycoookbook application. > > > > I got a blank cook book. So i added a couple of catagories and poked > > around. > > > > I then went into mysql admin. This showed the database config, which > > is fine. When I went into browse the tables, there were recipes in > > there already. The recipies and catagories I added where not to be > > found. > > > > I looked at my task list and there is only one mysql process. > > > > What am I missing here. > > > Rails 2.0 defaults to using sqlite, I think. Is that packaged with > Rails now? It's possible that your changes are in the sqlite > database, and it's not connecting to mysql. > > > David Morton > Maia Mailguard http://www.maiamailguard.com > mortonda at dgrmm.net > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (Darwin) > > iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe > MrrvpTu7UzyWo4MoWV68Chw= > =BzDV > -----END PGP SIGNATURE----- > _______________________________________________ > 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/20080407/e10cb4b4/attachment-0001.html From mrdave215 at gmail.com Mon Apr 7 16:26:38 2008 From: mrdave215 at gmail.com (David Williams) Date: Mon, 7 Apr 2008 16:26:38 -0400 Subject: [Instantrails-users] Confused Newbie question In-Reply-To: <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> References: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> Message-ID: <37ed3cd60804071326o2604c996q94e88f7ce07f9c92@mail.gmail.com> I take it back, it looks like aptiva has a sqite in its directory, So it does exist somewhere. I never configured any tables in it though. On Mon, Apr 7, 2008 at 2:21 PM, David Morton wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Apr 7, 2008, at 8:20 AM, David Williams wrote: > > > I have instant rails 2.0 installed and running happily. I unzipped > > everything into a Ruby folder. > > > > I only have one copy of Mysql on my computer. I run the instant > > rails program then go in and start the mycoookbook application. > > > > I got a blank cook book. So i added a couple of catagories and poked > > around. > > > > I then went into mysql admin. This showed the database config, which > > is fine. When I went into browse the tables, there were recipes in > > there already. The recipies and catagories I added where not to be > > found. > > > > I looked at my task list and there is only one mysql process. > > > > What am I missing here. > > > Rails 2.0 defaults to using sqlite, I think. Is that packaged with > Rails now? It's possible that your changes are in the sqlite > database, and it's not connecting to mysql. > > > David Morton > Maia Mailguard http://www.maiamailguard.com > mortonda at dgrmm.net > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (Darwin) > > iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe > MrrvpTu7UzyWo4MoWV68Chw= > =BzDV > -----END PGP SIGNATURE----- > _______________________________________________ > 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/20080407/432e1c38/attachment.html From rbazinet at gmail.com Mon Apr 7 16:34:19 2008 From: rbazinet at gmail.com (Robert Bazinet) Date: Mon, 7 Apr 2008 16:34:19 -0400 Subject: [Instantrails-users] Confused Newbie question In-Reply-To: <37ed3cd60804071321r5c49da34qa040c94c22087b18@mail.gmail.com> References: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> <37ed3cd60804071321r5c49da34qa040c94c22087b18@mail.gmail.com> Message-ID: Rails 2.0, which is what Instant Rails 2.0 uses, uses SQLite by default. Instant Rails has always been configured with MySQL and IR 2.0 still has it built in for now. A lighter version is coming without it but for now, both MySQL and SQLite are in there. Instant Rails will use the version of MySQL which came with it but by default Rails will use SQLite unless specifically told not to. The database.yml file in each of your projects will tell you which DB provider you are using. Hope this helps. -Rob Bazinet On Mon, Apr 7, 2008 at 4:21 PM, David Williams wrote: > I guess that is possible, there is nother database somewhere. I do not > have any other database running on my computer or on the network right now. > Just what came with R -on- R. > The task manager shows mysqld.exe and nothing else with "sql". Where do I > find the database/port config? > > On Mon, Apr 7, 2008 at 2:21 PM, David Morton wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > On Apr 7, 2008, at 8:20 AM, David Williams wrote: > > > > > I have instant rails 2.0 installed and running happily. I unzipped > > > everything into a Ruby folder. > > > > > > I only have one copy of Mysql on my computer. I run the instant > > > rails program then go in and start the mycoookbook application. > > > > > > I got a blank cook book. So i added a couple of catagories and poked > > > around. > > > > > > I then went into mysql admin. This showed the database config, which > > > is fine. When I went into browse the tables, there were recipes in > > > there already. The recipies and catagories I added where not to be > > > found. > > > > > > I looked at my task list and there is only one mysql process. > > > > > > What am I missing here. > > > > > > Rails 2.0 defaults to using sqlite, I think. Is that packaged with > > Rails now? It's possible that your changes are in the sqlite > > database, and it's not connecting to mysql. > > > > > > David Morton > > Maia Mailguard http://www.maiamailguard.com > > mortonda at dgrmm.net > > > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.7 (Darwin) > > > > iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe > > MrrvpTu7UzyWo4MoWV68Chw= > > =BzDV > > -----END PGP SIGNATURE----- > > _______________________________________________ > > 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 > -- Rob Bazinet InfoQ Ruby and .NET Editor http://www.accidentaltechnologist.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080407/01ad068f/attachment.html From mrdave215 at gmail.com Mon Apr 7 17:19:01 2008 From: mrdave215 at gmail.com (David Williams) Date: Mon, 7 Apr 2008 17:19:01 -0400 Subject: [Instantrails-users] Confused Newbie question In-Reply-To: References: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> <37ed3cd60804071321r5c49da34qa040c94c22087b18@mail.gmail.com> Message-ID: <37ed3cd60804071419s5579db1fw191aebcf8a4c2add@mail.gmail.com> Thanks alot, this is making some sense. But of course it raises more questions. The database.yml file contains: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3 database: db/development.sqlite3 timeout: 5000 So, where are the admin tools for sqlite? Do i have to download them? Can someone recommend a good management tool if one isnt included. On Mon, Apr 7, 2008 at 4:34 PM, Robert Bazinet wrote: > Rails 2.0, which is what Instant Rails 2.0 uses, uses SQLite by default. > Instant Rails has always been configured with MySQL and IR 2.0 still has it > built in for now. A lighter version is coming without it but for now, both > MySQL and SQLite are in there. > > Instant Rails will use the version of MySQL which came with it but by > default Rails will use SQLite unless specifically told not to. The > database.yml file in each of your projects will tell you which DB provider > you are using. > > Hope this helps. > > -Rob Bazinet > > > > On Mon, Apr 7, 2008 at 4:21 PM, David Williams > wrote: > > > I guess that is possible, there is nother database somewhere. I do not > > have any other database running on my computer or on the network right now. > > Just what came with R -on- R. > > The task manager shows mysqld.exe and nothing else with "sql". Where do > > I find the database/port config? > > > > On Mon, Apr 7, 2008 at 2:21 PM, David Morton > > wrote: > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > > > > On Apr 7, 2008, at 8:20 AM, David Williams wrote: > > > > > > > I have instant rails 2.0 installed and running happily. I unzipped > > > > everything into a Ruby folder. > > > > > > > > I only have one copy of Mysql on my computer. I run the instant > > > > rails program then go in and start the mycoookbook application. > > > > > > > > I got a blank cook book. So i added a couple of catagories and poked > > > > around. > > > > > > > > I then went into mysql admin. This showed the database config, which > > > > is fine. When I went into browse the tables, there were recipes in > > > > there already. The recipies and catagories I added where not to be > > > > found. > > > > > > > > I looked at my task list and there is only one mysql process. > > > > > > > > What am I missing here. > > > > > > > > > Rails 2.0 defaults to using sqlite, I think. Is that packaged with > > > Rails now? It's possible that your changes are in the sqlite > > > database, and it's not connecting to mysql. > > > > > > > > > David Morton > > > Maia Mailguard http://www.maiamailguard.com > > > mortonda at dgrmm.net > > > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > Version: GnuPG v1.4.7 (Darwin) > > > > > > iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe > > > MrrvpTu7UzyWo4MoWV68Chw= > > > =BzDV > > > -----END PGP SIGNATURE----- > > > _______________________________________________ > > > 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 > > > > > > -- > Rob Bazinet > InfoQ Ruby and .NET Editor > http://www.accidentaltechnologist.com > > _______________________________________________ > 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/20080407/34b15625/attachment.html From rbazinet at gmail.com Mon Apr 7 18:10:12 2008 From: rbazinet at gmail.com (Robert Bazinet) Date: Mon, 7 Apr 2008 18:10:12 -0400 Subject: [Instantrails-users] Confused Newbie question In-Reply-To: <37ed3cd60804071419s5579db1fw191aebcf8a4c2add@mail.gmail.com> References: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> <37ed3cd60804071321r5c49da34qa040c94c22087b18@mail.gmail.com> <37ed3cd60804071419s5579db1fw191aebcf8a4c2add@mail.gmail.com> Message-ID: Well, there isn't much in the way of SQLite management tools, none are included. I have used SQLite and not needed them but have heard SQLiteMan was a good one. If you search around the web you will find one for sure. -Rob On Mon, Apr 7, 2008 at 5:19 PM, David Williams wrote: > Thanks alot, this is making some sense. But of course it raises more > questions. > > The database.yml file contains: > > # SQLite version 3.x > # gem install sqlite3-ruby (not necessary on OS X Leopard) > development: > adapter: sqlite3 > database: db/development.sqlite3 > timeout: 5000 > > So, where are the admin tools for sqlite? Do i have to download them? Can > someone recommend a good management tool if one isnt included. > > > > On Mon, Apr 7, 2008 at 4:34 PM, Robert Bazinet wrote: > > > Rails 2.0, which is what Instant Rails 2.0 uses, uses SQLite by > > default. Instant Rails has always been configured with MySQL and IR 2.0 > > still has it built in for now. A lighter version is coming without it but > > for now, both MySQL and SQLite are in there. > > > > Instant Rails will use the version of MySQL which came with it but by > > default Rails will use SQLite unless specifically told not to. The > > database.yml file in each of your projects will tell you which DB provider > > you are using. > > > > Hope this helps. > > > > -Rob Bazinet > > > > > > > > On Mon, Apr 7, 2008 at 4:21 PM, David Williams > > wrote: > > > > > I guess that is possible, there is nother database somewhere. I do not > > > have any other database running on my computer or on the network right now. > > > Just what came with R -on- R. > > > The task manager shows mysqld.exe and nothing else with "sql". Where > > > do I find the database/port config? > > > > > > On Mon, Apr 7, 2008 at 2:21 PM, David Morton > > > wrote: > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > > > > > On Apr 7, 2008, at 8:20 AM, David Williams wrote: > > > > > > > > > I have instant rails 2.0 installed and running happily. I unzipped > > > > > everything into a Ruby folder. > > > > > > > > > > I only have one copy of Mysql on my computer. I run the instant > > > > > rails program then go in and start the mycoookbook application. > > > > > > > > > > I got a blank cook book. So i added a couple of catagories and > > > > poked > > > > > around. > > > > > > > > > > I then went into mysql admin. This showed the database config, > > > > which > > > > > is fine. When I went into browse the tables, there were recipes in > > > > > there already. The recipies and catagories I added where not to be > > > > > found. > > > > > > > > > > I looked at my task list and there is only one mysql process. > > > > > > > > > > What am I missing here. > > > > > > > > > > > > Rails 2.0 defaults to using sqlite, I think. Is that packaged with > > > > Rails now? It's possible that your changes are in the sqlite > > > > database, and it's not connecting to mysql. > > > > > > > > > > > > David Morton > > > > Maia Mailguard http://www.maiamailguard.com > > > > mortonda at dgrmm.net > > > > > > > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.4.7 (Darwin) > > > > > > > > iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe > > > > MrrvpTu7UzyWo4MoWV68Chw= > > > > =BzDV > > > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > -- > > Rob Bazinet > > InfoQ Ruby and .NET Editor > > http://www.accidentaltechnologist.com > > > > _______________________________________________ > > 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 > -- Rob Bazinet InfoQ Ruby and .NET Editor http://www.accidentaltechnologist.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080407/abb0bd3f/attachment-0001.html From mikeickes at gmail.com Tue Apr 8 11:22:31 2008 From: mikeickes at gmail.com (Mike) Date: Tue, 8 Apr 2008 11:22:31 -0400 Subject: [Instantrails-users] Confused Newbie question In-Reply-To: <37ed3cd60804071419s5579db1fw191aebcf8a4c2add@mail.gmail.com> References: <37ed3cd60804070620w7c44aeaah14ed96f62d0e2bfa@mail.gmail.com> <5EEEB473-4FF7-414E-99E3-976CDBC9E8BB@dgrmm.net> <37ed3cd60804071321r5c49da34qa040c94c22087b18@mail.gmail.com> <37ed3cd60804071419s5579db1fw191aebcf8a4c2add@mail.gmail.com> Message-ID: <707e2f7a0804080822j65ba584djab6c5c20563a390d@mail.gmail.com> Give this a shot for managing sqlite. https://addons.mozilla.org/en-US/firefox/search?q=sqlite&cat=all HTH! Mike On Mon, Apr 7, 2008 at 5:19 PM, David Williams wrote: > Thanks alot, this is making some sense. But of course it raises more > questions. > > The database.yml file contains: > > # SQLite version 3.x > # gem install sqlite3-ruby (not necessary on OS X Leopard) > development: > adapter: sqlite3 > database: db/development.sqlite3 > timeout: 5000 > > So, where are the admin tools for sqlite? Do i have to download them? Can > someone recommend a good management tool if one isnt included. > > > > > > On Mon, Apr 7, 2008 at 4:34 PM, Robert Bazinet wrote: > > > Rails 2.0, which is what Instant Rails 2.0 uses, uses SQLite by default. > Instant Rails has always been configured with MySQL and IR 2.0 still has it > built in for now. A lighter version is coming without it but for now, both > MySQL and SQLite are in there. > > > > Instant Rails will use the version of MySQL which came with it but by > default Rails will use SQLite unless specifically told not to. The > database.yml file in each of your projects will tell you which DB provider > you are using. > > > > Hope this helps. > > > > -Rob Bazinet > > > > > > > > > > > > > > On Mon, Apr 7, 2008 at 4:21 PM, David Williams > wrote: > > > > > > > > I guess that is possible, there is nother database somewhere. I do not > have any other database running on my computer or on the network right now. > Just what came with R -on- R. > > > The task manager shows mysqld.exe and nothing else with "sql". Where do > I find the database/port config? > > > > > > > > > > > > > > > > > > On Mon, Apr 7, 2008 at 2:21 PM, David Morton wrote: > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > > > > > > > > > > > > > > > > > On Apr 7, 2008, at 8:20 AM, David Williams wrote: > > > > > > > > > I have instant rails 2.0 installed and running happily. I unzipped > > > > > everything into a Ruby folder. > > > > > > > > > > I only have one copy of Mysql on my computer. I run the instant > > > > > rails program then go in and start the mycoookbook application. > > > > > > > > > > I got a blank cook book. So i added a couple of catagories and poked > > > > > around. > > > > > > > > > > I then went into mysql admin. This showed the database config, which > > > > > is fine. When I went into browse the tables, there were recipes in > > > > > there already. The recipies and catagories I added where not to be > > > > > found. > > > > > > > > > > I looked at my task list and there is only one mysql process. > > > > > > > > > > What am I missing here. > > > > > > > > > > > > Rails 2.0 defaults to using sqlite, I think. Is that packaged with > > > > Rails now? It's possible that your changes are in the sqlite > > > > database, and it's not connecting to mysql. > > > > > > > > > > > > David Morton > > > > Maia Mailguard http://www.maiamailguard.com > > > > mortonda at dgrmm.net > > > > > > > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.4.7 (Darwin) > > > > > > > > iD8DBQFH+mY7Uy30ODPkzl0RArZUAKCUubDcrSc39HNZvnEBOu3cgIJXKQCdEMAe > > > > MrrvpTu7UzyWo4MoWV68Chw= > > > > =BzDV > > > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > -- > > Rob Bazinet > > InfoQ Ruby and .NET Editor > > http://www.accidentaltechnologist.com > > > > _______________________________________________ > > 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 > -- Kind Regards, Mike Ickes From sdjernes at gmail.com Wed Apr 9 02:42:22 2008 From: sdjernes at gmail.com (Shawn L. Djernes) Date: Wed, 9 Apr 2008 01:42:22 -0500 Subject: [Instantrails-users] InstantRails 2.0 Documentation Issues Message-ID: <5ff3e3a70804082342o129964b6hde2ec79253ba09f6@mail.gmail.com> First thanks for wrapping this whole thing together. Getting an environment like this going on Linux is easy for my but I need it on my Windows system. I have been using IR 1.7 for a while, but since the distribution I will be publishing the production application to is moving to Rails 2.0.2 I decided to make the move. Here is what I did: 1. Stopped all the services (closed IR 1.7) 2. Shutdown Aptana RadRails / SVN / Mylyn (all three developers are using a similar setup) 3. Renamed the old IR directory OldRails 4. Used WinZip Pro 11 to extract IR 2.0 5. Copied my rails_apps and mysql/data directories over. I do not really use the Apache / PHP portion of IR so did not need to do anything to them. 6. Started IR up. Started just fine. MySQL GUI tools saw it just find. Cookbook and Typo work fine. Now it's all too good to be true: In the how to upgrade docs it says to do this, but I must be missing something. The box says nothing about SCGI. You must create this SCGI configuration file for each of your Rails > apps since it won't already exist: > > * Select the menu command > "Rails Applications >> Manage Rails Applications..." > > * For each Rails application, select it and press the button > "Configure SCGI Settings..." > > o This will popup a dialog that will let you set the > runtime mode (development, production, test) and the > SCGI port number. > > Instant Rails preview3 uses Ruby on Rails 1.0 Release Candidate 3 (aka > 0.14.2). > If your Rails app was created with Rails 0.13.1, then you'll need to > update the > Rails files in each of you apps: > > * Select the menu command "Rails Applications >> Open Ruby Console > Window". > One at a time, move into the base directory for each of your Rails > apps, > and then follow the upgrade instratuctions here: > > http://documentation.rubyonrails.com/release_notes/upgrading_from_0131_to_10.html > > A pointer in the right directions would be appreciated. I followed some other directions on how to bring my app to rails 2 but I found a way to make it start. I renamed config/initializer directory. Not elegant but worked. Thanks -- Shawn L. Djernes SD Consulting shawn at djernes.org | sdjernes at gmail.com MSN: wizardwlf at hotmail.com 402.345.7734 | 402.350.6973 Cell -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080409/3ab90a6d/attachment.html From don.mapp at gmail.com Fri Apr 18 15:07:31 2008 From: don.mapp at gmail.com (Don Mapp) Date: Fri, 18 Apr 2008 20:07:31 +0100 Subject: [Instantrails-users] No route matches "site/rails/info/properties" with {:method=>:get} Message-ID: <9acf8f900804181207s7badd467v9a9c7ca30515195b@mail.gmail.com> Can anyone help please as I am new to rails and am unsure about a lot of rails. I had a website donsgarden.co.uk up and running until last friday Hen I got the error message No route matches "site/rails/info/properties" with{:method=>:get}" I have created a new blank application and am still getting the same error after clicking "about your application environment" on the rails page.. I have used a symlink to "site" therefore the full error is No route matches "site/rails/info/properties" with {:method=>:get}" If I try and go to donsgarden.co.uk/rails/info/properties I get... "The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved." I can get my website to work via a sub domain ( so I know my code is OK), but I have gone to far down the road with the symlink to "site" to return. How can I get rails to find "rails/info/properties" with {:method=>:get}" My host technical support cannot help I think that it is something that the host server has updated or changed that is causing the problem. My host server is running rails 2.02, mongrel and I developed my site under 1.2XX I had some problems when they updated, but these were fixed until last friday. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080418/81c6bc66/attachment.html From wfroelich at dbsnow.com Sat Apr 19 10:48:23 2008 From: wfroelich at dbsnow.com (Bill Froelich) Date: Sat, 19 Apr 2008 09:48:23 -0500 Subject: [Instantrails-users] No route matches "site/rails/info/properties"with {:method=>:get} In-Reply-To: <9acf8f900804181207s7badd467v9a9c7ca30515195b@mail.gmail.com> References: <9acf8f900804181207s7badd467v9a9c7ca30515195b@mail.gmail.com> Message-ID: I think the first thing I would do is go get the latest instant rails download and update your development environment to run the same version of rails as your host provider is doing. Then you can locally run / debug your app to see if the problem is reproducible. Hopefully that will get you started. --Bill ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Don Mapp Sent: Friday, April 18, 2008 2:08 PM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] No route matches "site/rails/info/properties"with {:method=>:get} Can anyone help please as I am new to rails and am unsure about a lot of rails. I had a website donsgarden.co.uk up and running until last friday Hen I got the error message No route matches "site/rails/info/properties" with{:method=>:get}" I have created a new blank application and am still getting the same error after clicking "about your application environment" on the rails page.. I have used a symlink to "site" therefore the full error is No route matches "site/rails/info/properties" with {:method=>:get}" If I try and go to donsgarden.co.uk/rails/info/properties I get... "The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved." I can get my website to work via a sub domain ( so I know my code is OK), but I have gone to far down the road with the symlink to "site" to return. How can I get rails to find "rails/info/properties" with {:method=>:get}" My host technical support cannot help I think that it is something that the host server has updated or changed that is causing the problem. My host server is running rails 2.02, mongrel and I developed my site under 1.2XX I had some problems when they updated, but these were fixed until last friday. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20080419/bf2e8534/attachment.html