前提・実現したいこと
よろしくお願い致します。
Railsチュートリアルをcloud9を使って進めていきたいと思っています。
1.3.2 rails serverで何度やり直してもサーバーが起動せず、足踏みしてしまっている状況です。
該当のソースコード
$ rails s -b $IP -p $PORT => Booting Puma => Rails 5.1.4 application starting in development => Run `rails server -h` for more startup options Puma starting in single mode... * Version 3.9.1 (ruby 2.4.1-p111), codename: Private Caller * Min threads: 5, max threads: 5 * Environment: development * Listening on tcp://127.0.0.1:8080 Use Ctrl-C to stop
tcp://127.0.0.1:8080をクリックしてプレビューを開いてもダメでした。
よろしくお願い致します。
http://localhost:8080/ ← ではどうですか?
このサイトにアクセスできません localhost で接続が拒否されました。と出てしまいます。
$ bundle install と打つと、The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.というエラーが出ているのでこれが関係していると思われます
回答1件
あなたの回答
tips
プレビュー