例のguardの問題のせいだと思うけどsporkうんぬんのくだりで怒られた。
$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
You have requested:
childprocess = 0.3.6
The bundle currently has childprocess locked at 0.5.5.
Try running `bundle update childprocess`
Gemfileを以下に変更。
gem 'childprocess', '0.5.5'
$ bundle install
通った。
こういうのの積み重ねでのちにどうにもならなくなりそうでこえー。
$ bundle exec guard init spork
00:06:08 - ERROR - Could not load 'guard/spork' or '~/.guard/templates/spork' or find class Guard::Spork
おめーもか!
Gemfile=======================================================
source 'https://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.5'
group :development, :test do
gem 'sqlite3', '1.3.8'
gem 'rspec-rails', '2.14.2'
# gem 'guard-rspec', '2.6.0'
gem 'guard-rspec', require: false # guardでrspecを動かす
gem 'spork-rails', '4.0.0'
gem 'guard-spork', require: false
gem 'childprocess', '0.5.5'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
# Uncomment this line on OS X.
# gem 'growl', '1.0.3'
# Uncomment these lines on Linux.
# gem 'libnotify', '0.8.0'
# Uncomment these lines on Windows.
# gem 'rb-notifu', '0.0.4'
# gem 'win32console', '1.3.2'
end
gem 'sass-rails', '4.0.5'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
=======================================================
Gemfileを上記に変更したら通ったよ。
$ bundle update
$ bundle exec guard init spork
require: falseの意味はわかりません!
3.6.4Sublime Text上でテストする
はめんどくさいのでパスします。
テストの設定のくだりで5日くらいかかったのでつかれました!
でも使ってるテキストエディタはSublime Textだよ!