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

installation instructions improvment #20

Open
Neetuj opened this issue Feb 5, 2015 · 2 comments
Open

installation instructions improvment #20

Neetuj opened this issue Feb 5, 2015 · 2 comments
Assignees

Comments

@Neetuj
Copy link
Member

Neetuj commented Feb 5, 2015

When i installed knife-soflayer i ran into those issues ( so i paln to create a PR for this soon)

  1. The default location in which knife expects to find this file is ~/.chef/knife.rb

  2. and if you run into installation error like these :-
    "Building nokogiri using packaged libraries. checking for gzdopen() in -lz... no zlib is missing; necessary for building libxml2 *** extconf.rb failed ***"

then try :-
sudo apt-get install zlib1g-dev
gem install nokogiri
gem install knife-softlayer

@cphrmky
Copy link
Member

cphrmky commented Feb 5, 2015

I'd love to see a PR with updated documentation.

Your fix though is specific to the platform and version you're working from, and nokogiri causes problems on basically every platform somewhat regularly.

When you put up the PR let's do an alternative recommendation that should fix that problem across most common platforms? Maybe something like this?

export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
gem install knife-softlayer

Thx @Neetuj

@Neetuj
Copy link
Member Author

Neetuj commented Feb 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants