On May 6, 6:35 am, Jarkko Laine <
jarks...@gmail.com> wrote:
> On 6.5.2009, at 1.33, dwaonsolo wrote:
>
>
>
> > I have a problem with the Rake funtion, i was told i can do the whole
> > thinkg without raking but when it came to chapter 11 on acceptance
> > testing then it seems like i need it for selenium to work. Here is
> > what happens when i do the rake trace:
>
> > dwain@ubuntu:~/Documents/stuad$ rake --trace
> > (in /home/dwain/Documents/stuad)
> > /home/dwain/Documents/stuad/config/boot.rb:29:Warning: require_gem is
> > obsolete. Use gem instead.
>
> > can you tell me what the error for this is?
>
> See above. Use 'gem' instead of 'require_gem' in line 29 of boot.rb. I
> think running 'rake rails:update' would fix that as well, but if
> running rake breaks it's not much help :-)
>
> Just a word of warning. The book is written about 3 years ago. A lot
> has changed in the syntax since then so you'll end up doing this kind
> of debugging for quite a bit.
>
> //jarkko
Thanks for the word of warning, i have been debugging for a while coz
there seem to be alot of problems. And because i am new to ruby on
rails its just annoying fixing the bugs.
This is what i get now:
dwain@ubuntu:~/Documents/stuad$ rake
(in /home/dwain/Documents/stuad)
rake aborted!
Test failures
(See full trace by running task with --trace)
dwain@ubuntu:~/Documents/stuad$ rake --trace
(in /home/dwain/Documents/stuad)
dwain@ubuntu:~/Documents/stuad$ rake db:migrate
(in /home/dwain/Documents/stuad)
If i run "rake rails:update" would the current version of rake work
well with the other gems because my gems are in the 1. versions?