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 Installing Rails on Mac

Rusli Rusli
Rusli Rusli
847 Points

ruby 2.5.1 with rails 5.0.0

I am installing newest ruby version which is ruby 2.5.1 with rails 5.0.0, when I tried create new app i am getting error;

/usr/local/opt/ruby/bin/ruby: No such file or directory -- /usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle (LoadError) run bundle exec spring binstub --all

tried that bundle exec but still same issue

1 Answer

Jay McGavren
STAFF
Jay McGavren
Treehouse Teacher

You've on a Mac and using RVM, correct? I would recommend installing Ruby 2.3.1 as shown in the video. Using a different version of Ruby or Rails could lead to incompatibilities that will prevent you from following along with the videos.

If you install Ruby 2.3.1 and still have the same problem, you might try running gem install bundler to update your version of Bundler.