librarian-chef | Librarian-Chef - A Bundler for your Chef Cookbooks
kandi X-RAY | librarian-chef Summary
kandi X-RAY | librarian-chef Summary
Librarian-Chef
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- The environment for the environment
librarian-chef Key Features
librarian-chef Examples and Code Snippets
Community Discussions
Trending Discussions on librarian-chef
QUESTION
I install Ruby On Rails on Ubuntu 18.04 using RVM. ruby -v : 2.4.0 rails -v : 5.1.3
I try to run "bundle install" command, I getting below error. please provide me best solution for this.
Could not verify the SSL certificate for https://rails-assets.org/. There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see 'bit.ly/ruby-ssl'. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Gemfile
...ANSWER
Answered 2018-Aug-03 at 11:29Today I had the same problem with one of our apps. We were using rails-assets-tether
gem from https://rails-assets.org. We notice that the same gem is available in the main repository (https://rubygems.org). The solution was to remove source
block from the Gemfile
.
I think that if you need those gems, then you have to wait for the certificate to be renewed (by website owners) or find an alternative source of those gems.
Update:
You can replace https://rails-assets.org with http://insecure.rails-assets.org. Please remember to switch back to https endpoint after this issue has been fixed
QUESTION
We are trying to use Librarian Chef with a local corporate chef server. This Chef Server Requires Authentication and is running version 12. When attempting to use Librarian Chef with this Server, It appears that it will not authenticate. I get a response with the html content of the login page. I was hoping to find a way to get this to work.
I have used berks (using berks install --path /some/path) in the past to manage a cookbook packages but it appears the newer versions do not support creating a global dependency management and only work on individual cookbook dependencies.
**** Note the librarian and librarian-chef repos appear to be abandonded https://github.com/applicationsonline/librarian-chef https://github.com/applicationsonline/librarian These should be avoided.
After some more research it appears the command for berks gives me the same effect as the command noted above in the newer versions
berks vendor ./some/path
...ANSWER
Answered 2017-Dec-27 at 22:02Librarian has been abandoned for many years. It is not recommended in any way. Use Berkshelf or Policyfiles if you want a supported UX, or maybe Batali if you want something off the beaten path (just don't expect to get much help if you go that route). Berks works fine for global dependency management, in fact that's the cornerstone of the environment cookbook pattern.
QUESTION
I have been having a lot of troubles with Vagrant 2.0.1 on Windows 10 with Hyper V.
When I do vagrant up I receive an ipv6 address. Which chef can't access and fails to provision the virtual:
...ANSWER
Answered 2017-Nov-23 at 12:37I found a way around it by using internet connection sharing between my wifi and the virtual hyper v network. But currently, there is a bug in windows build 1607 where internet connection sharing needs to be restarted after every reboot.
A large thread here on the MS forums: https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/ics-internet-connection-sharing-dosent-work-in/a203c90f-1214-4e5e-ae90-9832ae5ceb55
QUESTION
I try to run following command:
vagrant plugin install vagrant-librarian-chef
ANSWER
Answered 2017-Mar-06 at 10:06As far as I can read there, you are using ruby 1.9.1
and the error message is that you need at least ruby 2.0
for that plugin.
Try updating ruby
to a newer version. Also try using a tool like rbenv
to manage multiple ruby versions, in case you need ruby 1.9.1
for future projects.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install librarian-chef
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page