2017-07-01 4 views
0

私は.NETプログラマーであり、Ruby言語に精通していません。私はRuby on Railsアプリケーションを実行したいです。私はCMDrails serverを書きますが、次のエラーが表示されます。rails - いずれかのソースでactivesupport-4.2.9が見つかりませんでした

はソースのいずれかで行方不明の宝石をインストールする

実行bundle installをactivesupportの-4.2.9を見つけることができませんでした。

それから私はbundle installを実行すると、次のエラーが表示されます。

Using sprockets 3.7.1 
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. 

current directory: 
C:/Sites/openstreetmap/vendor/cache/ruby/2.4.0/gems/json-2.1.0/ext/json/ext/generator 
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20170701-12240-1kqs7rm.rb extconf.rb 
--version 
creating Makefile 

current directory: 
C:/Sites/openstreetmap/vendor/cache/ruby/2.4.0/gems/json-2.1.0/ext/json/ext/generator 
make "DESTDIR=" clean 
'make' is not recognized as an internal or external command, 
operable program or batch file. 

current directory: 
C:/Sites/openstreetmap/vendor/cache/ruby/2.4.0/gems/json-2.1.0/ext/json/ext/generator 
make "DESTDIR=" 
'make' is not recognized as an internal or external command, 
operable program or batch file. 

make failed, exit code 1 

Gem files will remain installed in 
C:/Sites/openstreetmap/vendor/cache/ruby/2.4.0/gems/json-2.1.0 for inspection. 
Results logged to 
C:/Sites/openstreetmap/vendor/cache/ruby/2.4.0/extensions/x64-mingw32/2.4.0/json-2.1.0/gem_make.out 

An error occurred while installing json (2.1.0), and Bundler cannot continue. 
Make sure that `gem install json -v '2.1.0'` succeeds before bundling. 

In Gemfile: 
    coveralls was resolved to 0.8.21, which depends on 
    simplecov was resolved to 0.14.1, which depends on 
     json 

は私が繰り返し検索し、すべての方法を試してみましたが、動作しません!

宝石2.6.12

ルビーIは、Windows 8.1、64ビットを使用した2.4.1

レール4.2.9

:バージョンがインストールさ

+1

可能性のある重複した[メイク内部または外部コマンドとして認識されていません](https://stackoverflow.com/questions/19176136/makeを使用します-is-not-recognized-as-internal-or-external-command) –

答えて

0

あなたのコンピュータにmakeがインストールされていないようです。私はWindowsユーザーではないですが、Debianでは、あなたはの

sudo apt-get install build-essential

関連する問題