railsチュートリアルで勉強していたのですが、
bundle install を実行すと
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for r uby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bund le lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. There was an error while trying to write to `/home/syuumu200/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions`. It is likely that you need to grant write permissions for that path.
と表示され、
bundle update と入力しても
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for r uby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bund le lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. There was an error while trying to write to `/home/syuumu200/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions`. It is likely that you need to grant write permissions for that path.
と表示されます、、。
Gemfile の中身はこんな感じです
Gemfileの中身
1source 'https://rubygems.org' 2 3git_source(:github) do |repo_name| 4 repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") 5 "https://github.com/#{repo_name}.git" 6end 7 8# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 9gem 'rails', '~> 5.1.2' 10# Use sqlite3 as the database for Active Record 11gem 'sqlite3', '>= 3.11.0' 12# Use Puma as the app server 13gem 'puma', '~> 3.0' 14# Use SCSS for stylesheets 15gem 'sass-rails', '~> 5.0' 16# Use Uglifier as compressor for JavaScript assets 17gem 'uglifier', '>= 1.3.0' 18# Use CoffeeScript for .coffee assets and views 19gem 'coffee-rails', '~> 4.2' 20# See https://github.com/rails/execjs#readme 21# for more supported runtimes 22# gem 'therubyracer', platforms: :ruby 23 24# Use jquery as the JavaScript library 25gem 'jquery-rails' 26# Turbolinks makes navigating your web application faster. 27# Read more: https://github.com/turbolinks/turbolinks 28gem 'turbolinks', '~> 5.x' 29# Build JSON APIs with ease. 30# Read more: https://github.com/rails/jbuilder 31gem 'jbuilder', '~> 2.0' 32# Use Redis adapter to run Action Cable in production 33# gem 'redis', '~> 3.0' 34# Use ActiveModel has_secure_password 35# gem 'bcrypt', '~> 3.1.7' 36 37# Use Capistrano for deployment 38# gem 'capistrano-rails', group: :development 39 40group :development, :test do 41 # Call 'byebug' anywhere in the code to stop execution 42 # and get a debugger console 43 gem 'byebug', platform: :mri 44end 45 46group :development do 47 # Access an IRB console on exception pages or by using 48 # <%= console %> anywhere in the code. 49 gem 'web-console' 50 gem 'listen', '~> 3.0.5' 51 # Spring speeds up development by keeping your application running 52 # in the background. Read more: https://github.com/rails/spring 53 gem 'spring' 54 gem 'spring-watcher-listen', '~> 2.0.0' 55end 56 57# Windows環境ではtzinfo-dataというgemを含める必要があります 58gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] 59
どうすれば rails server でローカルサイトを展開できるようになるでしょうか
何卒御教授お願い致します

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。