2

I am working on installing Open Project and I ran bundle exec rails server and got:

root@bistro2:/home/openproject/openproject# bundle exec
/usr/lib/ruby/vendor_ruby/bundler/rubygems_ext.rb:8:in `require': no such file to load -- rubygems (LoadError)
        from /usr/lib/ruby/vendor_ruby/bundler/rubygems_ext.rb:8
        from /usr/lib/ruby/vendor_ruby/bundler.rb:11:in `require'
        from /usr/lib/ruby/vendor_ruby/bundler.rb:11
        from /usr/bin/bundle:4:in `require'
        from /usr/bin/bundle:4
root@bistro2:/home/openproject/openproject# 
tessi
  • 13,313
  • 3
  • 38
  • 50
Michael W.
  • 65
  • 1
  • 2
  • 9
  • 1
    What is open project ? – tuxdna Dec 23 '13 at 02:38
  • 1
    We need more information. What version of Ruby are you running? How was it installed? Rubygems has been installed with Ruby for several years by default. Also, are you running as "root"? If so, don't do that. Learn about rbenv or RVM, and use that to install Ruby in a sandbox, *then* install into that sandbox. – the Tin Man Dec 23 '13 at 02:51
  • Actually you can get the answers for the same problem [no such file to load — rubygems (LoadError)](http://stackoverflow.com/questions/2896485/no-such-file-to-load-rubygems-loaderror), hope this can help you. – Liping Huang Dec 23 '13 at 02:51
  • have you use the `ruby1.8`? if yes you need to install rubygems... – Малъ Скрылевъ Dec 23 '13 at 06:41
  • Open Project is similar to Microsoft Project but Open Source. – Michael W. Dec 23 '13 at 13:49
  • Ruby - V = 2.0 / Gem - V 2.1 / Bundle - V 1.35 / rvm 1.25.5 -- Something were installed via sudo and some where not – Michael W. Dec 23 '13 at 13:50
  • I screwed up somewhere. I followed the documentation exactly from https://www.openproject.org/projects/openproject/wiki/Installation_OpenProject_3_0 to the T – Michael W. Dec 23 '13 at 14:20
  • If you use rvm, bundler shouldn't be used vom /usr/lib/ruby, shouldn't it? You might want to check if you use the rvm-provided bundler and not your system installation. Also, have your trief the new OpenProject version? It has a far more recent software stack - here is the installation guide: https://www.openproject.org/projects/openproject/wiki/Installation_OpenProject_3_0 – tessi Feb 03 '14 at 14:26

0 Answers0