Problem with Rake while migrating

2008-05-28 Thread crisb

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
-~--~~~~--~~--~--~---



Re: internal server error

2008-05-20 Thread crisb

i am experiencing 500 Server Errors when trying to upload a new
file.
app is named assignment.
--~--~-~--~~~---~--~~
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: Migrations don't work after updating the app via git

2008-05-17 Thread crisb

exactly.
but i found the reason for it.

i was doing something like this:
Slide.create :text = Text, :moderator_note = Text, :order = 1
in the migration file, because i wanted to put some data into the DB.
this worked locally but not online. after i deleted this the migration
worked fine.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Migrations don't work after updating the app via git

2008-05-16 Thread crisb

hi there,

i have a problem with migrating a database.
here is what i did:
- i created an app in heroku
- i exported it and edited it locally. everything worked fine
- later i pushed the app up to heroku with git
- when i now try to migrate my db nothing happens. there isn't even a
error. the migration results are empty.

does someone know why this happened?

regards,
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
-~--~~~~--~~--~--~---



Re: Internal server error on 2 apps

2008-05-06 Thread crisb

me too.
strange thing is that one of my friends is editing the same app while
i am getting internal server error.

On May 6, 3:17 pm, elk_ [EMAIL PROTECTED] wrote:
 Internal server error when trying to view them, editing and
 everything else goes ok. Anyone else?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---