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

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

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

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

Ruby on Rails 4

Ruby on Rails4はRubyによって書かれたオープンソースのウェブフレームワークです。 Ruby on Railsは「設定より規約」の原則に従っており、効率的に作業を行うために再開発を行う必要をなくしてくれます。

Q&A

2回答

1409閲覧

railsの環境構築について

arua718

総合スコア10

Ruby on Rails

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

Ruby on Rails 4

Ruby on Rails4はRubyによって書かれたオープンソースのウェブフレームワークです。 Ruby on Railsは「設定より規約」の原則に従っており、効率的に作業を行うために再開発を行う必要をなくしてくれます。

0グッド

0クリップ

投稿2018/10/31 14:15

編集2018/11/01 07:22

###railsの環境構築

ここに質問の内容を詳しく書いてください。
railsの環境構築で質問です。
railsでデータベース(sqlite)を用意しようと以下のcommandを試したところエラーが発生しました。
色々と調べても分からないので質問します。

powershell

$ bundle exec rake db:create
エラーメッセージ
Could not find gem 'sass-rails (~> 5.0) x64-mingw32' in any of the gem sources listed in your Gemfile.
Run bundle install to install missing gems.

補足情報(FW/ツールのバージョンなど)

以下がRuby,railsのバージョンです。
ruby 2.5.3p105 (2018-10-18 revision 65156) [x64-mingw32]
Rails 4.2.10
実行環境:windows10

以下のサイトで学習している途中で躓きました。
https://www.coffee-cup.com/ja/mugcups/3

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

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

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

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

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

dice142

2018/11/01 02:14

「Ruby on Rails 5」タグは関係なければ外してください。
guest

回答2

0

繧ウ繝槭Φ繝峨′隕九▽縺九j縺セ縺帙s縺ァ縺励◆

こちらの文字化けの復元を試みると「コマンドが見つかりませんでした」との事です。

ridk installを実行しENTERを押し、しばらく待つ
その後、もういちどbundle installを実行

投稿2018/11/01 08:01

asm

総合スコア15147

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

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

0

bundle installはされましたか?

類似の質問
https://teratail.com/questions/27227

投稿2018/11/01 00:02

aruto

総合スコア175

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

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

arua718

2018/11/01 07:23

bundle installを行ったら以下のエラー?が表示されました。 ## Fetching gem metadata from https://rubygems.org/.......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies.... Using rake 12.3.1 Using concurrent-ruby 1.1.0 Using i18n 0.9.5 Using minitest 5.11.3 Using thread_safe 0.3.6 Using tzinfo 1.2.5 Using activesupport 4.2.10 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.3.0 Using nokogiri 1.8.5 (x64-mingw32) Using rails-deprecated_sanitizer 1.0.3 Using rails-dom-testing 1.0.9 Using crass 1.0.4 Using loofah 2.2.3 Using rails-html-sanitizer 1.0.4 Using actionview 4.2.10 Using rack 1.6.10 Using rack-test 0.6.3 Using actionpack 4.2.10 Using globalid 0.4.1 Using activejob 4.2.10 Using mini_mime 1.0.1 Using mail 2.7.1 Using actionmailer 4.2.10 Using activemodel 4.2.10 Using arel 6.0.4 Using activerecord 4.2.10 Fetching debug_inspector 0.0.3 Installing debug_inspector 0.0.3 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/debug_inspector-0.0.3/ext/debug_inspector C:/Ruby25-x64/bin/ruby.exe -r ./siteconf20181101-18520-oc1nsd.rb extconf.rb creating Makefile current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/debug_inspector-0.0.3/ext/debug_inspector make "DESTDIR=" clean current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/debug_inspector-0.0.3/ext/debug_inspector make "DESTDIR=" generating debug_inspector-x64-mingw32.def compiling debug_inspector.c make: x86_64-w64-mingw32-gcc: 繧ウ繝槭Φ繝峨′隕九▽縺九j縺セ縺帙s縺ァ縺励◆ make: *** [Makefile:242: debug_inspector.o] 繧ィ繝ゥ繝シ 127 make failed, exit code 2 Gem files will remain installed in C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/debug_inspector-0.0.3 for inspection. Results logged to C:/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/debug_inspector-0.0.3/gem_make.out An error occurred while installing debug_inspector (0.0.3), and Bundler cannot continue. Make sure that `gem install debug_inspector -v '0.0.3' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: web-console was resolved to 2.3.0, which depends on binding_of_caller was resolved to 0.8.0, which depends on debug_inspector
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問