similar to: Errors during migration.

Displaying 20 results from an estimated 10000 matches similar to: "Errors during migration."

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 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 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
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 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 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
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 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 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 May 29
1
Engine: Active_RBAC not working, missing require
Hi there, I try to install the active_rbac plugin as described in the manual on the active_rbac trac site. The installation through the plugin script was great: ruby script\plugin discover ruby script\plugin install engines ruby script\plugin install active_rbac I set up the environment.rb in rails\config dir correctly to Engines.start :active_rbac But if I try a rake db:migrate:engines
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
2006 Nov 04
3
undefined method `load_paths=' for Dependencies:Module
I''ve been working on an app, and had a friend check it out to his machine. I''ve got rails and all my plugins set up with svn:externals, so when he svn ups it he gets all the latest stuff. I''ve just svn up''d both machines so we''re running the same versions of everything. We''re also running the same version of ruby (1.8.4). As far as I can
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 Jul 09
2
Error using sqlite3
Hello, I''m trying to use sqlite3 and I''ve followed the steps here : http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite However I get the error above (uninitialized constant API) when trying to run a migration. I''m under Windows XP, using cygwin, the sqlite3.dll file is on the lib directory of my rails app (filemon, an utility that reports file access attempts
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
2008 Jul 16
2
Error when running my unit test...
Hi Rails team Learning ROR, and is doing the chapter with test..... feel like skipping this, but.... (using NetBeans IDE 6.1) I have created this story_test.rb, and when I run the ''rake test:units (selected from the GUI), I get this error: (in /data/NewOrder/Projects/ROR/shovell) ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment
2007 Feb 08
1
Problem with acts_as_taggable table migration
I just installed acts_as_taggable in my Rails app, and built the migration for the needed tables. When I went to run the migration via the rake command I got this: /Users/brianlandau/rails/lispr/config/../vendor/plugins/ acts_as_taggable/lib/acts_as_taggable.rb:1: syntax error, unexpected $end "WHERE #{table_name}.#{primary_key} = taggintags, taggings " +e_record_descendant,
2006 Sep 05
0
rake craziness with Migrate as a dependency
Hi everyone, For one of our projects we have a need to deploy and maintain a demo. As a result I''ve attempted to setup a set of rake tasks for the job. My goal is have one rake task called "deploy_demo" which purges the database, migrates to the current schema, and loads the db from a set of fixture files in a specified location. I''ve written two new tasks the perform
2006 May 24
0
capistrano on windows
I''m trying to deploy my app to the production server (on dreamhost) from a windows box. however, all I get is "rake aborted" without any further error messages. I have no idea where to even start debgging this. I''ve checked and re-checked the details in deploy.rb but otherwise I''m stumped. any ideas anyone? thanks al output from command line:
2006 Nov 16
4
rake db:migrate problem
I am just starting out learning RoR. I am trying to follow along with the Depot project in "Agile Web Development With Rails ed2" and get the error "You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.[]" I ran --trace and get the following, but I am not sure what it means. Can