HEX
Server: LiteSpeed
System: Linux server53.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User: nahevttf (6494)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //opt/alt/ruby32/share/gems/gems/bundler-2.4.19/lib/bundler/templates/newgem/circleci/config.yml.tt
version: 2.1
jobs:
  build:
    docker:
      - image: ruby:<%= RUBY_VERSION %>
<%- if config[:ext] == 'rust' -%>
    environment:
      RB_SYS_FORCE_INSTALL_RUST_TOOLCHAIN: 'true'
<%- end -%>
    steps:
      - checkout
<%- if config[:ext] == 'rust' -%>
      - run:
          name: Install Rust/Cargo dependencies
          command: apt-get update && apt-get install -y clang
      - run:
          name: Install a RubyGems version that can compile rust extensions
          command: gem update --system '<%= ::Gem.rubygems_version %>'
<%- end -%>
      - run:
          name: Run the default task
          command: |
            gem install bundler -v <%= Bundler::VERSION %>
            bundle install
            bundle exec rake