similar to: Help w/ rake db:migrate error

Displaying 20 results from an estimated 10000 matches similar to: "Help w/ rake db:migrate error"

2009 Apr 04
11
rake aborted! undefined method `empty?' for nil:NilClass
Hi, I''m getting the next errors, would anyone have any suggestions? Thanks. [~/rails/hip]# rake --trace db:migrate RAILS_ENV="production" (in /home/domain/rails/hip) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `empty?'' for nil:NilClass /usr/lib/ruby/1.8/erb.rb:469:in `scan''
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
I am using Rails 2.2.2 and try to do a DB migration, but got the following error. I am using Centos 5.4. Can someone give me a clue? >> rake db:migrate RAILS_ENV="production" rake aborted! getaddrinfo: Name or service not known (See full trace by running task with --trace) [current]$ rake db:migrate RAILS_ENV="production" --trace ** Invoke db:migrate (first_time) **
2008 Nov 11
4
Very weird rake message...
When I try and run rake db:migrate, I get this error: rake aborted! uninitialized constant CreateUsers /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/ dependencies.rb:266:in `load_missing_constant'' /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/ dependencies.rb:453:in `const_missing''
2009 Aug 31
7
"Missing these required gems: rspec-rails" in ruby 1.9
i get the above error when running rake. I tried switching rails 2.3.3 with 2.3.2 but it didn''t help. here are my gems: actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource (2.3.2) activesupport (2.3.2) builder (2.1.2) cucumber (0.3.98) diff-lcs (1.1.2) hoe (2.3.3) nokogiri (1.3.3) polyglot (0.2.8) rack (1.0.0) rails (2.3.2) rake (0.8.7) rspec (1.2.8) rspec-rails
2011 May 11
2
rack problems
I''m having some issues running rake commands for puppet dashboard. Here is one of the symptoms (see below). I''m a little new to setting up rails/rack applications, so I may be making a common mistake. It looks like gems are already packaged with dashboard, specifically rack-1.01. Should that gem just work out of the box? Command: rake RAILS_ENV=production reports:prune upto=1
2009 Nov 13
3
Encoding::UTF_8 missing?
I''ve just done a fresh reinstall of OS X Snow Leopard on my mac, and I''m having all kinds of problems with Rails, but the latest problem has me stumped. Whenever I run rake db:seed to populate my database I hit the following error: ** Invoke db:seed (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:seed rake aborted! uninitialized constant
2010 Apr 20
1
dashboard: rake install fails (Solaris10)
Hi all, I am trying to install dashboard 1.0.0rc1. Independantly if have manually installed authlogic - gem or not it is throwing the following trace. The problem is the same when I am resetting (rake db:reset) or dropping the database. any ideas? best regards Lutz bash-3.00# rake install (in /opt/puppet-dashboard) dashboard_development already exists can''t activate authlogic (=
2011 Jan 19
6
rake aborted! can't convert Hash into String
Hello, I encouter a problem when i try to do "rake db:migrate": rake aborted! can''t convert Hash into String Here is the trace result: ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! can''t convert Hash into String /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1408:in
2008 Mar 17
3
Don't know how to build task 'migrate'
Hi, I have a rather simple problem. Just installed Rails on OS X Leopard and the database connection to MySQL doesn''t work from Rails. I''m following Apples Expenses example (http://developer.apple.com/tools/rubyonrails.html). I''ve created the app with the command rails expenses -d mysql I can connect to the database with a GUI tool, but Rails can''t
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
Hi all... Please help me solve the issue. While trying to create a connection with MS SQL database in RubyOnRails, I''m getting a ‘Deprecated ..’ error. (I referenced a doc posted in net for the same.) System details: OS: Windows Xp Ruby version: 1.8.6 Rails: 2.1.2 Gems: 1.3.1 RadRails: 0.7.2
2010 Jul 16
1
Rails 3 bug: undefined method `<=>' for class `ActiveSupport::Multibyte::Chars'
I''m getting the following bug when I try to run rake db:migrate in Rails 3 beta 4: $ rake db:migrate --trace (in C:/Users/Adam/Documents/Aptana Workspace/QuestionBank) default formats are encoded in ISO-8859-1 ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == CreateUsers: migrating
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ActiveRecord::ConnectionNotEstablished and I don''t know how to solve it the database.yml file is: adapter => mysql host => 127.0.0.1 database => blog username => root password => ***** my
2010 Jun 11
5
Issues creating tables in mysql tests
Hello, I''m a beginner, so any hints are appreciated; I''m still trying to find my way around Rails code. For a bug I''ve found I need to create a table called "values" so I added this: create_table :values do |t| t.integer :value end among the other table creations in activerecord/test/cases/migration_test.rb. Is that ok? But then, when I run the tests
2011 Aug 18
1
Multiple Errors with RRD and Rake
Hello all, I am trying to install the SequreISP application (link below) but I''m facing an error that I cannot resolve and any help is much appreciated. The application I am trying to install is: https://github.com/sequre/sequreisp Here''s some information about my system: OS: Centos 5.4 (Final) uname -a Linux gateway 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All, I have installed the Active Admin successfully, but facing the following error while restarting the server after generating an resource. *rails generate active_admin:resource item* /home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top (required)>'': uninitialized constant Item (NameError) from
2009 Feb 21
4
problem with running rake db:migrate on a Rails app
Hi everybody, I am trying to get the Typo blog engine up and running in development mode but I hit the wall as early as running rake db:migrate: (in /home/tweisser/workspace/typo/typo) rake aborted! no such file to load -- spec/rake/spectask /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31:in `gem_original_require''
2009 Jul 20
9
rake error
When I run rake test:units I get this error: 292 tests, 350 assertions, 2 failures, 13 errors rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/ usr/loc...] This error just showed up yesterday --- I have no idea how I caused it. Here is my gem list in case that helps: actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2)
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
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple things that I have found on google, but yet have i found a solution. If someone could help me and point me in the right direction I would be much appreciated. Thanks. rake aborted! uninitialized constant Mysql::Error ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) **
2008 Dec 03
3
Intermittent Cucumber exception
Hi Anyone recognise this exception, and know what causes it to happen occasionally? Thanks Ashley Scenario: new story appears on feed # features/descriptions/ story_notification.feature:12 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/cucumber/ broadcaster.rb:15:in `write'': Bad file descriptor (Errno::EBADF) from