Re: Problem with Rake while migrating
On Wed, May 28, 2008 at 1:44 AM, crisb <[EMAIL PROTECTED]> wrote: > rake aborted! > uninitialized constant PROJ Try searching your code for the phrase PROJ. My guess is that something in environment.rb or one of your initializers is referencing it, but it's not defined anywhere. Adam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Problem with Rake while migrating
I'm encountering a similar issue. And I haven't ben able to find much by way of documentation... it certainly seems like a Heroku thing. I've never had much trouble with migrations before. On May 28, 1:44 am, crisb <[EMAIL PROTECTED]> wrote: > hi there > > i just tried to migrate my database and got the error: > - > rake aborted! > uninitialized constant PROJ > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2237:in > `const_missing' > /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:9 > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rdoctask.rb:80:in > `initialize' > /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:8:in `new' > /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:8 > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1737:in > `in_namespace' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:821:in `namespace' > /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:5 > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9:in `load' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9 > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9:in `each' > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9 > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > /mnt/home/userapps/17426/Rakefile:10 > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `load' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in > `raw_load_rakefile' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1897:in > `load_rakefile' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1896:in > `load_rakefile' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1880:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 > /usr/bin/rake:19:in `load' > /usr/bin/rake:19 > - > > here is the migration. pretty simple. > > - > class AddSlidenum < ActiveRecord::Migration > def self.up > add_column :remotes, :slidenum, :string > end > def self.down > remove_column :remotes, :slidenum > end > end > - > > i cannot find a mistake in it. > is this a problem with heroku? > > cheers, > chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Problem with Rake while migrating
hi there i just tried to migrate my database and got the error: - rake aborted! uninitialized constant PROJ /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2237:in `const_missing' /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:9 /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rdoctask.rb:80:in `initialize' /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:8:in `new' /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:8 /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1737:in `in_namespace' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:821:in `namespace' /mnt/home/userapps/17426/vendor/gems/rtex/tasks/doc.rake:5 /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9:in `load' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9 /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9:in `each' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:9 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /mnt/home/userapps/17426/Rakefile:10 /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `load' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `raw_load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1897:in `load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1896:in `load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1880:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19 - here is the migration. pretty simple. - class AddSlidenum < ActiveRecord::Migration def self.up add_column :remotes, :slidenum, :string end def self.down remove_column :remotes, :slidenum end end - i cannot find a mistake in it. is this a problem with heroku? cheers, chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---