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 trialmartin van de loo
504 PointsProject 'Build a simple rails application' / 'cloning the project'
Hallo, When I try to follow the steps - I get my first error message because the bundle requires rake 0.9.2.2 when I use rake db:migrate. I fixed this via using bundle exec in front of the command.
But then when I use rails s I got:
"Looks like your app's ./bin/rails is a stub that was generated by Bundler. In Rails 4, your app's bin/ directory contains executables that are versioned like any other source code, rather than stubs that are generated on demand. Here's how to upgrade: bundle config --delete bin # Turn off Bundler's stub generator rake rails:update:bin # Use the new Rails 4 executables git add bin # Add bin/ to source control"
At the second step bundle exec doesn't work. Does anyone know what to do? Thanks, Martin
2 Answers
Jason Seifer
Treehouse Guest TeacherHey martin van de loo what version of Rails are you using for the project? We're working on Rails 4 videos right now but you will encounter differences between what we have on the site with Rails 3.2 vs what works with Rails 4.
martin van de loo
504 PointsHey Jason, thanks for the reply - I am using Rails 4.0.0.