Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Generate a Rails Application

joseph mallari
joseph mallari
4,052 Points

rails command would not generate files

/Users/macbook/.rbenv/versions/1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:315:in `to_specs': Could not find 'actionpack' (= 4.1.4) - did find: [actionpack-4.0.3,actionpack-4.0.1] (Gem::LoadError)

Pavel Razuvayev
Pavel Razuvayev
4,128 Points

update your ruby and gems, you have outdated version of actionpack. "Could not find 'actionpack' (= 4.1.4) - did find: [actionpack-4.0.3,actionpack-4.0.1]"

1 Answer

Try running 'bundle update' in your console and then try running your rails command again. Does it work now?