ruby script/generate controller today index

Subscribe to ruby script/generate controller today index 2 post(s), 2 voice(s)

 
Avatar ianisborn 1 post

Hey so on page 36 I run said command in monkey and I get the error:

/Users/ianhenrysmith/monkey/config/boot.rb:45:in `require’: no such file to load—/Users/ianhenrysmith/monkey/config/../vendor/rails/railties/lib/initializer (LoadError) from /Users/ianhenrysmith/monkey/config/boot.rb:45:in `load_initializer’ from /Users/ianhenrysmith/monkey/config/boot.rb:38:in `run’ from /Users/ianhenrysmith/monkey/config/boot.rb:11:in `boot!’ from /Users/ianhenrysmith/monkey/config/boot.rb:110 from script/generate:2:in `require’ from script/generate:2

Haven’t run into any problems so far setting up rails or the db or anything. Thanks!

 
Avatar EldonAlameda Administrator 216 post(s)

It sounds like a mismatch of Rails version to codebase. Are you running a newer version of Rails on the downloaded code?