no such file to load — bundler/setup (Ruby on rails)

后端 未结 4 848
谎友^
谎友^ 2021-01-07 23:08

I am attempting to get a rails 3.0.5 app up and running at http://blastoserver.com/. You can see the errors there. (backtrace)

Any ideas?

相关标签:
4条回答
  • 2021-01-07 23:35

    If seems that it depends on the user. If you run this command on a ssh access as root user make sure not so use the "sudo" in the front. That fixed it for me.

    0 讨论(0)
  • 2021-01-07 23:37

    Try gem install bundler. If that doesn't work my guess would be that you're using two different ruby or rubygems installations. The user running the webserver does not see the bundler gem.

    0 讨论(0)
  • 2021-01-07 23:37

    I guess you need 'bundle install' or forget rake db:migrate command.

    0 讨论(0)
  • 2021-01-07 23:39

    Make sure you are running "bundle exec ..." for example: "bundle exec rake -T" instead of just "rake -T". This makes sure that you are executing the command in the context of gem bundle.

    For more info, look at: http://gembundler.com/

    0 讨论(0)
提交回复
热议问题