質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Q&A

解決済

1回答

8306閲覧

rails bundle install sasscで止まる

退会済みユーザー

退会済みユーザー

総合スコア0

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

0グッド

0クリップ

投稿2020/11/14 05:33

railsアプリをEC2よりデプロイするにあたりbundle installの
Fetching sassc 2.4.0
Installing sassc 2.4.0 with native extensions
で止まってしまいます。

gem 'sass-rails'のバージョンを指定してあげないのかいけないのかわからず前に進めずの段階です。
わかる方がいれば教えて教えていただけないでしょうか。。

bundleinstall

1[ec2-user@ip-10-0-0-204 music_app]$ bundle install 2The 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`. 3Fetching gem metadata from https://rubygems.org/............ 4Fetching gem metadata from https://rubygems.org/. 5Resolving dependencies.......................... 6Using rake 13.0.1 7Using concurrent-ruby 1.1.7 8Using i18n 1.8.5 9Using minitest 5.14.2 10Using thread_safe 0.3.6 11Using tzinfo 1.2.8 12Using activesupport 5.2.4.4 13Using builder 3.2.4 14Using erubi 1.10.0 15Using mini_portile2 2.4.0 16Using nokogiri 1.10.10 17Using rails-dom-testing 2.0.3 18Using crass 1.0.6 19Using loofah 2.7.0 20Using rails-html-sanitizer 1.3.0 21Using actionview 5.2.4.4 22Using rack 2.2.3 23Using rack-test 1.1.0 24Using actionpack 5.2.4.4 25Using nio4r 2.5.4 26Using websocket-extensions 0.1.5 27Using websocket-driver 0.7.3 28Using actioncable 5.2.4.4 29Using globalid 0.4.2 30Using activejob 5.2.4.4 31Using mini_mime 1.0.2 32Using mail 2.7.1 33Using actionmailer 5.2.4.4 34Using activemodel 5.2.4.4 35Using arel 9.0.0 36Using activerecord 5.2.4.4 37Using mimemagic 0.3.5 38Using marcel 0.3.3 39Using activestorage 5.2.4.4 40Using public_suffix 4.0.6 41Using addressable 2.7.0 42Using anbt-sql-formatter 0.1.0 43Using annotate 3.1.1 44Using io-like 0.3.1 45Using archive-zip 0.12.0 46Using execjs 2.7.0 47Using autoprefixer-rails 10.0.2.0 48Using awesome_print 1.8.0 49Using bcrypt 3.1.16 50Using bindex 0.8.1 51Using msgpack 1.3.3 52Using bootsnap 1.5.1 53Using popper_js 1.16.0 54Using method_source 1.0.0 55Using thor 1.0.1 56Using railties 5.2.4.4 57Using ffi 1.13.1 58Fetching sassc 2.4.0 59Installing sassc 2.4.0 with native extensions

Gemfile

1source 'https://rubygems.org' 2git_source(:github) { |repo| "https://github.com/#{repo}.git" } 3 4ruby '2.5.3' 5 6# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 7gem 'rails', '~> 5.2.2' 8 9# Use mysql as the database for Active Record 10gem 'mysql2', '>= 0.4.4', '< 0.6.0' 11# Use Puma as the app server 12gem 'puma', '~> 3.11' 13# Use SCSS for stylesheets 14gem 'sass-rails' 15# Use Uglifier as compressor for JavaScript assets 16gem 'uglifier', '>= 1.3.0' 17# See https://github.com/rails/execjs#readme for more supported runtimes 18# gem 'mini_racer', platforms: :ruby 19 20# Use CoffeeScript for .coffee assets and views 21gem 'coffee-rails', '~> 4.2' 22# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks 23gem 'turbolinks', '~> 5' 24# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 25gem 'jbuilder', '~> 2.5' 26# Use Redis adapter to run Action Cable in production 27# gem 'redis', '~> 4.0' 28# Use ActiveModel has_secure_password 29# gem 'bcrypt', '~> 3.1.7' 30 31# Use ActiveStorage variant 32# gem 'mini_magick', '~> 4.8' 33 34# Use Capistrano for deployment 35# Reduces boot times through caching; required in config/boot.rb 36gem 'bootsnap', '>= 1.1.0', require: false 37gem 'bootstrap', '~> 4.4.1' 38gem 'jquery-rails' 39gem 'mini_racer' 40gem 'carrierwave' 41gem "mini_magick" 42gem 'kaminari' 43gem "rails-i18n" 44gem 'devise' 45gem 'devise-i18n' 46gem 'devise-i18n-views' 47gem 'dotenv-rails' 48group :development, :test do 49 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 50 gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] 51 gem 'rspec-rails', '~> 3.8' 52 gem "factory_bot_rails", "~> 4.10.0" 53 gem "rails-flog", require: "flog" 54end 55 56group :development do 57 # Access an interactive console on exception pages or by calling 'console' anywhere in the code. 58 gem 'web-console', '>= 3.3.0' 59 gem 'listen', '>= 3.0.5', '< 3.2' 60 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 61 gem 'spring' 62 gem 'spring-watcher-listen', '~> 2.0.0' 63 gem 'spring-commands-rspec' 64 gem 'pry-byebug' 65gem "annotate" 66 gem 'letter_opener_web' 67end 68 69group :production, :staging do 70 gem 'unicorn' 71end 72 73group :test do 74 # Adds support for Capybara system testing and selenium driver 75 gem 'capybara', '>= 2.15' 76 gem 'selenium-webdriver' 77 # Easy installation and use of chromedriver to run system tests with Chrome 78 gem 'chromedriver-helper' 79 gem 'pry-rails' 80end 81 82# Windows does not include zoneinfo files, so bundle the tzinfo-data gem 83gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

Installing sassc 2.4.0 with native extensions
で止まってしまいます。

エラーは出力されていないのでしょうか?
それなら、コンパイルに時間がかかっている可能性があります。
どれほど待ちましたか?

投稿2020/11/14 06:00

technocore

総合スコア7200

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

退会済みユーザー

退会済みユーザー

2020/11/15 04:57

もう一度頭からやり直したら 無事インストールできました!ありがとうございます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問