problem about rbenv-Collection of common programming errors


  • Gordon Gao
    ruby gem rbenv
    Everything works fine with my installation of ruby 1.9.3.$ rbenv global 1.9.3-p385 $ gem list*** LOCAL GEMS ***bigdecimal (1.1.0) io-console (0.3) json (1.5.4) minitest (2.5.1) rake (0.9.2.2) rdoc (3.9.5) $ gem check $ However after I installed ruby 2.0.0 with rbenv install, some strange error messages showed up in gem check.$ rbenv install 2.0.0-p0 Downloading openssl-1.0.1e.tar.gz… -> https://www.openssl.org/source/openssl-1.0.1e.tar.gz Installing openssl-1.0.1e… Installed openssl-1.0.1

  • Clergyman
    ruby-on-rails rubygems rbenv
    I’m running ruby 2.0.0p247, rails 4.0.1 under rbenv management. When I first tried to start rails console, I had an error that readline is not found. I installed rb-readline gem and added to the gemfile as follows gem ‘rb-readline’, ‘0.4.2’. Adter bundle update the console became able to run. However, when I press upwards arrow to recall previous command, the console crashes with the following error:/home/clergyman/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rb-readline-0.4.2/lib/rbreadl

  • Iwan B.
    ruby ruby-on-rails-3 rbenv
    I’m using:rbenv with ruby versions 1.9.3-p448 and 2.0.0-p247 rails 3.2.13I made some update (rails updated to 3.2.14) and when i started rails server or console i get a brutal segmentation fault:iwan $ rails s /Users/iwan/dev/rails/pivotality_3/vendor/bundle/gems/debugger-1.6.1/lib/ruby_debug.bundle: [BUG] Segmentation fault ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2]– Crash Report log information ——————————————–See Crash Report log file under t

  • Justin Seidl
    ruby jekyll rbenv
    I’ve noticed a couple of posts that are similar to this but don’t understand how to solve the issue.I have rbenv with ruby 1.9.3-p392 installed and get the following error when I run jekyll –server:Configuration from /Users/seiju/Sites/a8os/_config.yml Building site: /Users/seiju/Sites/a8os -> /Users/seiju/Sites/a8os/_site Liquid Exception: undefined method `xmlschema’ for nil:NilClass in sitemap.xml /Users/seiju/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/jekyll-0.12.1/lib/jekyll/fi

  • TheLegend
    ruby vagrant rbenv
    i am attempting an vagrant install and would like to have 1.9.3-p327 as the default ruby version. i am using chef-solo and librarian-chef to manage the vagrant machine. my vagrant file provisioning for chef-solo looks like thisconfig.vm.provision :chef_solo do |chef| chef.cookbooks_path = “cookbooks” chef.add_recipe “apt” chef.add_recipe “build-essential” chef.add_recipe “git” chef.add_recipe “ruby_build” chef.add_recipe “rbenv::system” chef.add_recipe “rbenv::vagrant” chef.add_recipe “sqlite” c

  • rhodesjason
    ruby deployment rvm capistrano rbenv
    I’ve been using Ruby’s Capistrano deployment tool for a few years and never had much problems with it at all. Now, after upgrading Ruby to 2.0, I started getting all kinds of errors making it impossible for me to deploy.I’ve since totally uninstalled RVM and everything but my base OS X Ruby install (1.8.7 I believe) and then re-installed from scratch via rbenv.I’m running Ruby 1.9.3-p0 via rbenv, and have installed Capistrano gem version 2.15.4 — but every time I try to do a dry run deploy cap

  • Chris Travers
    ruby-on-rails ruby gem rbenv pg
    so here is what it looks like when i try to run bundle install: Installing pg (0.14.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension./Users/kory/.rbenv/versions/1.9.3-p194/bin/ruby extconf.rb –with-pg-config=/usr/pgsql-9.1/bin/pg_configUsing config values from /usr/pgsql-9.1/bin/pg_configsh: /usr/pgsql-9.1/bin/pg_config: No such file or directorysh: /usr/pgsql-9.1/bin/pg_config: No such file or directory checking for libpq-fe.h… yes ch

  • ktsujister
    ruby rbenv
    I am on ubuntu 12.04 and using ruby 2.0.0-p195 enabled by rbenv v0.4.0.when I run below,$ruby -rdigest/sha1 -e ‘1’I get this error./home/ktsuji/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require’: /home/ktsuji/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/digest/sha1.so: undefined symbol: rb_Digest_SHA1_Init – /home/ktsuji/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/digest/sha1.so (LoadError) from /home/ktsuji/.rbenv/versions/2.0.0-p1

  • Thomas Berry
    ruby rbenv
    I am trying to install ruby 1.9.3-p429 but I keep getting a compiling error. I’ve sought help from a few people around the shop and no one is able to figure it out. I was able to install ruby 2.0.0 without any errors. The following is the text I have copied from the terminal after entering the command rbenv install ruby-1.9.3-p429Any help would be greatly appreciated.Here is the error msg I am getting in it’s entirety:Installing ruby-1.9.3-p429…BUILD FAILEDInspect or clean up the working tree

  • pabera
    ruby osx rbenv psych
    I tried to get rvm uninstalled in order to use rbenv on my Mac. Everything works fine until ruby comes into play..when usingrbenv install 1.9.3-p194it compiles it correctly, but after that I’d like to install bundler.. this produces the following errorcomputer:~ computer$ gem install bundler /Users/computer/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in `parse’: (<unknown>): mapping values are not allowed in this context at line 1 column 34 (Psych::SyntaxError)from /Users/comput