Greeting I’m passing my app to a production environment. All run okey
but when I try to create my start up migration this error appears:
rake aborted!
uninitialized constant ActiveRecord
And nothing happends. Anyone knows how to solve it?
Greeting I’m passing my app to a production environment. All run okey
but when I try to create my start up migration this error appears:
rake aborted!
uninitialized constant ActiveRecord
And nothing happends. Anyone knows how to solve it?
rake db:migrate RAILS_ENV=production ?? just guessing fast.
Juan pablo Gómez wrote:
Greeting I’m passing my app to a production environment. All run okey
but when I try to create my start up migration this error appears:rake aborted!
uninitialized constant ActiveRecordAnd nothing happends. Anyone knows how to solve it?
MMMmm, nothing change the problem persists
I advice you to install SVN and Capistrano, because Capistrano will be
helpful and enjoyable to do migration in your production server. I never
have problem in migration using capistrano. You do nothing, if you run
migration in your production server for your
/home/username/app/project_name.
I got Error!!!
rake aborted!
undefined method `last’ for {}:Hash
(^_^)
~~~~~**~~~~~
Reinhart Ariando
YM : Booking2Heaven
WEB : http://teapoci.blogspot.com
Is that you complete migration ?
Juan pablo Gómez wrote:
Thank you, I will request capistrano to my hosting provider.
Adittional information about my migration
#File 001_start_up.rb
class StartUp < ActiveRecord::Migrationend
Anyone knows whats going on?
Thank you, I will request capistrano to my hosting provider.
Adittional information about my migration
#File 001_start_up.rb
class StartUp < ActiveRecord::Migration
end
Anyone knows whats going on?
I’ve solved the problem.
In /lib/tasks directory I had aditionals rakes, and in these rake I
include the sentence
require ‘active_record’
Juan, how did you install Rails?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs