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 trialjoseph mallari
4,052 Pointsrails 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)
1 Answer
Matej Lukášik
27,440 PointsTry running 'bundle update' in your console and then try running your rails command again. Does it work now?
Pavel Razuvayev
4,128 PointsPavel Razuvayev
4,128 Pointsupdate 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]"