similar to: Error when running migrations

Displaying 20 results from an estimated 10000 matches similar to: "Error when running migrations"

2008 Mar 28
1
undefined method ''alias_method_chain''
Running Rails 2.0.2, I get this error: ./script/../config/../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb:29: undefined method `alias_method_chain'' for ActionController::UrlRewriter:Class (NoMethodError) from /usr/local/rubygems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from
2008 Oct 14
1
Starting Server gives an error
Hi, I had created a new environment and tried to start the webrick server for that environment but it is giving an error:- E:/demo/vendor/rails/railties/lib/commands/servers/ webrick.rb:11: warning: already initialized constant OPTIONS E:/demo/vendor/rails/activesupport/lib/active_suppo rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2007 Sep 26
0
Rake DB Migration
Hai All, i have installed Ruby and Rails in my localhost, and i have to download Rubricks CMS and installed in my localhost in the installing process i got below Error Please Say how can i rectify this. ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! wrong number of arguments (1 for 0)
2006 Feb 01
2
Uninitialized constant ApplicationController?
Hello list, I''m trying to start my Rails server after doing a long complex switch from Postgres to MySQL, and I''m getting the following error: => Booting WEBrick... /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant ApplicationController (NameError) from
2008 Oct 28
1
Old Rails app: can't find file_column gem?
Hi all I''m trying to get some old Rails app to work. But when trying to start it, I get the following error: josh$ script/server => Booting WEBrick... ./script/../config/../config/environment.rb:5: warning: already initialized constant RAILS_ENV /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- file_column
2008 Jun 04
2
gem_original_require
Hi all, my computer decide to take a dirt nap today so I am trying to relaod rails on another machine and I am getting this error message which I can''t make heads or tails about: no such file to load -- postgres RAILS_ROOT: ./script/../config/.. c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require''
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,
2007 Nov 08
0
error on migration
Hi all, I''m just getting started with rspec. I''m using trunk rspec with edge rails. I get an error on migration though, here it is: rake db:migrate RAILS_ENV="test" --trace (in /home/pat/railsapp) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `failure_message'' for class
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys, I''m having some trouble getting login_engine to work. I''ve followed the steps in the README file to the letter (I think) with the exception of the Mailer stuff and cannot get my application to run. Heres what I have; module ApplicationHelper include login_engine end ##################################### require ''login_engine'' class
2009 Mar 14
5
The 2.3 branch and Rails Edge failing
I found Brandon''s 2.3 branch for Facebooker and thought I''d give that a try to get around the problems I ran into starting script/server with Rails Edge. Unfortunately, no go. The error I get on start up is: > /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/active_support/ > dependencies.rb:440:in `load_missing_constant'': uninitialized > constant
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can''t able to run my existing application. error occurred : run command for server "script/server -e production -p 3001" error: => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3001 config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no specification
2007 Jun 06
1
ActiveLdap: no such file to load -- ldap (MissingSourceFile)
I just installed ActiveLdap, copied the plugin into vendor/plugins and setup a config/ldap.yml file. Starting rails gives me an error that it can not find the ldap source file. (I installed from the gem with its prerequisites log4r, etc.) /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- ldap (MissingSourceFile)
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) **
2010 Nov 29
0
rake aborted! getaddrinfo: Name or service not known
I''m deploying new rails applications. Everything works well except when it comes to the db migration: * executing "cd /var/rails/benefits_test/releases/20101129190121 && /opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production db:util:migrate" servers: ["ps-test-app1"] [ps-test-app1] executing command ** [out :: ps-test-app1] (in
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
Hello, I am trying to use the paperclip plugin in my rails app to upload images for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for project specific purposes. I am referring to the following tutorials for this :- 1. http://railscasts.com/episodes/134-paperclip?view=comments 2. http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html I did a git clone on the
2008 Nov 02
1
ROR Ubuntu 8.10: Action Controller: Exception caught
System: Virtual Box running Ubuntu 8.10 as guest Fellowed ( http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu ) to instal RoR Book: Agile Web Development with Rails: Second Edition Issue: (pleas help) I''m creating a simple hello world application as defined on pages 36-40. Generating controller called ''Say''. How to I fix issue below? it returns this error rather
2007 Dec 21
7
missing sourcefile (no such file to load)-- squlite3 error
hi all, i got a problem of no such file to load -- sqlite3, after installing new rails version yesterday... the uninstallation gone through this way... $ gem uninstall rails successfully uninstalled rails-1.2.3 Remove executables and scrips for ''rails'' in addition to the gem ? [Y/n] - then i gave it ''Y'' *** as like it gone
2009 May 06
0
OCI Library Initialization Error
I am attempting to connect to ORACLE11g however i am getting the following error: "OCI Library Initialization Error" IT always errors on OCIENV.init(). I cant see anything wrong on the ENV configurations. Has anyone had this problem, or any suggestions on where i should look for anwers? I am using the following gems: ruby-oci8 (1.0.4) activerecord-oracle-adapter (1.0.0.9250)
2010 Nov 30
2
db migration fails
I''m deploying new rails applications. Everything works well except when it comes to the db migration: * executing "cd /var/rails/benefits_test/releases/20101129190121 && /opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production db:util:migrate" servers: ["ps-test-app1"] [ps-test-app1] executing command ** [out :: ps-test-app1] (in
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
Hey Guys, In the readme for Backgroundrb it says that windows support has been depcreated for this version, but then it goes on to mention how to use it in Windows. So I''m not sure if it should be running on windows or not, so I''ll ask anyway. Also, I''m new to ruby and I''m also new to server administration, so I apologize if my questions are pretty