お世話になっています。エラーの指示通り、Rails serverを使っても
起動できなくなってしまったので、お助けくださいませ。
OS: Apple Yosemite
Ruby: ruby 2.2.2p95
Rails: rails 4.2.6
- Rails serverをすると、出てくるエラー
Could not find climate_control-0.0.3 in any of the sources
Run bundle install
to install missing gems.
- Gemfileを書き換えて、bundle install する時のエラー
An error occurred while installing libv8 (3.16.14.13), and Bundler cannot
continue.
Make sure that gem install libv8 -v '3.16.14.13'
succeeds before bundling.
Ruby
1source 'https://rubygems.org' 2 3 4# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 5gem 'rails', '4.2.6' 6# Use sqlite3 as the database for Active Record 7gem 'pg' 8# Use SCSS for stylesheets 9gem 'sass-rails', '~> 5.0' 10# Use Uglifier as compressor for JavaScript assets 11gem 'uglifier', '>= 1.3.0' 12# Use CoffeeScript for .coffee assets and views 13gem 'coffee-rails', '~> 4.1.0' 14 15gem 'execjs' 16gem 'therubyracer' 17 18# gem 'therubyracer', platforms: :ruby 19 20gem 'momentjs-rails' 21 22# Use jquery as the JavaScript library 23gem 'jquery-rails' 24# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks 25gem 'turbolinks' 26# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 27gem 'jbuilder', '~> 2.0' 28# bundle exec rake doc:rails generates the API under doc/api. 29gem 'sdoc', '~> 0.4.0', group: :doc 30 31gem 'jquery-turbolinks' 32# Use ActiveModel has_secure_password 33# gem 'bcrypt', '~> 3.1.7' 34 35# Use Unicorn as the app server 36# gem 'unicorn' 37 38# Use Capistrano for deployment 39# gem 'capistrano-rails', group: :development 40 41group :development, :test do 42 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 43 gem 'byebug' 44 gem 'better_errors' 45 gem 'binding_of_caller' 46end 47 48group :development do 49 # Access an IRB console on exception pages or by using <%= console %> in views 50 gem 'web-console', '~> 2.0' 51 52 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 53 gem 'spring' 54end 55 56gem "paperclip", "~> 5.0.0.beta1" 57gem 'seedbank' 58 59gem 'pry' 60gem 'pry-rails' 61gem 'pry-doc' 62gem 'pry-byebug' 63gem 'pry-stack_explorer' 64 65gem 'climate_control', '~> 0.0.3' 66
- gem install libv8 -v '3.16.14.13'をターミナルで入力して出てくるエラー
ERROR: Error installing libv8:
ERROR: Failed to build gem native extension.
どうぞ宜しくお願いいたします。
回答2件
あなたの回答
tips
プレビュー