Can't fix 'bundle install' failing for gems with native extensions?

If you are running on linux you need to install libraries/packages before install bcrypt-ruby gem sudo apt-get install ruby1.8-dev for ruby 1.8.7 or sudo apt-get install ruby-dev or sudo apt-get install ruby1.9-dev for ruby 1.9.2 now you can install bcrypt-ruby gem with following command sudo gem install bcrypt-ruby.

If you are running on linux you need to install libraries/packages before install bcrypt-ruby gem. Sudo apt-get install ruby1.8-dev //for ruby 1.8.7 or sudo apt-get install ruby-dev or sudo apt-get install ruby1.9-dev //for ruby 1.9.2 now you can install bcrypt-ruby gem with following command sudo gem install bcrypt-ruby.

Well, it's not due to dependencies, because otherwise it would say it in the error message, plus it works without a problem when I run gem install bcrypt. And it fails with any gem with native extensions, bcrypt is just the first one. – softRli Sep 7 at 13:15 the bcrypt and bcrypt-ruby are not same.. bcrypt-ruby uses different libraries.

– sannankhalid Sep 7 at 13:35 It's definitely not linked to the gem itself. Whenever bundle install crash, as soon as I install the gem manually with gem install, the next gem with native extensions will make bundle crash... – softRli Sep 8 at 15:37.

The server is running on Amazon Linux alami-2011.02. I can't say the distro it's based on (from my search, RedHat/CentOS, but I'm newbie in that field). I've installed my Ruby environment with RVM (installed as root). For each Rails app I deploy, I create a separate RVM gemset.

Since I ran in this problem, I've refreshed completely the Ruby environment by running rvm implode. I created a gemset for another ruby-1.9.2, tried to install the gems through Bundle... here it comes again! I've had the same issue with a ruby-1.9.2-p180 install, I tried downgrading RubyGems to different versions until 1.5.3, I imploded my RVM... I've looked a lot on the web for answers, this problem seems recurrent, but nothing worked for me.

Thanks in advance for your help!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions