$ rake db:create (in /home/adrian/sites/tmpee) Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem sources listed in your Gemfile. Try running `bundle install`. So I ran bundle install and got the same error. This is my config/database.yml file: development: adapter: postgresql encoding: unicode database: tmpees.development pool: 5 timeout: 5000 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: adapter: postgresql database: tmpees.test pool: 5 timeout: 5000 production: adapter: postgresql database: tmpees.production pool: 5 timeout: 5000 Thank you for your patience with a noob. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rajeevsharma86
2010-Nov-26 08:37 UTC
Re: Can''t get past rake db:create, guidance appreciated
in your Gemfile delete line which have sqlite3-ruby On Fri, Nov 26, 2010 at 10:32 AM, Adrian Berg <adrian.berg92-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> $ rake db:create > (in /home/adrian/sites/tmpee) > Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem > sources listed in your Gemfile. > Try running `bundle install`. > > So I ran bundle install and got the same error. > > This is my config/database.yml file: > > development: > adapter: postgresql > encoding: unicode > database: tmpees.development > pool: 5 > timeout: 5000 > > # Warning: The database defined as "test" will be erased and > # re-generated from your development database when you run "rake". > # Do not set this db to the same as development or production. > test: > adapter: postgresql > database: tmpees.test > pool: 5 > timeout: 5000 > > production: > adapter: postgresql > database: tmpees.production > pool: 5 > timeout: 5000 > > > Thank you for your patience with a noob. > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Thanks: Rajeev sharma +919013155133 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Laibow-Koser
2010-Nov-27 22:05 UTC
Re: Can''t get past rake db:create, guidance appreciated
Kannav R. wrote in post #964048:> in your Gemfile delete line which have sqlite3-rubyAs usual, your advice is useless and wrong. Please don''t post if this is all you''re going to say. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Laibow-Koser
2010-Nov-27 22:06 UTC
Re: Can''t get past rake db:create, guidance appreciated
Marnen Laibow-Koser wrote in post #964375:> Kannav R. wrote in post #964048: >> in your Gemfile delete line which have sqlite3-ruby > > As usual, your advice is useless and wrong. Please don''t post if this > is all you''re going to say.No, on second look, you were right and I''m the one who shouldn''t have posted. I''m very sorry.> > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org-- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hello, Check all versions, I assume everything is updated, Ruby1.9 Rails 3+ Gem 1.3.7 This error can mean: 1. your Ruby and Gem version isn''t fit, update; 2. Your Gemfile contains the line gem ''sqlite3'' ... but your gem list does not - check it from command line ''gem list''. If you want to use sqlite3 later (good choice) then type ''gem install sqlite3-ruby'' This way your system will have sqlite3 gem, which means later you can use ''bundle install'' (if you wrote it to the Gemfile...) Anyway first also check if the DBs works properly from console. I think the same with postgre. Let me know if you have further problems, but then pls copy-paste here your versions and OS and gemlist. good luck, Zoltán On nov. 26, 05:02, Adrian Berg <adrian.ber...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> $ rake db:create > (in /home/adrian/sites/tmpee) > Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem > sources listed in your Gemfile. > Try running `bundle install`. > > So I ran bundle install and got the same error. > > This is my config/database.yml file: > > development: > adapter: postgresql > encoding: unicode > database: tmpees.development > pool: 5 > timeout: 5000 > > # Warning: The database defined as "test" will be erased and > # re-generated from your development database when you run "rake". > # Do not set this db to the same as development or production. > test: > adapter: postgresql > database: tmpees.test > pool: 5 > timeout: 5000 > > production: > adapter: postgresql > database: tmpees.production > pool: 5 > timeout: 5000 > > Thank you for your patience with a noob.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.