自分が書いたジェネレーターのコードを更新していますが、今までは問題なく動作しています。
私が単にコマンドを失ったとき
bundle exec rails g
次のエラーが発生します
/Users/mpierc200/projects/prototype_conflux/vendor/gems/itrc_client_files_generator-1.0.13/lib/itrc_client_files_generator.rb:6:in `<top (required)>':
uninitialized constant Rails::Generators (NameError)
問題のある行は
class ItrcClientFilesGenerator < Rails::Generators::Base
私のRailsバージョンは
Rails 3.1.9
ルビーバージョンは
ruby 1.9.3p194