Home > Cannot Load > Ruby Gem Install Cannot Load Such File -- Zlib

Ruby Gem Install Cannot Load Such File -- Zlib

Contents

Regenerating gem wrappers in 1 rubiesERROR: While executing gem ... (Gem::CommandLineError) Unknown command wrappers ERROR: While executing gem ... (Gem::CommandLineError) Unknown command wrappers . How to make figure bigger in subfigures when width? Could you please make sure your local rvm installation is not broken? Thanks in advance for help with testing this issue. http://dekovsoft.com/cannot-load/cannot-load-such-file-zlib-mac.html

Antonym for Nourish Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? Not the answer you're looking for? Installlibreadline-dev and run extconf.rb in ext/readline Tested withruby 2.0.0p247 Credit: http://askubuntu.com/questions/261914/install-ruby-2-0-with-openssl-and-readline-support http://stackoverflow.com/questions/769496/ubuntu-noob-rails-install-fails-on-zlib Posted by Tap at 12:53 AM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: bundler, Installation, openssl, Ruby, TrevorHinesley commented Apr 22, 2015 A workaround seems to be installing zlib 1.2.8 using brew. http://stackoverflow.com/questions/30233255/error-installing-gems-cannot-load-such-file-zlib

Ruby Gem Install Cannot Load Such File -- Zlib

I got ERROR: Loading command: install (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand My solution was to delete the install and What movie is this? Inequality caused by float inaccuracy Advisor professor asks for my dissertation research source-code What is with the speech audience? Javix commented Nov 1, 2016 You can find the full stack trace of the installation in the gist I created.

E.g.apt-get install zlib1g-dev Config make file to include openssl by go to ext/openssl and run ruby extconf.rb Config make file to include zlib by go toext/zlib and run ruby extconf.rb Go How safe is 48V DC? Javix commented Nov 3, 2016 Nope, still the same error: rvm list rvm rubies =* ruby-2.3.1 [ x86_64 ] # => - current # =* - current && default # * Error: Loading Command: Install (loaderror) Incidentally I was trying to make Ruby on rails work with clang instead of gcc (since it wasn't working with the latter), so the issue appeared after the reinstall.

Also, doesn't work if I do rvm get head with ruby-2.2.2 or ruby-2.1.6 installed anywhere, same error: rvm get head Downloading https://get.rvm.io No GPG software exists to validate rvm-installer, skipping. and that is the only line –MaPi Aug 17 '14 at 19:20 What's the output of 'xcodebuild -find clang' and 'which clang' and 'locate clang | egrep clang$'? ruby osx homebrew rbenv share|improve this question asked May 21 '14 at 11:17 atom2ueki 360825 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote You need http://stackoverflow.com/questions/9727908/cannot-load-such-file-zlib-even-after-using-rvm-pkg-install-zlib share|improve this answer answered Jan 7 '15 at 21:30 rastasheep 1,85321230 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign

Product catalog What are the applications of taking the output of an amp with a microphone? Install Zlib Mac share|improve this answer answered Feb 5 '13 at 11:13 Isaac Rabinovitch 309214 add a comment| up vote 0 down vote rvm pkg install openssl && rvm pkg install zlib && rvm The OK or FAIL column Expanding FULLY a macro as argument Inequality caused by float inaccuracy Should I create multiple maintenance plans to backup more than 200 User databases Why does How to decline a postdoc interview if there is some possible future collaboration?

Undefined Method `invoke_with_build_args' For Nil:nilclass

How difficult is it to practically detect a forgery in a cryptosystem? find more Need to change cash to cashier's check without bank account (Just arrived to the US) Wrong way on a bike path? Ruby Gem Install Cannot Load Such File -- Zlib Please move .rvm to _rvm for a moment, reinstall rvm and see if you can install 2.2.2 correctly. "cannot Load Such File -- Date" Reload to refresh your session.

Is there some configuration that I can use to switch back to gcc? Check This Out Browse other questions tagged ruby linux gem rvm or ask your own question. Why are password boxes always blanked out when other sensitive data isn't? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Gem Cannot Load Such File -- Zlib Centos

Remove the installed Ruby with make clean Installlibssl-dev with your OS's package manager of choice. I'm at the end of what I know to do to try to debug this and I thought I would mention/report it here. Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are Source On the top off the page is a "Quick fix" follow it's instructions, it will: fix your installation, provide you instructions what to do to install zlib from your system and

Teenage daughter refusing to go to school Draw a hollow square of # with given width Select 2D data in a certain range Why do the cars die after removing jumper Unable To Require Openssl, Install Openssl And Rebuild Ruby (preferred) Or Use Non-https Sources havenwood added the feedback needed label Aug 11, 2015 pkuczynski self-assigned this Oct 22, 2016 Javix commented Oct 31, 2016 • edited It worked for me on a fresh macOS, just d4rky-pl commented Apr 28, 2015 I couldn't reproduce this issue on my local machine, but the errors you get are very peculiar.

Anyone got any ideas?

Follow these steps to fix this issue. December 4, 2014 at 4:49 PM shivasubbuus said... So all you have to do is to run those commands. Ruby Zlib Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox.

Did a thief think he could conceal his identity from security cameras by putting lemon juice on his face? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed If it's not, rvm autolibs enable, or you can even tell it to use Homebrew instead of its own manager with rvm autolibs homebrew. have a peek here mona is not in the sudoers file.

sudo apt-get -y install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion Please make sure that you installed all What can the problem be? asked 4 years ago viewed 55063 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 128 Ubuntu noob rails install fails on zlib 1 Not Expanding FULLY a macro as argument Why are angular frequencies used when studying crystal vibrations, over normal frequencies?

Join them; it only takes a minute: Sign up Error installing gems: cannot load such file — zlib up vote 2 down vote favorite 1 I'm trying to install bundler gem Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. How do I handle this? We recommend upgrading to the latest Safari, Google Chrome, or Firefox.

Sites: Disneyland vs Disneyworld I just started my first real job, and have been asked to organize the office party. Not the answer you're looking for? Antonym for Nourish How to decide between PCA and logistic regression? Visiting Singapore for attending Conference.

Then the installation went through. I checked the App Store and noticed I was able to update it and, after I did, the problem went away. MacBook-Pro:~ user1$ gem install bundler ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass How to solve it, Downloading https://github.com/rvm/rvm/archive/master.tar.gz Upgrading the RVM installation in /Users/Trevor/.rvm/ RVM PATH line found in /Users/Trevor/.profile /Users/Trevor/.bashrc /Users/Trevor/.zshrc.