最近ローカル(iMac)からさくらvpsにディレクトリを移行したのですが、
実行すると必ずエラーが起きて困っています。
どのようにすればいいのか助言をお願いします。
・環境
Ruby 2.2.3
Ruby on Rails 4.2.6
postgresql 9.5.5
さくらvps
Apache+passenger
・エラー内容
/home/****/rails_app/vendor/bundle/ruby/2.2.0/gems/pg-0.19.0/lib/pg.rb:4:in `require': cannot load such file -- pg_ext (LoadError) from /home/****/rails_app/vendor/bundle/ruby/2.2.0/gems/pg-0.19.0/lib/pg.rb:4:in `<top (required)>' from /home/****/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in `require' from /home/*****/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in `block (2 levels) in require' from /home/*****/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `each' from /home/******/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `block in require' from /home/******/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `each' from /home/******/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `require' from /home/******/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.13.6/lib/bundler.rb:106:in `require' from /home/******/rails_app/config/application.rb:16:in `<top (required)>' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `require' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `block in server' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `tap' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>' from /home/******/rails_app/bin/rails:9:in `require' from /home/******/rails_app/bin/rails:9:in `<top (required)>' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `load' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/spring-1.7.2/lib/spring/client/rails.rb:28:in `call' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/spring-1.7.2/lib/spring/client/command.rb:7:in `call' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/spring-1.7.2/lib/spring/client.rb:30:in `run' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/spring-1.7.2/bin/spring:49:in `<top (required)>' from /home/******/rails_app/vendor/bundle/ruby/2.2.0/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `load' from /home/firefox636/rails_app/vendor/bundle/ruby/2.2.0/gems/spring-1.7.2/lib/spring/binstub.rb:11:in `<top (required)>' from /home/******/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/******/.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/******/rails_app/bin/spring:13:in `<top (required)>' from bin/rails:3:in `load' from bin/rails:3:in `<main>'
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。