Giter Club home page Giter Club logo

Comments (6)

p0deje avatar p0deje commented on June 17, 2024

What Linux distro is that?

from rules_ruby.

alexeagle avatar alexeagle commented on June 17, 2024

Ubuntu 20.04.6 LTS

uname -a
Linux system76-pc 5.18.10-76051810-generic #202207071639~1659403207~20.04~cb5f582~dev-Ubuntu SMP PREEMPT_DY x86_64 x86_64 x86_64 GNU/Linux

from rules_ruby.

p0deje avatar p0deje commented on June 17, 2024

I tried installing using bare Ubuntu 20.04 Docker image and it worked fine:

$ docker run --platform=linux/amd64 -v $(pwd):/rules_ruby -ti ubuntu:20.04 bash
$ uname -a
Linux 6d3c0a69477d 6.4.16-linuxkit #1 SMP PREEMPT Wed Oct 25 16:32:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

# Bazelisk
$ apt-get update -y && apt-get install -y wget && wget https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64 -O /usr/local/bin/bazel && chmod +x /usr/local/bin/bazel

# Ruby deps
$ apt-get install -y build-essential libz-dev libyaml-dev perl

$ cd /rules_ruby/examples/gem
$ echo "3.0.6" > .ruby-version
$ RUBY_RULES_DEBUG=1 bazel build ...
...
INFO: Build completed successfully, 31 total actions

Shall I use some other Docker image to try and reproduce?

from rules_ruby.

alexeagle avatar alexeagle commented on June 17, 2024

I imagine you'd want an image that already has ruby installed on the system.

from rules_ruby.

p0deje avatar p0deje commented on June 17, 2024

I've installed Ruby 2.7 using apt-get and still could get the toolchain to install w/o problems. How did you install your Ruby?

from rules_ruby.

alexeagle avatar alexeagle commented on June 17, 2024

I have no idea, maybe with the system or from some transitive effect of apt-get install - lots of tooling wants a ruby interpreter.

If we can't reproduce then let's wait to see if users report it?

from rules_ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.