hi there, I am very new to ruby on rails and trying to run an demo application I created an application rails demo. i created a controller Say i started the server ruby/script server I used port http://localhost:3000/Say i get the following error. MissingSourceFile in SayController#index no such file to load -- sqlite3 RAILS_ROOT: C:/rails/demo Application Trace | Framework Trace | Full Trace i guess sqlite3 comes default with rails and my rails version 2.2 Kindly suggest as how to resolve my problem. Regards Ramya -- View this message in context: http://www.nabble.com/problem-running-an-demo-application-tp21537601p21537601.html Sent from the RubyOnRails Users mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
u dont have installed sqlite , it comes with rails but u need the dll files to b there onto u''r sys. other way change database adapter to mysql in database.yml file present in config dir with mysql installed on u''r sys. On Mon, Jan 19, 2009 at 12:04 PM, Rajasekaramya <ramya.victory-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > hi there, > > I am very new to ruby on rails and trying to run an demo application > > I created an application rails demo. > i created a controller Say > i started the server ruby/script server > I used port > http://localhost:3000/Say > i get the following error. > > MissingSourceFile in SayController#index > > no such file to load -- sqlite3 > > RAILS_ROOT: C:/rails/demo > Application Trace | Framework Trace | Full Trace > > i guess sqlite3 comes default with rails and my rails version 2.2 > > Kindly suggest as how to resolve my problem. > > Regards > Ramya > > -- > View this message in context: http://www.nabble.com/problem-running-an-demo-application-tp21537601p21537601.html > Sent from the RubyOnRails Users mailing list archive at Nabble.com. > > > > >-- M@nmay http://manmays.googlepages.com http://manmays.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Each rails application connects to a database during start (configured in database.yml) By deafault iy assumes it to be a SQLite3 database but the adapters of these would have to be installed seperately. You can install the same with gem install sqlite-ruby Or you can modify the default database to mySQL in database.yml file(in config folder) This would have been mentioned in whatever tutorial/book you are following NAYAK On Mon, Jan 19, 2009 at 12:04 PM, Rajasekaramya <ramya.victory-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > > hi there, > > I am very new to ruby on rails and trying to run an demo application > > I created an application rails demo. > i created a controller Say > i started the server ruby/script server > I used port > http://localhost:3000/Say > i get the following error. > > MissingSourceFile in SayController#index > > no such file to load -- sqlite3 > > RAILS_ROOT: C:/rails/demo > Application Trace | Framework Trace | Full Trace > > i guess sqlite3 comes default with rails and my rails version 2.2 > > Kindly suggest as how to resolve my problem. > > Regards > Ramya > > -- > View this message in context: > http://www.nabble.com/problem-running-an-demo-application-tp21537601p21537601.html > Sent from the RubyOnRails Users mailing list archive at Nabble.com. > > > > >-- - NAYAK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
hi there, I fixed the problem.sqlite3 was missing.I installed by downloading the gem for it and also the .dll files was missing. Thanks, Regards Ramya. On Mon, Jan 19, 2009 at 1:37 AM, Manmay <manmays-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > u dont have installed sqlite , it comes with rails but u need the dll > files to b there onto u''r sys. > other way change database adapter to mysql in database.yml file > present in config dir with mysql installed on u''r sys. > > > > On Mon, Jan 19, 2009 at 12:04 PM, Rajasekaramya <ramya.victory-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > > hi there, > > > > I am very new to ruby on rails and trying to run an demo application > > > > I created an application rails demo. > > i created a controller Say > > i started the server ruby/script server > > I used port > > http://localhost:3000/Say > > i get the following error. > > > > MissingSourceFile in SayController#index > > > > no such file to load -- sqlite3 > > > > RAILS_ROOT: C:/rails/demo > > Application Trace | Framework Trace | Full Trace > > > > i guess sqlite3 comes default with rails and my rails version 2.2 > > > > Kindly suggest as how to resolve my problem. > > > > Regards > > Ramya > > > > -- > > View this message in context: > http://www.nabble.com/problem-running-an-demo-application-tp21537601p21537601.html > > Sent from the RubyOnRails Users mailing list archive at Nabble.com. > > > > > > > > > > > > > -- > M@nmay > http://manmays.googlepages.com > http://manmays.blogspot.com > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---