Permalink
Browse files

Silence 'Copying migration' output

  • Loading branch information...
radar committed Nov 16, 2011
1 parent a9c3bcc commit ca4db301e773da4ebc9d2a13e24c5d0e86dd0108
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/generators/spree/install/install_generator.rb
@@ -95,7 +95,10 @@ def include_seed_data
end
def install_migrations
silence_warnings { run 'bundle exec rake railties:install:migrations' }
puts "Copying migrations..."
silence_stream(STDOUT) do
silence_warnings { run 'bundle exec rake railties:install:migrations' }
end
end
def run_migrations

4 comments on commit ca4db30

@LBRapid

This comment has been minimized.

Show comment
Hide comment
@LBRapid

LBRapid Nov 18, 2011

Member

Not exactly sure why this is happening yet, but this hangs at Copying Migrations for me when running it without --auto-accept. This is after generating a new rails app, adding spree as a gem, and running rails g spree:install. Any idea what might be the culprit here?

Member

LBRapid replied Nov 18, 2011

Not exactly sure why this is happening yet, but this hangs at Copying Migrations for me when running it without --auto-accept. This is after generating a new rails app, adding spree as a gem, and running rails g spree:install. Any idea what might be the culprit here?

@radar

This comment has been minimized.

Show comment
Hide comment
@radar

radar Nov 18, 2011

Member

What happens if you run bundle exe rake railties:install:migrations by itself?

Member

radar replied Nov 18, 2011

What happens if you run bundle exe rake railties:install:migrations by itself?

@LBRapid

This comment has been minimized.

Show comment
Hide comment
@LBRapid

LBRapid Nov 18, 2011

Member

It runs, but outputs 'Migration with the same name already exists.' for every migration.

Member

LBRapid replied Nov 18, 2011

It runs, but outputs 'Migration with the same name already exists.' for every migration.

@radar

This comment has been minimized.

Show comment
Hide comment
@radar

radar Nov 18, 2011

Member

Ok, so no hanging. I don't know what's going on.

Member

radar replied Nov 18, 2011

Ok, so no hanging. I don't know what's going on.

Please sign in to comment.