Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?