Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"can't find gem terraform_landscape" #133

Open
WurmD opened this issue Sep 18, 2023 · 1 comment
Open

"can't find gem terraform_landscape" #133

WurmD opened this issue Sep 18, 2023 · 1 comment

Comments

@WurmD
Copy link

WurmD commented Sep 18, 2023

$ terraform -version
Terraform v1.5.7
on linux_amd64
+ provider registry.terraform.io/newrelic/newrelic v3.27.1

$ ruby --version
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]

$ terraform plan -lock=false | landscape
Traceback (most recent call last):
        2: from /usr/local/bin/landscape:23:in `<main>'
        1: from /usr/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
/usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem terraform_landscape (>= 0.a) with executable landscape (Gem::GemNotFoundException)

Note:

$ sudo gem install terraform_landscape
...

$ terraform plan -lock=false | landscape
-bash: /usr/local/bin/landscape: Permission denied

so I did

$ sudo chmod 755 /usr/local/bin/landscape*
@Danielkozicki24
Copy link

Ok

This was referenced Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants
@WurmD @Danielkozicki24 and others