Displaying 20 results from an estimated 20000 matches similar to: "Rake stats"
2006 Aug 02
0
rake stats LOC
Running "rake stats" shows
validates_presence_of :stuff, :more_stuff,
:yet_more_stuff
As two lines of code (LOC). I think it should be one line of code,
since it''s one statement.
An easy way to do that would be to not count the lines with a comma at the end.
Joe
2006 May 18
3
capistrano and Dreamhost issue
Hi,
i''m striving to capistranize a foo app on DH.
Everything is hosted on DH to simplify a bit :
- svn repository (http access)
- the application
- the DB
I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which
you can find here : http://nubyonrails.com/pages/shovel_dreamhost
I did the least modifications possible. As recommended.
1) When I launch the
2006 May 16
5
rake aborted! ActiveRecord::ConnectionNotEstablished
Hi all
I''m just learning to use rake and ran into the following problem:
chraftbuech:/Users/Josh/Webwork/CommentingSystem josh$ rake
create_test_news
(in /Users/Josh/Webwork/CommentingSystem)
Create test news
rake aborted!
ActiveRecord::ConnectionNotEstablished
The task''s code is:
desc ''Creates some test news items with comments''
task
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 Sep 13
4
rake does recognize "rake examples_with_rcov"
Hi,
Q1 - Know why rake doesn''t recognize "rake examples_with_rcov" per
http://rspec.info/documentation/tools/rcov.html ?
Q2 - Also when I run "rake spec:rcov" it seems to give me the same as
if I just run "autotest" or "rake spec". I was expecting a heap of
pointers to code I haven''t tested?
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 Mar 31
1
rake doc:rails fails with edge rails
Hi,
I''m sure I''m doing something stupid, but I can''t figure this one out. I
want the edge rails docs (I''m using svn:externals for vendor/rails to
get edge rails). Running ruby 1.8.4, and edge rails. Tried on linux
and OS X.
''rake doc:app'' and ''rake doc:plugins'' works fine, but when I run ''rake
2012 Apr 18
0
rake .rake subfolder not working
I read that if you create a .rake subfolder, you can run rake from any
subfolder in and it will pickup the rake tasks as long as you put the -g
option.
I have this:
/app/
/app/Rakefile
/app/.rake/test.rake
Now when I do:
rake -g -T
I only see the tasks defined in my Rakefile.
Does this work like this or am i confused?
Because I just tested, if I go to a subfolder, rake works fine. Not sure
2006 Oct 17
3
rake -T is missing rake db:fixtures:dump?
Subject says it all: rake doesn''t know about db:fixtures:dump. When I
try, I get this:
Don''t know how to build task ''db:fixtures:dump''
I thought this was a standard feature that ships with rake- any idea
why it''s missing, and how I can reinstall it?
Here''s the environment:
Ruby version 1.8.4 (powerpc-darwin8.6.0)
RubyGems
2007 Dec 16
0
Running default rake tasks?
I installed via piston and when in vendor/plugins/backgroundrb, I
attempt to run the default rake task:
(in /home/wallace/new_bdrb-wheels/vendor/plugins/backgroundrb)
rake aborted!
no such file to load -- spec/rake/spectask
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
2006 Feb 22
0
rake migrate problems
I''ve been trying to build an app with migrations:
When I attempt:
$rake migrate
I get the following errors:
rake migrate --trace
(in /Users/intention/work/atlrugpoll_working)
** Invoke migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute migrate
^Crake aborted!
2007 Oct 05
0
RSpec Trunk - Successful : Rake Aborted
$ rake spec --trace
(in /work/workspace/ng)
** Invoke spec (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
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute
2011 Apr 23
1
rake spec fails where rake spec:(models|controllers|views) pass
I''m still trying to work into Ruby 1.9.2 and am now experiencing
something that makes no sense to me. Using rspec 1.3.2 and rspec-rails
1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I
$ rake spec:models
they all pass. When I
$ rake spec:controllers
they all pass. When I
$ rake spec:views
they all pass. But when I
$ rake spec
I get
<path to
2008 Jan 31
1
never have been able to run rake doc:app
Perhaps it''s just a Fedora thing but it would be nice to generate my
application''s API
$ rake doc:app --trace
(in /home/storage/users/craig/svn/th-db/branches/phase5)
** Invoke doc:app (first_time)
** Invoke doc/app/index.html (first_time)
rake aborted!
Don''t know how to build task ''doc/README_FOR_APP''
2010 Feb 25
0
Rails problems running rake and other tasks - undefined method `action_controller'
I suddenly have a major problem in all my Rails 3 apps:
$ rake db:migrate --trace
rake aborted!
Don''t know how to build task ''db:migrate''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:1728:in `[]''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:2050:in `invoke_task''
2008 Mar 06
0
rake spec aborting
hello,
when running rake spec, I''m getting a stack trace similar to the one
mentioned in this ticket, which has been resolved:
http://rspec.lighthouseapp.com/projects/5645/tickets/237
but from what I understood, if the project is using rspec 1.1.3 (as is
the case with mine), this shouldn''t be happening?
here''s the stack-trace:
rake aborted!
Command ruby
2006 May 28
0
rake errors - not as helpful as they could be
hi list -
i recently attempted to run rake for a first pass at some tests and ran into
a mysterious failure. rake indicated that it had aborted running the tests
but provided little information on exactly why this occurred. the only bit
of information it did offer was that i could use --trace for a full trace.
of course i did that hoping it would provide more detail, but it didn''t help
a
2006 Apr 08
1
Problems with Login Engine/rake
Hello,
I have been having problems installing the Login Engine.
I follow all the steps found on the download site (rails-engines.org),
but when I get to the DB_SCHEMA step, I do
rake engine_migrate ENGINE=login in the application root.
"""
C:\rails\cag> rake engine_migrate ENGINE=login
(in C:/rails/cag)
rake aborted!
Don''t know how to build task
2006 Aug 02
0
rake works but rake test:units fails, strange trace
Hi,
When I run rake, everything works fine but when I run rake test:units
I get an error apparently while it''s trying to create db tables
saying the table already exists. I ran rake with trace to see the
differences. It appears that rake test:units does db:schema:load
twice, maybe that is the problem? Anyone know why this might be?
Output of trace below
Rake
** Invoke default
2009 Jan 15
0
"rake test" works but "rake test:units" fails
"rake test" runs all the tests as it should...
but "rake test:units"
C:\...\...>rake test:units
(in C:/.../...)
rake aborted!
FATAL C3D000 Mdatabase "postgres" does not exist Fpostinit.c
L274
RInitPostgres
(See full trace by running task with --trace)
Small part of the trace:
C:\...\...>rake test:units --trace
(in C:/.../...)
** Invoke test:units