I'm sourroundings adult a formula new Rails 4.1 app. Everything goes
uniformly until we run my initial bank db:migrate command. Nothing
happens. we ran snippet - it doesn't feeling like it's guess my migrations
though it doesn't blunder out. bank db:migrate --trace** Invoke db:migrate
(first_time)** Invoke sourroundings (first_time)** Execute environment**
Invoke db:load_config (first_time)** Execute db:load_config** Execute
db:migrate** Invoke db:_dump (first_time)** Execute db:_dump** Invoke
db:schema:dump (first_time)** Invoke environment** Invoke db:load_config**
Execute db:schema:dumpIf we run bank db:migrate:status - it shows all of
my migrations indeterminate ( simple things like User list and such - zero
fancy, some are automobile generated by Comfortable Mexican Sofa gem and
some are my possess extracted from Rails 4 app) So we know bank can see
my migrations. Status Migration ID Migration
Name-------------------------------------------------- down
20120117051823 Create sessions list down 20120117051824 Create users
down 20120117051910 Create categories down 20120117051947 Create
statuses down 20120117052044 Create settings down 20120117052336
Create roles down 20120117053039 Create emails down
20120117053111 Create urls down 20120117053152 Create cinema down
20120117053441 Create addresses down 20120117053516 Create phones
down 20120117053716 Create annals down 20120117053849 Create
announcements down 20120117054118 Create contacts down
20120117060145 Users have and go to many roles down 20121018184843
Create translations down 20140407233039 Create cmsI can run bank
db:create & bank db:drop but issue. - confirms that we have repremand
opening rights to a POstgreSQL server.I'm controlling PostgreSQL 9.3.4 64
bit as my dev server. we also attempted SQLite to no service - same
emanate (it creates development.sqlite and test.sqlite only glorious
though doesn't stock them). we distant things like opening rights,
writable files / directories, etc. we even attempted sourroundings adult
a new PostgreSQL server - same issue. Also my aged rails 3 & raisl 4 apps
joining to a same server run only fine. we attempted sourroundings adult
an app controlling RailsComposer, pondering that it's my template - though
we ran into a same issue.According to some stack-overflow answers - some
people had that emanate with Devise and cancan - though we don't use
digest - we use Authlogic as my auth entication system, with pundit as my
authorizationI'm during my wits finish - been perplexing to figure this
out for a past 4 hours. UPDATEOK my formula works if we run it on a
Windows 7-64bit with Ruby 1.9.3 - controlling both opposing POstgreSQL and
opposing SQLite DBs. Still doesn't work on my dev box controlling Debian 7
64bit with Ruby 2.1.1 or flush 2.0.0 ( i'm controlling rbenv) UPDATE 2
bank db:schema:load - works on a Windows and my Debian machine. Only a
db:migrae doesn't wish to do anything. GRRRR
No comments:
Post a Comment