[RAILS] Bundle install impossible

Applications, problèmes de configuration réseau
a.mark
Hankyu
Messages : 12
Inscription : mar. 05 juil. 2016, 16:51
Localisation : Paris

[RAILS] Bundle install impossible

Message par a.mark »

Plop !

J'ai sur mon systeme, ruby 2.3.1, gem 2.6.6 et rails 5.0.0
Lorsque je lance un bundle install je me ramasse l'erreur suivante

Code : Tout sélectionner

bundle install
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Using rake 11.2.2
Using concurrent-ruby 1.0.2
Using i18n 0.7.0
Using minitest 5.9.0
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using pkg-config 1.1.7
Using rack 2.0.1
Using nio4r 1.2.1
Using websocket-extensions 0.1.2
Using mime-types-data 3.2016.0521
Using arel 7.1.0


Your user account isn't allowed to install to the system Rubygems.
  You can cancel this installation and run:

      bundle install --path vendor/bundle

  to install the gems into ./vendor/bundle/, or you can enter your password
  and install the bundled gems to Rubygems using sudo.

  Password: 
Installing byebug 9.0.5 with native extensions

[b]Errno::EACCES: Permission denied @ rb_sysopen - /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.0.5/gem_make.out                                                                        [/b]
Using coffee-script-source 1.10.0
Using execjs 2.7.0
Using method_source 0.8.2
Using thor 0.19.1
Installing debug_inspector 0.0.2 with native extensions

[b]Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/debug_inspector-0.0.2[/b]
Installing ffi 1.9.14 with native extensions

[b]Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.14[/b]
Using multi_json 1.12.1
Using rb-fsevent 0.9.7
Installing puma 3.6.0 with native extensions

[b]Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/puma-3.6.0[/b]
Using bundler 1.12.5
Using sass 3.4.22
Using tilt 2.0.5
Using spring 1.7.2
Installing sqlite3 1.3.11 with native extensions

[b]Errno::EACCES: Permission denied @ dir_s_mkdir - /usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/sqlite3-1.3.11[/b]
Using turbolinks-source 5.0.0
Using tzinfo 1.2.2
Using nokogiri 1.6.8
Using rack-test 0.6.3
Using sprockets 3.7.0
Using websocket-driver 0.6.4
Using mime-types 3.1
[b]An error occurred while installing byebug (9.0.5), and Bundler cannot continue.
Make sure that `gem install byebug -v '9.0.5'` succeeds before bundling.[/b]
J'ai bien installe byebug avec gem...
Je ne comprends pas d'ou cela vient sachant que j'ai bien les lignes suivantes dans mon .zshrc

Code : Tout sélectionner

export PATH=$PATH:/home/alexandre/.gem/ruby/2.3.0/bin
export PATH=$PATH:/root/.gem/ruby/2.3.0/bin

J'ai rien trouve sur le web, si vous avez un truc ;)

Merci d'avance
a.mark
Hankyu
Messages : 12
Inscription : mar. 05 juil. 2016, 16:51
Localisation : Paris

Re: [RAILS] Bundle install impossible

Message par a.mark »

Un petit up :/
Répondre