rails new example
で作成したRailsのプロジェクトがWebサーバを起動させることが出来ない。
実際のコマンド実行時
$ rails s
bin/rails:6: warning: already initialized constant APP_PATH
/home/vagrant/boot/bin/rails:6: warning: previous definition of APP_PATH was here
Usage: rails COMMAND [ARGS]
エラーの対処をGoogleで検索して対応を調べたところ
次のコマンドを実行して、2行目のgemライブラリをインストールしロードさせる必要があるのですが
どのように対応すればいいのかわからないです。。
$ bundle exec rake rails:update:bin
rake aborted!
LoadError: cannot load such file -- rack
/home/vagrant/example/config/application.rb:3:in require' /home/vagrant/example/config/application.rb:3:in
<top (required)>'
/home/vagrant/example/Rakefile:4:in require' /home/vagrant/example/Rakefile:4:in
<top (required)>'
(See full trace by running task with --trace)
gem list にはrack(1.6.4)があり、インストールされている模様...
よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/07/05 09:37