2010-06-10 51 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 

回答

0

我不知道這是對的,但錯誤信息似乎很清楚:

權限被拒絕 - /home/deltrem/.gem/ruby /1.8/cache/sequel-3.9.0.gem(Errno :: EACCES)

您無權讀取或寫入該路徑。你應該sudo這個?

+0

這行也似乎相關:從/usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:在'打開' – Pistos 2010-06-11 13:15:35