Я пытаюсь следовать за this Airpair tutorial от Fernando Villalobos, чтобы поиграть с Rails и отреагировать на жемчужину react-rails
.Rails 4 + real-rails gem: Не удалось найти генератор 'response: install'
Я создал совершенно новое приложение Rails 4, и теперь я пытаюсь установить react-rails
.
Это мой Gemfile:
source 'https://rubygems.org'
gem 'rails', '4.2.2'
gem 'sqlite3'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'bootstrap-sass'
gem 'react-rails', '~> 1.4.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
gem 'byebug'
gem 'web-console', '~> 2.0'
gem 'spring'
end
я уже бежал как bundle install
и bundle update
(на всякий случай).
Но всякий раз, когда я пытаюсь запустить rails g react:install
as recommended here, я получаю следующее сообщение об ошибке:
Could not find generator 'react:install'. Maybe you meant 'test_unit:job' or 'test_unit:model' or 'generator'
Run `rails generate --help` for more options.
Любая идея о том, что здесь не так?