Skip to content
mparker17 edited this page Oct 11, 2012 · 5 revisions

Gems fail to install

  • Symptom: You try to cd into the directory, and you get something like ERROR: Gem bundler is not installed, run gem install bundler first.. For example:

      $ cd ariadne 
      Using /home/mparker17/.rvm/gems/ruby-1.9.3-p194 with gemset ariadne
      Installing Bundler via Rubygems...
      ERROR:  Loading command: install (LoadError)
          cannot load such file -- zlib
      ERROR:  While executing gem ... (NameError)
          uninitialized constant Gem::Commands::InstallCommand
      Installing bundled gems via Bundler...
      ERROR: Gem bundler is not installed, run `gem install bundler` first.
      Activating rubygems-bundler...
      ERROR:  While executing gem ... (RuntimeError)
          Unknown command regenerate_binstubs
    
  • Resolution: Remove and re-install Ruby:

      $ rvm remove 1.9.3
      $ cd ..
      $ cd ariadne
    
Clone this wiki locally