Displaying 20 results from an estimated 3000 matches similar to: "rake errors - not as helpful as they could be"
2006 Jun 15
6
Sqlite3 test fails in Rails app
Greetings:
I am using Sqlite3 database with my Rails app. When I try and run "rake
tests" for the app it always fails with the error:
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke
2006 Jun 10
2
readline problems
I get the following error:
rake test_units --trace
** Invoke test_units (first_time)
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Execute db:test:clone
**
2006 Apr 03
0
follow_redirect! aborts rake during integration tests
I''m running integration tests on Rails 1.1/Ruby 1.8.4/Windows XP and have
found that any call to follow_redirect! (directly or through
[get|post]_via_redirect) causes rake to abort (see command line output
below). Has anyone else seen this error, or know what might be the trouble?
Thanks!
Tom
C:\dev\h2h>rake test:integration --trace
(in C:/dev/h2h)
** Invoke test:integration
2006 May 11
2
Unit tests fail with sqlite3 and rails 1.1
Hello all,
I''m kinda going through a rocky upgrade to rails 1.1 and I can''t find
much on google about this. When I run my tests I get this:
$ rake
(in /home/www/art2)
/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
"test/functional/panoramas_controller_test.rb"
2006 Aug 07
0
Rake 0.7.1 fails, and even Rake''s auto-test fails
Hi,
Hi,
Need help fixing this problem. Rake aborts, so I ran Rake''s test suites,
and this is what it says.
...
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
''gem_original_require'': no such file to load -- flexmock (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
''require''
from
2008 May 30
0
silent rake test failure--doesn't happen on manual test run
Hi all,
This is kinda weird. I''m working on a plugin. On the same computer
(eg. same gems, ruby, etc.), installed into different apps, it fails
silently in one, but works in the other. The code is identical, since
it''s exported through an svn export.
on app a, it works:
---
$ svn up
At revision 1191.
$ rake
(in /home/.../vendor/plugins/acts_as_media_file_manager)
2006 Jul 14
1
receiving nil exception in rake tests
I''ve been doing some really simple rails testing, going along with
standard "red light... green light..." back-and-forth-ing.
All of a sudden, rake was reporting that there were "Test failures" but
not showing any stack trace. I went into
/usr/local/ruby/.../rails/lib/tasks/testing.rake
and looked at the source that ran the tests.
I found these lines:
---
desc
2006 Feb 23
3
rake error
I installed at least one gem since I thought I actually once was able to
run ''rake appdoc'' command since there is an api for my models and the
ez_where plugin that I installed earlier. I wanted to see the api for
pdf-writer which is the gem that I installed most recently.
(no, I haven''t given up the issue of ''looping'' that Kevin and some
others replied
2006 Jul 04
4
MySQL error when running rake migrate
Running rails 1.1 and MySQL 5 on Kubuntu. I moved the same rails project
from one machine to another. To set up the database I try to run `rake
migrate` but I am greeted with the error/stack trace below. Any idea why
this could be? It doesn''t seem to be a permissions problem--I can login
to the database as my application just fine. I tried downgrading MySQL
to v4.1 because that is
2006 Apr 20
4
Newbee rake migrate question
with a simple table def.
class Objects < ActiveRecord::Migration
def self.up
create_table :objects do |table|
table.column :name, string
end
def self.down
drop_table :objects
end
end
when I run rake migrate, I get:
** Invoke migrate (first_time)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake
2007 Dec 05
1
rake error - please help
Hi-
I''m suddenly getting this rake error where as before I wasn''t. And
nothing''s been changed. As you can see it says something about
"load_missing_constant". Is my development environment broken? Can
someone please tell me what this error means?:
bbgun@echobase:~/RailsProjects/rails_space$ rake test:functionals
(in /home/bbgun/RailsProjects/rails_space)
2006 Aug 10
4
error compiling wxruby2
I''m just starting to try out wxruby. I downloaded the CVS and executed
rake. I received the following error -
SWIG Version 1.3.24
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2004
University of Chicago
Compiled with i386-redhat-linux-g++ [i386-redhat-linux-gnu]
Please see http://www.swig.org for reporting bugs and further
2006 May 05
0
Perplexing unit test issue
Because we''re now using views, I had to upgrade to mysql 5 on a
project using Rails 1.0. Updated my mysql gem accordingly (which
required upgrading xcode). Ruby 1.8.2, MacOS X (10.4.6)
Worked fine several times (even before updating the mysql gem, then
suddenly it just balked and stopped working, giving the spew below.
Have also dropped (and recreated) both the test and
2006 Apr 10
0
uninitialized constant WEBrick
I have just upgraded installed rails 1.1 using gem. I have set up a
rails app using radrails. I have set up one model for testing and set
up one migration in order to create the table for that model. When I
type rake migrate I get the following error message.
rake aborted!
uninitialized constant WEBrick
(See full trace by running task with --trace)
I have attached the trace below.
This happens
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15.
Here are the errors:
gregg@gregg2 ~/user/DMS $ rake test
(in /home/gregg/user/DMS)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:2: warning: method redefined; discarding old []=
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:11: warning: method
2006 May 15
2
login engine error
Hi everybody,
I am new to rails.
I get the following error when run the rake engine:migrate for the
engine login_engine.
------------------------------------------------------------------------
gbalaji:~/projects/test/vendor/plugins/login_engine gopalbalaji$ rake
engine_migrate ENGINE=log --trace
(in /Users/gopalbalaji/Projects/test)
** Invoke engine_migrate (first_time)
** Invoke
2009 Apr 07
3
Speed bumps on the way to successfully running puppetmasterd on Mac OSX Leopard, try one and two
Hey all,
I have recorded my steps towards getting puppet functional
through one of the four different methods that I can think of, which
are:
1.Source(copying and insatlling to the recommended unix FSH
directory, /usr/local/src)
2.pkg hosted at explanatorygap
3.MacPorts
4.RubyGems
I haven''t cleanly tested the last two, but here''s where I am with the
first two:
1. I
2006 Oct 30
1
Testing
With the 0.2.0 code, unit testing of workers isn''t working out of the box.
I created a bare rails project (dubbed "ninja") and generated one worker
"FirstWorker" and did rake test
rake test
(in /home/joshua/tmp/20061030-bdbtest/ninja)
/usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
2009 Jan 20
5
Problem running rake test
I''m using the One-click 1.8.7rc2 Ruby Windows installer, everything
has been working fine up till now, when i want to start getting into
testing, i got this error, any reason why?
C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/
lib/rake/rake_test_loader.rb" "test/unit/word_test.rb"
C:/Ruby/lib/ruby/1.8/erb.rb:469:in `scan'': You have a
2006 Jun 28
2
undefined method `use_transactional_fixtures=''
Folks,
I checked my test_helper.rb and it has
self.use_transactional_fixtures = true
My code was generated with 1.1.2 and I''m using 1.1.3 right now after
but the error persists.
I googled for this issue and it appears that a require is missing or
something like that. I can''t figure it out, please help!
/opt/local/bin/ruby -Ilib:test