Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't know how to build task 'attach:install:migrations' #3

Open
Manask322 opened this issue Jan 10, 2019 · 6 comments
Open

Don't know how to build task 'attach:install:migrations' #3

Manask322 opened this issue Jan 10, 2019 · 6 comments

Comments

@Manask322
Copy link

rake attach:install:migrations

gives the following error

rake aborted! Don't know how to build task 'attach:install:migrations' (see --tasks) /home/manas/.rvm/gems/ruby-2.3.2/gems/rake-12.3.0/exe/rake:27:in /home/manas/.rvm/gems/ruby-2.3.2/bin/ruby_executable_hooks:24:in /home/manas/.rvm/gems/ruby-2.3.2/bin/ruby_executable_hooks:24:in

(See full trace by running task with --trace)

Please help me out with this

@AlextheYounga
Copy link

I am having the same problem as above. Would like to see if there's a way around this.

@DannyBen
Copy link
Contributor

DannyBen commented Feb 3, 2019

I can also confirm, the rake tasks are not available after adding the gem and bundle install-ing.

@ghost
Copy link

ghost commented Mar 15, 2019

same

@renejesusgv
Copy link

Bug found in 1.0.1 onwards.

@iamprajyot
Copy link

Facing the same issue

@ganchdev
Copy link

I was able to copy all attach migrations successfully.
bundle exec rake -T shows the task:
rake attach:install:migrations # Copy migrations from attach to application

So I just did bundle exec rake attach:install:migrations and it

Copied migration 20200410123829_create_attachment_tables.attach.rb from attach
Copied migration 20200410123830_add_custom_data_to_attachments.attach.rb from attach
Copied migration 20200410123831_add_index_to_attachment_binaries.attach.rb from attach

Are you still having issues with the current version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants