Problem during installation in the provider Planethoster
Added by Jerome BENOIT over 10 years ago
Hi all,
I try to install Redmine on my shared hosting from the provider "PlanetHoster", the tutorial is:
https://github.com/lae/web/blob/master/_posts/2013-02-26-installing-redmine-1.4-on-cpanel-shared-hosting.md
But during this installation, when i run 'bundle install...', this error message appear:
Using rack-ssl 1.3.4 Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb creating Makefile make gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -DJSON_GENERATOR -fPIC -g -O3 -fPIC -Wall -O0 -ggdb -c generator.c make: execvp: gcc: Permission denied make: *** [generator.o] Error 127 Gem files will remain installed in /home/username/.gem/ruby/1.8/gems/json-1.8.1 for inspection. Results logged to /home/username/.gem/ruby/1.8/gems/json-1.8.1/ext/json/ext/generator/gem_make.out An error occurred while installing json (1.8.1), and Bundler cannot continue. Make sure that `gem install json -v '1.8.1'` succeeds before bundling.
When I run this line to install json "gem install json -v '1.8.1'", but a new error appear:
Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb creating Makefile make gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -DJSON_GENERATOR -fPIC -g -O3 -fPIC -Wall -O0 -ggdb -c generator.c make: execvp: gcc: Permission denied make: *** [generator.o] Error 127 Gem files will remain installed in /home/username/.gem/ruby/1.8/gems/json-1.8.1 for inspection. Results logged to /home/username/.gem/ruby/1.8/gems/json-1.8.1/ext/json/ext/generator/gem_make.out
Have you an idea please? my provider say me it's impossible to install redmine on shared hosting. I need to VPS server...
Thanks you very much