However, I confirmed that all required libraries were installed and verified this by the fact that the gem installs just fine when I do it manually (i.e.I execute the gem install command myself as root from the command line).= 2.8 needed by rubygem-vagrant-1.7.2-7.1.x86_64 Solution 1: do not install rubygem-vagrant-1.7.2-7.1.x86_64 Solution 2: break rubygem-vagrant-1.7.2-7.1.x86_64 by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/c] (c): 1 Resolving dependencies... https://en.opensuse.org/User: Tsu2/In..SUSE_repos Then, Try again. [email protected] ~ First make sure Ruby 2.1 is installed, have you installed the packages I describe in my Wiki? If you wish to try to continue to install using the open SUSE repos, you may need to submit a bug. (Name Error) uninitialized constant Gem:: Remote Fetcher:: Open SSL as root from the command line the gem installs just fine. Does the Puppet agent get executed with some different environment variables that could be causing this error?===== EDIT ===== Here's some additional information about the environment: #output from `grep libssl /proc//maps` b70e0000-b7131000 r-xp 00000000 393357 /lib/i386-linux-gnu/1.0.0 b7131000-b7133000 r--p 00050000 393357 /lib/i386-linux-gnu/1.0.0 b7133000-b7137000 rw-p 00052000 393357 /lib/i386-linux-gnu/1.0.0 # ruby -v ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] # gem env Ruby Gems Environment: - RUBYGEMS VERSION: 1.8.15 - RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] - INSTALLATION DIRECTORY: /var/lib/gems/1.8 - RUBY EXECUTABLE: /usr/bin/ruby1.8 - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /var/lib/gems/1.8 - /root/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources =# aptitude search ~i | grep ssl i A libssl-dev - SSL development libraries, header files an i A libssl-doc - SSL development documentation documentatio i libssl1.0.0 - SSL shared libraries i A openssl - Secure Socket Layer (SSL) binary and relat # aptitude show libssl1.0.0 Package: libssl1.0.0 State: installed Automatically installed: no Multi-Arch: same Version: 1.0.1-4ubuntu5.9 Priority: required Section: libs Maintainer: Ubuntu Developers @Zoredache - I agree, the Open SSL error looks suspect.If you already installed Nginx before, using the operating system's package manager, then we recommend that you uninstall that in order to avoid possible confusion caused by having multiple parallel Nginx installations.
For any machine on which the chef-client is installed, there are two instances of Ruby.We need to make sure the database is created properly, but only if it doesn't exist.Using the mysql Ruby Gem, we can do this elegantly in Ruby, and show off a cool feature of Chef's.One of the 9 Things to Like About Chef is that "it uses Ruby as the configuration language." We talk about that in that blog post, and we mention it on the wiki, but at the time we didn't have many examples.This post is the first in a series about cool things that Chef can do with its Ruby DSL.