LoginSignup
1
0

More than 5 years have passed since last update.

他プラットフォームでなぜか Rails アプリが動かない

Posted at

本当につまらないことでハマった.
OSX 上で開発して,問題なく動いていたアプリを,Fedora サーバーに移して動かそうとするもライブラリのロードエラーなどで全く動かない.

原因は

$ bundle install --path=vendor/bundler```

してたのをそのままコピーして,なおかつ何も考えずに新しい環境で

$ bundle install```

してたことが原因らしい.

あらためて新しい環境で下記操作.

$ rm -rf vendor/bundler
$ bundle install --path=vendor/bundler
$ rails s

おー,動いた!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0