problem during bundle install
Added by system admin0987 about 12 years ago
Centos 6.3, Following given article
[[http://www.devcu.com/forums/topic/311-install-redmine-203-nginx-centos-6/
]]
CD /var/www/redmine-1/ #bundle install --without development test
Fetching gem metadata from http://rubygems.org/.......
Using rake (0.8.3)
Installing RedCloth (4.2.9) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h
Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/RedCloth-4.2.9 for inspection.
Results logged to /usr/lib64/ruby/gems/1.8/gems/RedCloth-4.2.9/ext/redcloth_scan/gem_make.out
An error occurred while installing RedCloth (4.2.9), and Bundler cannot continue.
Make sure that `gem install RedCloth -v '4.2.9'` succeeds before bundling.
####Information:#### [root@pm redmine-1]# gem -v 1.3.7 [root@pm redminedjtk]# ruby -v ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[root@pm redmine-1]# cat Gemfile # file: /var/www/redmine-1/Gemfile source "http://rubygems.org" gem "rake", "0.8.3" gem "rack", "1.1.0" gem "i18n", "0.4.2" gem "rubytree", "0.5.2", :require => "tree" gem "RedCloth", "~>4.2.3", :require => "redcloth" # for CodeRay gem "mysql" gem "coderay", "~>0.9.7"
Replies (1)
RE: problem during bundle install - Added by Etienne Massip about 12 years ago
This is far from the bare Redmine 2.0.3 Gemfile which is here: