View Single Post
Posts: 7 | Thanked: 0 times | Joined on Apr 2014
#117
Originally Posted by nieldk View Post
after installing bundler, you need to cd to msf3 folder and do
bundle install
Really thank you!
But I see another error message:
Code:
/home/opt/msf3 # bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Installing rake 10.1.0
Installing i18n 0.6.5
Installing multi_json 1.0.4
Installing activesupport 3.2.14
Installing builder 3.0.4
Installing activemodel 3.2.14
Installing arel 3.0.2
Installing tzinfo 0.3.37
Installing activerecord 3.2.14

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.8 extconf.rb 
extconf.rb:13:in `require': no such file to load -- mkmf (LoadError)
	from extconf.rb:13


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/bcrypt-ruby-3.1.2 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/bcrypt-ruby-3.1.2/ext/mri/gem_make.out
An error occurred while installing bcrypt-ruby (3.1.2), and Bundler cannot
continue.
Make sure that `gem install bcrypt-ruby -v '3.1.2'` succeeds before bundling.
I try to first install :
Code:
gem install bcrypt-ruby -v '3.1.2'
and than rerun bundle install but just see this error message:
Code:
        /usr/bin/ruby1.8 extconf.rb 
extconf.rb:13:in `require': no such file to load -- mkmf (LoadError)
	from extconf.rb:13
I searched for this error and reinstalling openssl-ruby1.8 but nothing!

and ?

Last edited by nahci13; 2014-04-28 at 19:54.