Beginner's challenge

5 views
Skip to first unread message

dwhitekiss

unread,
Nov 23, 2009, 7:42:27 AM11/23/09
to Ruby on Rails: Talk
Hello,

I begun my journey in Ruby on Rails last Saturday and I am having some
challenges specifically about the db

Where should I go for the specific error listing and how it may be
resolved. I googled and most that I've searched are not helpful.

D

eugenio

unread,
Nov 23, 2009, 10:33:56 AM11/23/09
to Ruby on Rails: Talk
what challenges?
if you didn't change things you are in development environment and you
are using sqlite. so run 'rake db:migrate' and it will create your
database. if it doesn't check if you installed the gem sqlite3-ruby.
if you still got an error, PASTE it, maybe someone could help you.

Darwin Pintado

unread,
Nov 23, 2009, 1:19:03 PM11/23/09
to rubyonra...@googlegroups.com

$ gem install sqlite3-ruby
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ETIMEDOUT: Connection timed out - connect(2) (http://gems.rubyforge.o
rg/gems/sqlite3-ruby-1.2.5.gem)





--

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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.



dwhitekiss

unread,
Nov 23, 2009, 2:00:36 PM11/23/09
to Ruby on Rails: Talk
How should I generate a fulltrace according to comment below

C:\>rake rails:update
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2143:in
`raw_load_rakefile
'
(See full trace by running task with --trace)



On Nov 24, 2:19 am, Darwin Pintado <dwhitek...@gmail.com> wrote:
> $ gem install sqlite3-ruby
> ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
>     Errno::ETIMEDOUT: Connection timed out - connect(2) (http://gems.rubyforge.o
> rg/gems/sqlite3-ruby-1.2.5.gem)
>
> On Mon, Nov 23, 2009 at 11:33 PM, eugenio <eugenio.mode...@gmail.com> wrote:
> > what challenges?
> > if you didn't change things you are in development environment and you
> > are using sqlite. so run 'rake db:migrate' and it will create your
> > database. if it doesn't check if you installed the gem sqlite3-ruby.
> > if you still got an error, PASTE it, maybe someone could help you.
>
> > On 23 Nov, 13:42, dwhitekiss <dwhitek...@gmail.com> wrote:
> > > Hello,
>
> > > I begun my journey in Ruby on Rails last Saturday and I am having some
> > > challenges specifically about the db
>
> > > Where should I go for the specific error listing and how it may be
> > > resolved. I googled and most that I've searched are not helpful.
>
> > > D
>
> > --
>
> > 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 rubyonra...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rubyonrails-ta...@googlegroups.com<rubyonrails-talk%2Bunsu...@googlegroups.com>
> > .

Leonardo Mateo

unread,
Nov 23, 2009, 2:05:38 PM11/23/09
to rubyonra...@googlegroups.com
On Mon, Nov 23, 2009 at 4:00 PM, dwhitekiss <dwhit...@gmail.com> wrote:
> How should I generate a fulltrace according to comment below
>
> C:\>rake rails:update
> rake aborted!
> No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
> Rakefile.rb)
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2143:in
> `raw_load_rakefile
> '
> (See full trace by running task with --trace)
>
Are you on your project's directory?
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
>
>
>



--
Leonardo Mateo.
There's no place like ~

Darwin Pintado

unread,
Nov 23, 2009, 9:00:02 PM11/23/09
to rubyonra...@googlegroups.com
Yes, I need to know how to run a full trace


(See full trace by running task with --trace)


RubyonRails_newbie

unread,
Nov 24, 2009, 7:15:18 AM11/24/09
to Ruby on Rails: Talk
use mysql - i haven't had 1 database issue.

On 24 Nov, 02:00, Darwin Pintado <dwhitek...@gmail.com> wrote:
> Yes, I need to know how to run a full trace
>
> (See full trace by running task with --trace)
>
> On Tue, Nov 24, 2009 at 3:05 AM, Leonardo Mateo <leonardoma...@gmail.com>wrote:
> > >> > rubyonrails-ta...@googlegroups.com<rubyonrails-talk%2Bunsubscrib­e...@googlegroups.com>
> > <rubyonrails-talk%2Bunsu...@googlegroups.com<rubyonrails-talk%252Bunsub­scr...@googlegroups.com>
>
> > >> > .
> > >> > For more options, visit this group at
> > >> >http://groups.google.com/group/rubyonrails-talk?hl=.
>
> > > --
>
> > > 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 rubyonra...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > rubyonrails-ta...@googlegroups.com<rubyonrails-talk%2Bunsubscrib­e...@googlegroups.com>
> > .
> > > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-talk?hl=.
>
> > --
> > Leonardo Mateo.
> > There's no place like ~
>
> > --
>
> > 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 rubyonra...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rubyonrails-ta...@googlegroups.com<rubyonrails-talk%2Bunsubscrib­e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-talk?hl=.- Hide quoted text -
>
> - Show quoted text -

RubyonRails_newbie

unread,
Nov 24, 2009, 7:18:47 AM11/24/09
to Ruby on Rails: Talk
to clarify

when you create your project , ie rails myProject

to modify it to use mysql, do this:

rails myProject -d mysql

On 24 Nov, 12:15, RubyonRails_newbie <craigwest...@googlemail.com>
wrote:
> > >http://groups.google.com/group/rubyonrails-talk?hl=.-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -

Darwin Pintado

unread,
Nov 24, 2009, 9:47:30 AM11/24/09
to rubyonra...@googlegroups.com
That is what I did earlier which I installed the mysql community version. I will get a hold of it when I get home.

To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.



Reply all
Reply to author
Forward
0 new messages