Hi folks! I am new to Rails. Right now I am evaluating Rails on W2K with Ruby 1.8.2-14 and SQLite 3 (I got the same problem with SQLite 2 as well). Trying to make a Todo List from the tutorial I have run into problem that rails does not see the DB. This is what I am getting instantly: ArgumentError in Todo#index No database file specified. Missing argument: dbfile The SQLite Database todo.db file does exist in the Todo/db. Any ideas how to overcome it? I will appreciate any ASAP help Thanks! ====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On 09:50 Thu 24 Feb , Middleware Guru wrote:> Hi folks! > > I am new to Rails. Right now I am evaluating Rails on > W2K with Ruby 1.8.2-14 and SQLite 3 (I got the same > problem with SQLite 2 as well). Trying to make a Todo > List from the tutorial I have run into problem that > rails does not see the DB. This is what I am getting > instantly: > > ArgumentError in Todo#index > No database file specified. Missing argument: dbfile > The SQLite Database todo.db file does exist in the > Todo/db. > Any ideas how to overcome it? I will appreciate any > ASAP help > Thanks!Are you giving the full path to the database file, or just a relative path? You have to give a full path for it to work: development: adapter: sqlite3 dbfile: /the/complete/path/to/the/Todo/db/file.db - Jamis -- Jamis Buck jamis_buck-8Bzd4dk9+oo@public.gmane.org http://jamis.jamisbuck.org ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."
Middleware Guru wrote:> I am new to Rails. Right now I am evaluating Rails on > W2K with Ruby 1.8.2-14 and SQLite 3 (I got the same > problem with SQLite 2 as well). Trying to make a Todo > List from the tutorial I have run into problem that > rails does not see the DB.Without any details of your configuration, this troubleshooting is guesswork. Little help. Sample config/database.yml: development: adapter: sqlite3 dbfile: db/dev.db Did you create the SQLite database first? $ cd /my/rails/app $ sqlite3 db/dev.db Can you access the database from the console? $ cd /my/rails/app $ ./script/console > ActiveRecord::Base.connection.select_all(''.table'') should show all the tables in your SQLite database. I trust the above commands have obvious analogs in Windows. jeremy
Jamis Buck wrote:> Are you giving the full path to the database file, or just a relative > path? You have to give a full path for it to work: > development: > adapter: sqlite3 > dbfile: /the/complete/path/to/the/Todo/db/file.dbThe path may be relative to RAILS_ROOT as well. Absolute paths frustrate app deployment. jeremy
On 10:27 Thu 24 Feb , Jeremy Kemper wrote:> Jamis Buck wrote: > > Are you giving the full path to the database file, or just a relative > > path? You have to give a full path for it to work: > > development: > > adapter: sqlite3 > > dbfile: /the/complete/path/to/the/Todo/db/file.db > > The path may be relative to RAILS_ROOT as well. Absolute paths > frustrate app deployment.Guess I haven''t tried it in a while. I know a few versions back it would choke if I tried to give it a relative path when I wasn''t using WEBrick. - Jamis -- Jamis Buck jamis_buck-8Bzd4dk9+oo@public.gmane.org http://jamis.jamisbuck.org ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."
Does not work, sorry :-( --- Jamis Buck <jamis_buck-8Bzd4dk9+oo@public.gmane.org> wrote:> On 10:27 Thu 24 Feb , Jeremy Kemper wrote: > > Jamis Buck wrote: > > > Are you giving the full path to the database > file, or just a relative > > > path? You have to give a full path for it to > work: > > > development: > > > adapter: sqlite3 > > > dbfile: > /the/complete/path/to/the/Todo/db/file.db > > > > The path may be relative to RAILS_ROOT as well. > Absolute paths > > frustrate app deployment. > > Guess I haven''t tried it in a while. I know a few > versions back it > would choke if I tried to give it a relative path > when I wasn''t using > WEBrick. > > - Jamis > > -- > Jamis Buck > jamis_buck-8Bzd4dk9+oo@public.gmane.org > http://jamis.jamisbuck.org > ------------------------------ > "I am Victor of Borge. You will be assimil-nine-ed." > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250
ActiveRecord::Base.connection.select_all(''.table'') does not see the DB., sqlite3 does. --- Jeremy Kemper <jeremy-w7CzD/W5Ocjk1uMJSBkQmQ@public.gmane.org> wrote:> Middleware Guru wrote: > > I am new to Rails. Right now I am evaluating > Rails on > > W2K with Ruby 1.8.2-14 and SQLite 3 (I got the > same > > problem with SQLite 2 as well). Trying to make a > Todo > > List from the tutorial I have run into problem > that > > rails does not see the DB. > > Without any details of your configuration, this > troubleshooting is > guesswork. Little help. > > Sample config/database.yml: > development: > adapter: sqlite3 > dbfile: db/dev.db > > Did you create the SQLite database first? > $ cd /my/rails/app > $ sqlite3 db/dev.db > > Can you access the database from the console? > $ cd /my/rails/app > $ ./script/console > > > ActiveRecord::Base.connection.select_all(''.table'') > should show all the tables in your SQLite database. > > I trust the above commands have obvious analogs in > Windows. > > jeremy > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
On Thu, 24 Feb 2005, Middleware Guru wrote:> Does not work, sorry :-(can your web server user read/write the db?> > > --- Jamis Buck <jamis_buck-8Bzd4dk9+oo@public.gmane.org> wrote: > >> On 10:27 Thu 24 Feb , Jeremy Kemper wrote: >>> Jamis Buck wrote: >>>> Are you giving the full path to the database >> file, or just a relative >>>> path? You have to give a full path for it to >> work: >>>> development: >>>> adapter: sqlite3 >>>> dbfile: >> /the/complete/path/to/the/Todo/db/file.db >>> >>> The path may be relative to RAILS_ROOT as well. >> Absolute paths >>> frustrate app deployment. >> >> Guess I haven''t tried it in a while. I know a few >> versions back it >> would choke if I tried to give it a relative path >> when I wasn''t using >> WEBrick. >> >> - Jamis >> >> -- >> Jamis Buck >> jamis_buck-8Bzd4dk9+oo@public.gmane.org >> http://jamis.jamisbuck.org >> ------------------------------ >> "I am Victor of Borge. You will be assimil-nine-ed." >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > ====> Naum Kopman > Certified Enterprise Architect > WWISA Practicing Member > cell: 917.882.0263 > SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org > e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org > ____________________________ > I am all about milleware folks! > ____________________________ > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Find what you need with new enhanced search. > http://info.mail.yahoo.com/mail_250 > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-a -- ==============================================================================| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | When you do something, you should burn yourself completely, like a good | bonfire, leaving no trace of yourself. --Shunryu Suzuki ===============================================================================
I am playing wit WEBrick on my local box. --- "Ara.T.Howard" <Ara.T.Howard-32lpuo7BZBA@public.gmane.org> wrote:> On Thu, 24 Feb 2005, Middleware Guru wrote: > > > Does not work, sorry :-( > > can your web server user read/write the db? > > > > > > > --- Jamis Buck <jamis_buck-8Bzd4dk9+oo@public.gmane.org> wrote: > > > >> On 10:27 Thu 24 Feb , Jeremy Kemper wrote: > >>> Jamis Buck wrote: > >>>> Are you giving the full path to the database > >> file, or just a relative > >>>> path? You have to give a full path for it to > >> work: > >>>> development: > >>>> adapter: sqlite3 > >>>> dbfile: > >> /the/complete/path/to/the/Todo/db/file.db > >>> > >>> The path may be relative to RAILS_ROOT as well. > >> Absolute paths > >>> frustrate app deployment. > >> > >> Guess I haven''t tried it in a while. I know a few > >> versions back it > >> would choke if I tried to give it a relative path > >> when I wasn''t using > >> WEBrick. > >> > >> - Jamis > >> > >> -- > >> Jamis Buck > >> jamis_buck-8Bzd4dk9+oo@public.gmane.org > >> http://jamis.jamisbuck.org > >> ------------------------------ > >> "I am Victor of Borge. You will be > assimil-nine-ed." > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> > http://lists.rubyonrails.org/mailman/listinfo/rails > >> > > > > > > ====> > Naum Kopman > > Certified Enterprise Architect > > WWISA Practicing Member > > cell: 917.882.0263 > > SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org > > e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org > > ____________________________ > > I am all about milleware folks! > > ____________________________ > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Find what you need with new enhanced > search. > > http://info.mail.yahoo.com/mail_250 > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -a > -- >==============================================================================> | EMAIL :: Ara [dot] T [dot] Howard [at] noaa> [dot] gov > | PHONE :: 303.497.6469 > | When you do something, you should burn yourself > completely, like a good > | bonfire, leaving no trace of yourself. --Shunryu > Suzuki >==============================================================================> _______________________________________________> Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250
Middleware Guru wrote:> ActiveRecord::Base.connection.select_all(''.table'') > does not see the DB., sqlite3 does.gem install sqlite3-ruby
been there done that :-) I just needed to install sqlite3-ruby-1.1.0-mswin32 --- Jeremy Kemper <jeremy-w7CzD/W5Ocjk1uMJSBkQmQ@public.gmane.org> wrote:> Middleware Guru wrote: > > ActiveRecord::Base.connection.select_all(''.table'') > > does not see the DB., sqlite3 does. > > gem install sqlite3-ruby > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250
I forgot to mention in rush that I am getting this crap, when I am trying to use scaffold API inside controller, .e., scaffold :todo I am sorry. --- Jeremy Kemper <jeremy-w7CzD/W5Ocjk1uMJSBkQmQ@public.gmane.org> wrote:> Jamis Buck wrote: > > Are you giving the full path to the database file, > or just a relative > > path? You have to give a full path for it to work: > > development: > > adapter: sqlite3 > > dbfile: > /the/complete/path/to/the/Todo/db/file.db > > The path may be relative to RAILS_ROOT as well. > Absolute paths > frustrate app deployment. > > jeremy > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
Ara, This is the problem I have. I am trying to run Rails 0.10.0 on Ruby 1.8.2 (2004-12-25) [i386-mswin32] with SQLite3 on W2K Pro, just evaluating how Rails fills our bill in the quest for a fast prototyping tool (I am a big fan of Ruby, and I am trying to push Ruby very badly). When I am trying either to use scaffold :todo in the controller, or generate scaffold I am getting an error stating that the dbfile parameter is missing. Do you know anything about this issue? Thank you in advance for your help! Best, Naum Kopman --- "Ara.T.Howard" <Ara.T.Howard-32lpuo7BZBA@public.gmane.org> wrote:> On Thu, 24 Feb 2005, Middleware Guru wrote: > > > Does not work, sorry :-( > > can your web server user read/write the db? > > > > > > > --- Jamis Buck <jamis_buck-8Bzd4dk9+oo@public.gmane.org> wrote: > > > >> On 10:27 Thu 24 Feb , Jeremy Kemper wrote: > >>> Jamis Buck wrote: > >>>> Are you giving the full path to the database > >> file, or just a relative > >>>> path? You have to give a full path for it to > >> work: > >>>> development: > >>>> adapter: sqlite3 > >>>> dbfile: > >> /the/complete/path/to/the/Todo/db/file.db > >>> > >>> The path may be relative to RAILS_ROOT as well. > >> Absolute paths > >>> frustrate app deployment. > >> > >> Guess I haven''t tried it in a while. I know a few > >> versions back it > >> would choke if I tried to give it a relative path > >> when I wasn''t using > >> WEBrick. > >> > >> - Jamis > >> > >> -- > >> Jamis Buck > >> jamis_buck-8Bzd4dk9+oo@public.gmane.org > >> http://jamis.jamisbuck.org > >> ------------------------------ > >> "I am Victor of Borge. You will be > assimil-nine-ed." > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> > http://lists.rubyonrails.org/mailman/listinfo/rails > >> > > > > > > ====> > Naum Kopman > > Certified Enterprise Architect > > WWISA Practicing Member > > cell: 917.882.0263 > > SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org > > e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org > > ____________________________ > > I am all about milleware folks! > > ____________________________ > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Find what you need with new enhanced > search. > > http://info.mail.yahoo.com/mail_250 > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -a > -- >==============================================================================> | EMAIL :: Ara [dot] T [dot] Howard [at] noaa> [dot] gov > | PHONE :: 303.497.6469 > | When you do something, you should burn yourself > completely, like a good > | bonfire, leaving no trace of yourself. --Shunryu > Suzuki >==============================================================================> _______________________________________________> Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250
The database.yml file in /config needs a dbfile: property for SQLite. On Fri, 25 Feb 2005 08:41:03 -0800 (PST), Middleware Guru <tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> Ara, > > This is the problem I have. > > I am trying to run Rails 0.10.0 on Ruby 1.8.2 > (2004-12-25) [i386-mswin32] with SQLite3 on W2K Pro, > just evaluating how Rails fills our bill in the quest > for a fast prototyping tool (I am a big fan of Ruby, > and I am trying to push Ruby very badly). When I am > trying either to use scaffold :todo in the controller, > or generate scaffold I am getting an error stating > that the dbfile parameter is missing. > > Do you know anything about this issue? > > Thank you in advance for your help! > Best, > Naum Kopman > --- "Ara.T.Howard" <Ara.T.Howard-32lpuo7BZBA@public.gmane.org> wrote: > > > On Thu, 24 Feb 2005, Middleware Guru wrote: > > > > > Does not work, sorry :-( > > > > can your web server user read/write the db? > > > > > > > > > > > --- Jamis Buck <jamis_buck-8Bzd4dk9+oo@public.gmane.org> wrote: > > > > > >> On 10:27 Thu 24 Feb , Jeremy Kemper wrote: > > >>> Jamis Buck wrote: > > >>>> Are you giving the full path to the database > > >> file, or just a relative > > >>>> path? You have to give a full path for it to > > >> work: > > >>>> development: > > >>>> adapter: sqlite3 > > >>>> dbfile: > > >> /the/complete/path/to/the/Todo/db/file.db > > >>> > > >>> The path may be relative to RAILS_ROOT as well. > > >> Absolute paths > > >>> frustrate app deployment. > > >> > > >> Guess I haven''t tried it in a while. I know a few > > >> versions back it > > >> would choke if I tried to give it a relative path > > >> when I wasn''t using > > >> WEBrick. > > >> > > >> - Jamis > > >> > > >> -- > > >> Jamis Buck > > >> jamis_buck-8Bzd4dk9+oo@public.gmane.org > > >> http://jamis.jamisbuck.org > > >> ------------------------------ > > >> "I am Victor of Borge. You will be > > assimil-nine-ed." > > >> > > >> _______________________________________________ > > >> Rails mailing list > > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > >> > > http://lists.rubyonrails.org/mailman/listinfo/rails > > >> > > > > > > > > > ====> > > Naum Kopman > > > Certified Enterprise Architect > > > WWISA Practicing Member > > > cell: 917.882.0263 > > > SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org > > > e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org > > > ____________________________ > > > I am all about milleware folks! > > > ____________________________ > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail - Find what you need with new enhanced > > search. > > > http://info.mail.yahoo.com/mail_250 > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > -a > > -- > > > ==============================================================================> > | EMAIL :: Ara [dot] T [dot] Howard [at] noaa > > [dot] gov > > | PHONE :: 303.497.6469 > > | When you do something, you should burn yourself > > completely, like a good > > | bonfire, leaving no trace of yourself. --Shunryu > > Suzuki > > > ==============================================================================> > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > ====> Naum Kopman > Certified Enterprise Architect > WWISA Practicing Member > cell: 917.882.0263 > SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org > e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org > ____________________________ > I am all about milleware folks! > ____________________________ > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - now with 250MB free storage. Learn more. > http://info.mail.yahoo.com/mail_250 > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- rick http://techno-weenie.net
Rick, Does it require the absolute path to the database or just the name of the file in the db subdirectory? Thanks, Naum Kopman --- Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> The database.yml file in /config needs a dbfile: > property for SQLite. > > On Fri, 25 Feb 2005 08:41:03 -0800 (PST), Middleware > Guru > <tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > > Ara, > > > > This is the problem I have. > > > > I am trying to run Rails 0.10.0 on Ruby 1.8.2 > > (2004-12-25) [i386-mswin32] with SQLite3 on W2K > Pro, > > just evaluating how Rails fills our bill in the > quest > > for a fast prototyping tool (I am a big fan of > Ruby, > > and I am trying to push Ruby very badly). When I > am > > trying either to use scaffold :todo in the > controller, > > or generate scaffold I am getting an error stating > > that the dbfile parameter is missing. > > > > Do you know anything about this issue? > > > > Thank you in advance for your help! > > Best, > > Naum Kopman > > --- "Ara.T.Howard" <Ara.T.Howard-32lpuo7BZBA@public.gmane.org> wrote: > > > > > On Thu, 24 Feb 2005, Middleware Guru wrote: > > > > > > > Does not work, sorry :-( > > > > > > can your web server user read/write the db? > > > > > > > > > > > > > > > --- Jamis Buck <jamis_buck-8Bzd4dk9+oo@public.gmane.org> wrote: > > > > > > > >> On 10:27 Thu 24 Feb , Jeremy Kemper > wrote: > > > >>> Jamis Buck wrote: > > > >>>> Are you giving the full path to the > database > > > >> file, or just a relative > > > >>>> path? You have to give a full path for it > to > > > >> work: > > > >>>> development: > > > >>>> adapter: sqlite3 > > > >>>> dbfile: > > > >> /the/complete/path/to/the/Todo/db/file.db > > > >>> > > > >>> The path may be relative to RAILS_ROOT as > well. > > > >> Absolute paths > > > >>> frustrate app deployment. > > > >> > > > >> Guess I haven''t tried it in a while. I know a > few > > > >> versions back it > > > >> would choke if I tried to give it a relative > path > > > >> when I wasn''t using > > > >> WEBrick. > > > >> > > > >> - Jamis > > > >> > > > >> -- > > > >> Jamis Buck > > > >> jamis_buck-8Bzd4dk9+oo@public.gmane.org > > > >> http://jamis.jamisbuck.org > > > >> ------------------------------ > > > >> "I am Victor of Borge. You will be > > > assimil-nine-ed." > > > >> > > > >> > _______________________________________________ > > > >> Rails mailing list > > > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > >> > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > >> > > > > > > > > > > > > ====> > > > Naum Kopman > > > > Certified Enterprise Architect > > > > WWISA Practicing Member > > > > cell: 917.882.0263 > > > > SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org > > > > e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org > > > > ____________________________ > > > > I am all about milleware folks! > > > > ____________________________ > > > > > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail - Find what you need with new > enhanced > > > search. > > > > http://info.mail.yahoo.com/mail_250 > > > > > _______________________________________________ > > > > Rails mailing list > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > -a > > > -- > > > > > >==============================================================================> > > | EMAIL :: Ara [dot] T [dot] Howard [at] noaa> > > [dot] gov > > > | PHONE :: 303.497.6469 > > > | When you do something, you should burn > yourself > > > completely, like a good > > > | bonfire, leaving no trace of yourself. > --Shunryu > > > Suzuki > > > > > >==============================================================================> > > _______________________________________________> > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > ====> > Naum Kopman > > Certified Enterprise Architect > > WWISA Practicing Member > > cell: 917.882.0263 > > SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org > > e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org > > ____________________________ > > I am all about milleware folks! > > ____________________________ > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - now with 250MB free storage. Learn > more. > > http://info.mail.yahoo.com/mail_250 > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > -- > rick > http://techno-weenie.net > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >====Naum Kopman Certified Enterprise Architect WWISA Practicing Member cell: 917.882.0263 SMS: 9178820263-UBU8Z7KHsBUAvxtiuMwx3w@public.gmane.org e-mail: tpterm-/E1597aS9LQAvxtiuMwx3w@public.gmane.org ____________________________ I am all about milleware folks! ____________________________ __________________________________ Do you Yahoo!? Yahoo! Sports - Sign up for Fantasy Baseball. http://baseball.fantasysports.yahoo.com/