Skip to content

Installation failure (missing add_migrations_directory_to_source_root) #4

Open
@kitebuggy

Description

@kitebuggy

The latest version of this gem fails to install when used in combination with current version of BCMS, with the following error:

"Could not find "../bcms_event.seeds.rb" in any of your source paths. Please invoke BcmsEvent::InstallGenerator.source_root(PATH) with the PATH containing your templates. Your current source paths are: ..."

Fix is to add the following line in install_generator.rb, just after the class definition:

add_migrations_directory_to_source_root __ FILE __

(remove the space before and after FILE, so that the two pairs of underscores either side are directly connected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions