LoginSignup
0
2

More than 5 years have passed since last update.

middlemanの開発環境構築でハマった

Last updated at Posted at 2017-05-05

備忘録的に

何にハマったか

bundler: failed to load command: middleman
のエラーがでてきてmiddleman serverできなかった。bundle exec middleman serverでもできなかった。

別プロジェクトのフォルダでmiddleman initしようとしたけどできなかった。(エラー忘れた)

いつもだったらbundle update ➝ bundle installとかでいけたんだけどな、あれ?

やったこと

1.rubyのバージョン安定版にした
https://www.ruby-lang.org/ja/downloads/

➝ これで別プロジェクトではmiddleman initできた

2.Gemfile.lock削除した
bundle exec middleman serverでいけた

考えられる原因

  • Gemfile.lockと.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/で呼び出すGemのバージョンに差異があってダメだった??
  • gemのバージョンが自分のRubyの環境で対応してなかった??
  • failed to load command➝ ~/.zshrcとかみたけど問題なさそうだった
0
2
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
0
2