The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to install hombrew on a bitbucket pipeline?

walter_vargas_pena
Contributor
September 14, 2017

When attempting to install hombrew i get the following error:

```

+ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
bash: /usr/bin/ruby: No such file or directory

```

 

Does anyone know a way around this?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 15, 2017

Which docker image are you using in your Pipeline? You may be able to find one that already  has Homebrew installed.

walter_vargas_pena
Contributor
September 16, 2017

im not using docker, Im using a ruby environment and its failing when i attempt to install homebrew 

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 16, 2017

Pipelines uses Docker for the environment.

walter_vargas_pena
Contributor
September 16, 2017

Pipelines support docker but in this situation im just running a standard ruby env 

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 16, 2017

I think you misunderstood me: Pipelines doesn't just support Docker, Pipelines is Docker. The Ruby environment you're running is a Docker container, as defined in the first line of bitbucket-pipelines.yml.

You may be able to specify an environment that already has homebrew installed, or you can build your own image if you'd prefer.

walter_vargas_pena
Contributor
September 16, 2017

ah thank you for the explanation. Things are clearer now

TAGS
AUG Leaders

Atlassian Community Events