Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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?