2010-06-10 21 views
0
[email protected]:~/ramaze web/app/blog$ ruby start.rb 
I [2010-06-10 14:53:33 $1886] INFO | : activating sequel 
I [2010-06-10 14:53:33 $1886] INFO | : Installing sequel 
/usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:in `initialize': Permission denied - /home/deltrem/.gem/ruby/1.8/cache/sequel-3.9.0.gem (Errno::EACCES) 
    from /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:in `open' 
    from /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:in `download' 
    from /usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:257:in `install' 
    from /usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:247:in `each' 
    from /usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:247:in `install' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:91:in `install_gem' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:102:in `temp_argv' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:89:in `install_gem' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:80:in `setup_gem' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:63:in `setup' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:62:in `each' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:62:in `setup' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:44:in `run' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:38:in `initialize' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:29:in `new' 
    from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:29:in `setup' 
    from ./app.rb:4 
    from start.rb:3:in `require' 
    from start.rb:3 

Répondre

0

Je ne sais pas ce que cela est pour, mais le message d'erreur semble assez clair:

Autorisation refusée - /home/deltrem/.gem/ruby /1.8/cache/sequel-3.9.0.gem (Errno :: EACCES)

Vous n'avez pas l'autorisation de lire ou d'écrire sur ce chemin. Êtes-vous censé sudo cela?

+0

Cette ligne semble également pertinente: from /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:in 'open ' – Pistos