Recent activity
Subscribe to this feed
Aaron Bocanegra replied on October 05, 2009 11:02 to the question "My install is aborting with 4 more pending migrations. How do I proceed?" in Calagator:
Aaron Bocanegra replied on September 30, 2009 10:42 to the question "My install is aborting with 4 more pending migrations. How do I proceed?" in Calagator:
Sorry, another issue. I know it isn't typically this hard, but nothing seems to be working for me.
Here is the request I got from Hostmonster, setting it up through them has required different techniques. I used the tutorial on the site they gave me: http://helpdesk.hostmonster.com/index... to get this far.
The website I am building this for is 510atnight.com
[Tue Sep 29 08:44:52 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Tue Sep 29 08:44:52 2009] [error] [client 66.147.243.115] Premature end of script headers: dispatch.fcgi
Running dispatch.fcgi manually, I get:
-bash: ./dispatch.fcgi: /usr/bin/ruby1.8: bad interpreter: No such file or directory
After correcting the #! line to:
#!/ramdisk/bin/ruby
I get different results through the web server and from the command line. From the command line, I get an error about lib/database_yml_reader not being found. From the web server, I see complaints about not being able to find the hpricot gem.
Please verify that your gem path is correct in your config/environment.rb file, and then ensure that the path and/or search path to database_yml_reader is correct.
I have rebuilt it several times, and it is fine when i rebuild and rake solr:start
I cannot find anything that needs to change in the config/environment.rb file and the database_yml_reader does not exist.
Aaron Bocanegra replied on September 28, 2009 09:06 to the question "My install is aborting with 4 more pending migrations. How do I proceed?" in Calagator:
Aaron Bocanegra replied to "My install is aborting with 4 more pending migrations. How do I proceed?", but it was removed. see the change log
Aaron Bocanegra replied on September 27, 2009 21:38 to the question "My install is aborting with 4 more pending migrations. How do I proceed?" in Calagator:
Aaron Bocanegra replied on September 26, 2009 10:37 to the question "My install is aborting with 4 more pending migrations. How do I proceed?" in Calagator:
Thanks for your response, i really appreciate.
I am running the recent git.
I am running REE on the Ubuntu and ruby 1.8.6 on the linux x64 hostmonster server.
I tried deleting development.sqlite3 and i got to the same problem
here is the trace result:
fivonez1@510atnight.com [~/etc/rails_apps/calagator]# rake db:migrate --trace
(in /home2/fivonez1/etc/rails_apps/calagator)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== CreateVersionedEvents: migrating ==========================================
rake aborted!
An error has occurred, this and all later migrations canceled:
undefined method `create_versioned_table' for #<class:0x7fcea4c7cf70>
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/base.rb:1959:in `method_missing_without_paginate'
/home2/fivonez1/ruby/gems/gems/mislav-will_paginate-2.3.11/lib/will_paginate/finder.rb:168:in `method_missing'
./db/migrate//20081011181519_create_versioned_events.rb:3:in `up_without_benchmarks'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:282:in `send'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:282:in `migrate'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:282:in `migrate'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:365:in `__send__'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:365:in `migrate'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:486:in `migrate'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:560:in `call'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:560:in `ddl_transaction'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/transactions.rb:182:in `transaction'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:560:in `ddl_transaction'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:485:in `migrate'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:472:in `each'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:472:in `migrate'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:400:in `up'
/home2/fivonez1/ruby/gems/gems/activerecord-2.3.4/lib/active_record/migration.rb:383:in `migrate'
/home2/fivonez1/ruby/gems/gems/rails-2.3.4/lib/tasks/databases.rake:116
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home2/fivonez1/ruby/gems/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
BTW, i was raised in Portland, and wanted to say this is a great project, its good to see work coming out of Portland.</class:0x7fcea4c7cf70>
Aaron Bocanegra asked a question in Calagator on September 26, 2009 07:59:
My install is aborting with 4 more pending migrations. How do I proceed?I have ran into the a problem migrating Calagator. In fact, I am trying on an Ubuntu server and a x64 Linux Server (hostmonster). I get to the same point on both, and rake aborts.
the error:
fivonez1@510atnight.com [~/etc/rails_apps/calagator]# rake db:migrate db:test:prepare
(in /home2/fivonez1/etc/rails_apps/calagator)
== CreateVersionedEvents: migrating ==========================================
rake aborted!
An error has occurred, this and all later migrations canceled:
undefined method `create_versioned_table' for #<class:0x7f27889766f0>
I am new to RoR, but I have been playing intense catchup over the last few days, and got ruby installed and running and all the gems needed installed. I have looked at the file: 20081011181519_create_versioned_events.rb, honestly though I do not know what I am looking at. I am unsure what the purpose of this call is, the only methods I have found is:
* create_table
* change_table
* drop_table
* add_column
* change_column
* rename_column
* remove_column
* add_index
* remove_index
what is the method " Event.create_versioned_table do |t|" do?
How do i proceed, it says i have for pending migrations.</class:0x7f27889766f0>
Loading Profile...
