Fresh Installs of RVM and Ruby 2.1.1 – dyld library/pathing error

It looks it’s a temporary bug: https://twitter.com/mpapis/status/447926386314186752. The disable-binary option worked for me: rvm reinstall 2.1.1 –disable-binary EDIT – better solution I see that some people still have this problem. Today much better solution is to update RVM like this: rvm get stable The problem was caused by RVM – it had some paths hard-coded … Read more

How do I recompile a ruby with RVM?

The problem with using rvm [reinstall|install] is that it will fetch and use precompiled binaries if it can find any. Sometimes, you really want to rebuild from source, probably because you’re trying to use a more recent version of GCC (e.g. 4.8 or 4.9). The correct flag is –disable-binary, not –force: rvm reinstall –disable-binary 2.1

Error while installing Nokogiri (1.6.7) on El Capitan

You should install xcode-select packages first, then try installing nokogiri again. Try these commands, xcode-select –install then try gem install nokogiri with whatever Nokogiri version you want. Nokogiri depends on multiple libraries like libxslt, libxml and zlib. Dev versions (including source) of these should be installed before installing Nokogiri in any Linux distribution. For OS … Read more

Problems with the rails console, RVM and readline

I had a similar problem it was with 1.9.2 on Ubuntu 10.04, but the symptoms were identical. In order to get it to work: rvm pkg install readline or prior to RVM version 1.6.32, you need the following command rvm package install readline Then: apt-get install ncurses-dev And then taking from their instructions at http://rvm.beginrescueend.com/packages/readline/ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)