search for: first_time

Displaying 20 results from an estimated 203 matches for "first_time".

2006 Feb 23
3
rake error
...e-source'' For help on options, try ''rdoc --help'' rake aborted! exit (See full trace by running task with --trace) What is this about? Craig the full trace below if it helps... [craig@srv2 rdoccd]$ rake appdoc --trace (in /home/craig/ruby-db/th-db) ** Invoke appdoc (first_time) ** Invoke doc/app/index.html (first_time) ** Invoke doc/README_FOR_APP (first_time, not_needed) ** Invoke app/models/client.rb (first_time, not_needed) ** Invoke app/models/placement-safe.rb (first_time, not_needed) ** Invoke app/models/case_manager.rb (first_time, not_needed) ** Invoke app/models...
2010 Sep 01
4
NoMethodError: undefined method `force_encoding' for "Conten
Hi everyone! Im trying to install mechanizer from http://github.com/tenderlove/mechanize. I`ve clone the project into /tmp folder. When I do rake inside the folder /tmp/mechanizer it gives me this error: mac159180:mechanize renatosis$ rake (in /private/tmp/mechanize) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w -Ilib:bin:test:. -e ''require "rubygems";
2008 Nov 06
8
anyone able to explain logic behind "rake spec" startup (e.g. db:test:prepare => abort_if_pending_migration => invoke environment => etc etc)
anyone able to explain logic behind "rake spec" startup? i.e. the below steps & why things occur when they do Macintosh-2:myequity greg$ rake spec --trace (in /Users/greg/source/myequity) ** Invoke spec (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:load (first_time) ** Invoke db:test:purge (first_time) ** In...
2006 Aug 02
0
rake works but rake test:units fails, strange trace
...y 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 (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 db:test:clone (first_time) ** Invoke db:schema:dump (first_time) ** Invoke environment...
2006 Aug 14
1
rake test:units -> table already exists
...n test:units, rails complains about the tables already being present. They had to be present so I could run individual unit tests. So why doesn''t rails just drop the tables if they exist? Any ideas?? Jeroen debug oupt below: >rake test:units --trace (in ...) ** 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 ** Invoke db:schema:load (...
2006 Jul 07
5
Re: Rails migration issue
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, so rake migrate --trace gets you this: Khavi:~/Documents/WebCode/rails/clickcaster sgoodwin$ rake migrate -- trace (in /Users/sgoodwin/Documents/WebCode/rails/clickcaster) ** Invoke migrate (first_time) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate ** Execute migrate then it stops, heh. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFErt9QrXJnpd8Tr7MRAuS0AJ9cw2B/07x2TJWR17W5Ku3mXjIXEwCgi+zM 9Kp2HHd7dvfDXT565...
2006 May 28
0
rake errors - not as helpful as they could be
...cal/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" rake aborted! Test failures (See full trace by running task with --trace) stevez.sea-urchin ~/Sites/auth -=> rake --trace (in /Volumes/local/Users/stevez/Sites/auth) ** 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 db:test:clone (first_time) ** Invoke db:schema:dump (first_time) ** Invoke environment...
2006 Jun 13
3
rake migrate working but not working
...t this migration to work the first time I tried it, dropped the table and not the migration won''t create the table but does not show any errors. Here is the trace on the execution of the rake migrate: my-computer:~/forms lars$ rake migrate --trace (in /Users/lars/forms) ** Invoke migrate (first_time) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump ** Execute migrate I''m at a loss. I''ve checked that the database access configu...
2006 Feb 13
8
postgres and rake
...TER SCHEMA public OWNER TO tobyhouse; ERROR: syntax error at or near "OWNER" at character 21 # rpm -q postgresql-server postgresql-server-7.4.8-1.RHEL4.1 My problem is with rake... $ rake clone_structure_to_test --trace (in /home/craig/ruby-db/th-db) ** Invoke clone_structure_to_test (first_time) ** Invoke db_structure_dump (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db_structure_dump ** Invoke purge_test_database (first_time) ** Invoke environment ** Execute purge_test_database ** Execute clone_structure_to_test psql:db/development_structure.sql:28: N...
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:tes...
2007 Nov 25
15
Possible Problem with RSpec and
...c/depot/vendor/plugins/rspec/bin/spec" "spec/models/product_spec.rb" --options "C:/var/RSpec/depot/config/../spec/spec.opts" failed (See full trace by running task with --trace) C:\var\RSpec\depot>rake spec:models --trace (in C:/var/RSpec/depot) ** Invoke spec:models (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 envi...
2009 Apr 30
1
rake spec - no output
...e db:create:all rake db:migrate remove --colour in spec.opts rake spec This should return a bunch of passed tests, but doesn''t. Environment: Ubuntu 9.04 Rails 2.3.2 ruby 1.9.1p0 rspec 1.2.4 as gem rspec-rails 1.2 4 as gem rake spec --trace (in /home/tick/work/rspec-test) ** Invoke spec (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:load (first_time) ** Invoke db:test:purge (first_time) ** In...
2001 May 19
0
scp linking problem on solaris 2.6 (x86)
...looks odd to me in bsd-arc4random.c. Do we really want to seed the r.n.g. every time we call arc4random() *except* the first time? Or did we want to seed the r.n.g. only on the first time? If the latter, we need this patch: Index: openbsd-compat/bsd-arc4random.c @@ -48,9 +48,10 @@ static int first_time = 1; if (rc4_ready <= 0) { - if (!first_time) + if (first_time) { seed_rng(); - first_time = 0; + first_time = 0; + } arc4random_stir(); } If the code was really correct, I suggest rewriting it to be a little more explicit. Like this: if (first_time) first_time = 0; e...
2010 Oct 14
0
no such file to load -- ZenTest but I have already installed ZenTest
$ rake spec cucumber --trace (in /home/soroush/projects/mediapilot) ** Invoke spec (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:load (first_time) ** Invoke db:test:purge (first_time) ** In...
2006 Jul 04
4
MySQL error when running rake migrate
...permissions problem--I can login to the database as my application just fine. I tried downgrading MySQL to v4.1 because that is the version that my other machine uses where `rake migrate` works, but no luck. I get the same error. Thanks in advance to all who reply. Chris ** Invoke migrate (first_time) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! Mysql::Error: Lost connection to MySQL server during query: SELECT version FROM schema_info /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_...
2006 Feb 15
6
Problem creating appdoc documentation
...gnize that I''m now not abble to build appdoc. The same thing that few weeks ago worked without an problem now give me an error: unrecognized option `--line-numbers --inline-source'' $ rake --trace --verbose reappdoc (in /home/radek/src/firma/giga-net/ncc/work) ** Invoke reappdoc (first_time) ** Invoke clobber_appdoc (first_time) ** Execute clobber_appdoc rm -r doc/app rm -r doc/app ** Invoke appdoc (first_time) ** Invoke doc/app/index.html (first_time) ** Invoke doc/README_FOR_APP (first_time, not_needed) ** Invoke app/controllers/application.rb (first_time, not_needed) ** Invoke app/...
2007 Aug 07
4
Execute additional commands after creating database?
...the first migration but somehow Globalize bit me in my ass because it tries to create it''s own tables first although there is no such migration in db/migrations. What can I do? To illustrate, this is what it looks like. % rake spec --trace (in /Users/fastjack/Sites/rpps) ** 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 envi...
2010 Jan 20
4
Rake Aborted wont Migrate mysql
...pplication has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. -------------- Trace results ---------------- C:\Ruby\projects\music_library>rake --trace (in C:/Ruby/projects/music_library) ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations C:/Ruby/lib/ruby/gems/1.8/g...
2005 Oct 28
3
PostgreSQL. Multiply schemas in one database. How to?
...of schema name. And table names are looking for thought all this schemas. I am wonder, is anybody need it (i mean multiply schemas)? Well, after configuring I tried to run rake test but it is failed with log printed below. How to solve it and make it running?? ** Invoke clone_structure_to_test (first_time) ** Invoke db_structure_dump (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db_structure_dump ** Invoke purge_test_database (first_time) ** Invoke environment ** Execute purge_test_database dropdb: database removal failed: ERROR: database "darkthrone" is...
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 envi...