Ruby on Rails Monday, November 22, 2010

Hello Renato,

Find the file yourapp/config/database.yaml, open it, and set it well.
You have to know your database username+password, if any. Any also the
database have to installed, and the database's gem also. Check it with
'mysql -v' and 'gem list m' or 'sqlite3 -v' and 'gem list sq', you
will see if something is missing, then istall it.

If you use ruby script/server instead of rails server, means that you
use Rails 2.3.X version ,and not the latest Rails 3. Chack your
versions: "ruby -v", "gem -v", "gem list", "rails -v".

It's a really good idea to update, since Rails 3 is completely
refactored and many new ideas in it, so if you study Rails 2, you will
need to restudy many things later. (sudo) "gem update"

Or the best solution: install RVM, version manager, so you can choose
which Ruby or Rails you wish to use.

Good luck,
Zoltán


On nov. 21, 14:25, Renato Viana <li...@ruby-forum.com> wrote:
> I am getting this message after run: ruby script/server and click in
> "About your application environment" in the browser.
>
> --
> 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