Skip to content

BrowserCMS modules/core gem won't load correctly via Gemfile :git #416

@peakpg

Description

@peakpg

This fails during loading:

# Gemfile gem "browsercms", :git=>"git://github.com/browsermedia/browsercms.git" 

The failure is because bcms projects are a combination of Rails app and gem. While this works fine, so long as the gem correctly excludes the config/routes and initializers, with a github dependency like above it will fail.

Solution

Rework gems/modules so that they use the vendor/dummy concept that Crafting Rails applications recommends. Use bundler to create the the gem, then generate a BrowserCMS app under the project. This will likely cut down on the error rate associated with testing gems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions