Where is my gem file located so that i can rake test

Googling around, I found that apparently adding to the gem file will
fix my problems, but where do i find the gem file? what is the name of
the gem file?

"group :test do

Pretty printed test output

gem ‘minitest’ ####### add this line #######
end"

Here is what happens when i run rake test, please note that i have
already installed minitest (2.7.0)


eldorado@ubuntu:~/work/depot$ gem list

*** LOCAL GEMS ***

actionmailer (3.1.1)
actionpack (3.1.1)
activemodel (3.1.1)
activerecord (3.1.1)
activeresource (3.1.1)
activesupport (3.1.1)
ansi (1.3.0)
arel (2.2.1)
builder (3.0.0)
bundler (1.0.21 ruby)
coffee-rails (3.1.1)
coffee-script (2.2.0)
coffee-script-source (1.1.2)
erubis (2.7.0)
execjs (1.2.9)
hike (1.2.1)
i18n (0.6.0)
jquery-rails (1.0.16)
json (1.6.1)
mail (2.3.0)
mime-types (1.17.2)
minitest (2.7.0)
multi_json (1.0.3)
polyglot (0.3.3)
rack (1.3.5)
rack-cache (1.1)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.1.1)
railties (3.1.1)
rake (0.9.2.2, 0.9.2)
rdoc (3.11)
sass (3.1.10)
sass-rails (3.1.4)
sprockets (2.0.3)
sqlite3 (1.3.4)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
turn (0.8.3)
tzinfo (0.3.30)
uglifier (1.0.4)
eldorado@ubuntu:~/work/depot$ rake test
/home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/turn-0.8.3/lib/turn/
autorun/minitest.rb:14:in <top (required)>': MiniTest v1.6.0 is out of date. (RuntimeError)gem install minitestand addgem ‘minitest’ to you test helper.
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/
activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:inblock
in require’
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/
activesupport-3.1.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:inrequire’
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/turn-0.8.3/
lib/turn.rb:13:in <top (required)>' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:inrequire’
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/
activesupport-3.1.1/lib/active_support/dependencies.rb:240:in block in require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:225:inload_dependency’
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/
activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ railties-3.1.1/lib/rails/test_help.rb:19:in<top (required)>’
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/
activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:inblock
in require’
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/
activesupport-3.1.1/lib/active_support/dependencies.rb:225:in
load_dependency' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:inrequire’
from /home/eldorado/work/depot/test/test_helper.rb:3:in <top (required)>' from /home/eldorado/work/depot/test/unit/helpers/ products_helper_test.rb:1:inrequire’
from /home/eldorado/work/depot/test/unit/helpers/
products_helper_test.rb:1:in <top (required)>' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:inrequire’
from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/
rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in

' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `each' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `block in ' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `select' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `' /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/turn-0.8.3/lib/turn/ autorun/minitest.rb:14:in `': MiniTest v1.6.0 is out of date. (RuntimeError) `gem install minitest` and add `gem 'minitest' to you test helper. from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:225:in `load_dependency' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/turn-0.8.3/ lib/turn.rb:13:in `' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:225:in `load_dependency' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ railties-3.1.1/lib/rails/test_help.rb:19:in `' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:225:in `load_dependency' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/eldorado/work/depot/test/test_helper.rb:3:in `' from /home/eldorado/work/depot/test/functional/ products_controller_test.rb:1:in `require' from /home/eldorado/work/depot/test/functional/ products_controller_test.rb:1:in `' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `require' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in ' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `each' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `block in ' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `select' from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `' Errors running test:units, test:functionals! eldorado@ubuntu:~/work/depot$

On 5 November 2011 13:42, eldorado554 [email protected]
wrote:

Googling around, I found that apparently adding to the gem file will
fix my problems, but where do i find the gem file? what is the name of
the gem file?

It is called Gemfile and should be in the top level of the rails
project (in the directory with app, config and so on.

Colin

Thank you Colin. Issue resolved.