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
Graeme Hardie
724 PointsSimple Form Problem
I'm getting this error when I try use simple form
undefined method `simple_form_for'
I'm currently on this video
6 Answers
Jim Hoskins
Treehouse Guest TeacherHave you restarted your rails server after running bundle install after adding it to your gemfile?
Graeme Hardie
724 PointsHi Jim,
Yeah that fixed it for me.
I've encountered another problem with the bundler though.
When I try to run bundle install It appears to be referencing ruby 1.9.2 not 1.9.3 so it throws up an error and the bundle command doesn't work.
Any ideas how to fix this?
Thanks
Jim Hoskins
Treehouse Guest TeacherNot sure, I'm going to ask Jason
Jason Seifer
Treehouse Guest TeacherCan you paste the error that it gives you?
Graeme Hardie
724 Pointssh.exe": /c/Program Files (x86)/ruby-1.9.2/bin/bundle: "C:/Program: bad interpreter: No such file or directory
Thanks
Jason Seifer
Treehouse Guest TeacherHey Graeme,
That's a strange error I haven't seen before. A quick Google search turned this up:
http://stackoverflow.com/questions/13897825/bundle-command-not-found-windows-x64
Are you running a 64 bit Windows install? If so, can you try the instructions in above link and see if it helps?