Ruby on Rails Monday, November 22, 2010

Hey Aicha,
don't worry, your English understandable, and everyone was beginner
once ;) just keep trying and not to give up!

I think it would be a good idea to install ruby1.9. A good way for it
is using RVM http://rvm.beginrescueend.com/

I see, your databases are on place. If you have ruby1.8 then you will
also need sudo gem install libsqlite3-dev . It solved for me with
Ruby1.8, but still much better to upgrade Ruby1.9, then it won't be
any problem.

Have you checked DBs if you can start console and login? So you know
well the username+password, if any?
You have to write them to the config/database.yaml file.

Then since it's a Rails3 app, open Gemfile, and write "gem 'sqlite3-
ruby', :require => 'sqlite3' ", then bundle install.

Don't give up, let us know if you could solve this and start well with
Rails! ;)
Zoltán

On nov. 22, 01:33, Aicha Aicha <li...@ruby-forum.com> wrote:
> Thanks Zoltan, and sorry for my not so good english!
> I'm not sure but it seems to be a problem with in my system! I've both
> db installed and updated : mysql5.1.41  , sqlite3.6.22! I've ruby1.8.7 ,
> rails3.0.1  and  gem1.3.7 too  on ubuntu10.4!
> When I type (sudo) gem install sqlite3-ruby, I've the same previous
> ERROR but I can see all my gems after typing gem list(including
> bundler1.0.3)!
> bundle install command don't return error, it run correctly but even
> after I can't run my project, always  this message"Could not find gem
> 'sqlite3-ruby (>= 0, runtime)' in any of the gem sources.Try running
> `bundle install`."
>
> Hard hard yes, but fortunely there is people like u who are ready to
> encourage others! thank u!
>
> --
> Posted viahttp://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@googlegroups.com.
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.

No comments:

Post a Comment