1

当我运行 rinari-web-server 时,出现此错误:

/home/pedrorolo/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- bundler/setup (LoadError)
    from /home/pedrorolo/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/pedrorolo/workspace/geoptima-registrator/config/boot.rb:6:in `<top (required)>'
    from /home/pedrorolo/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/pedrorolo/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/pedrorolo/workspace/geoptima-registrator/script/rails:5:in `<main>'

我已经安装了 rvm emacs 包。我究竟做错了什么?

4

2 回答 2

1

有同样的问题,通过安装 rvm.el 修复它

https://github.com/senny/rvm.el

编辑:呃,没有完全阅读你的问题。对不起。

于 2012-04-04T14:09:42.167 回答
0

我设法通过在我的 .emacs 中显式加载 rvm.el 文件来完成这项工作。

于 2012-04-04T16:02:10.757 回答