0
有沒有辦法在Squeeze上安裝RoR,而不使用RVM? 我試着在虛擬機上,當我運行 「捆綁安裝」,我得到這個錯誤信息:Debian Squeeze - >安裝Ruby on Rails
gem_prelude.rb:79:in `undef_method': undefined method `default_dir' for `Gem' (NameError)
from gem_prelude.rb:79:in `block in singletonclass'
from gem_prelude.rb:78:in `each'
from gem_prelude.rb:78:in `singletonclass'
from gem_prelude.rb:77:in `load_full_rubygems_library'
from gem_prelude.rb:192:in `method_missing'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler.rb:262:in `configure_gem_home_and_path'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler.rb:78:in `configure'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler.rb:134:in `definition'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in `install'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in `run'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in `start'
from /usr/lib/ruby/gems/1.9.0/gems/bundler-1.0.10/bin/bundle:13:in `<top (required)>'
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19:in `<main>'`
紅寶石-v = 1.9.2
寶石-v = 1.6.2
<internal:gem_prelude>:114:in `push_gem_version_on_load_path': undefined method `<=>' for nil:NilClass (NoMethodError)
做:
,我已經修復了以下後出現此錯誤
apt-get install rails? – stew 2011-03-23 19:37:10