Problem/Motivation

The live Tugboat preview fails to build because Commerce Product requires the bcmath PHP extension. This is not enabled by default and we get

Problem 1
    - drupal/commerce 2.x-dev is an alias of drupal/commerce dev-2.x and thus requires it to be installed too.
    - drupal/commerce[dev-2.x, 2.25.0] require ext-bcmath * -> it is missing from your system. Install or enable PHP's bcmath extension.
    - Root composer.json requires drupal/commerce ^2.25 -> satisfiable by drupal/commerce[2.25.0, 2.x-dev (alias of dev-2.x)].

See this tugboat log for full details.

Issue fork scheduler-3225635

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

The Tugboat preview now builds sucessfully. The log has

Libraries have been installed in:
   /usr/src/php/ext/bcmath/modules

Then below that it has

warning: bcmath (bcmath) is already loaded!

Maybe we only need the install, not the enable.

  • jonathan1055 committed dee7cbb on 2.x
    Issue #3225635 by jonathan1055: Install bcmath in tugboat config
    
jonathan1055’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.