Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby

Jason Hornbuckle
Jason Hornbuckle
1,546 Points

Generate a Rails Application Failing

In 'Getting Started With Rails' I got as far as 'Generate a Rails Application' and it failed. The create process seems to fail at 'bundle install':

run bundle install /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems.rb:308:in bin_path': can't find gem bundler (>= 0) (Gem::GemNotFoundException) from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/generators/app_base.rb:254:inbundle_command' from /usr/local/rvm/rubies/ruby-1.9.3-p392/lib/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/generators/app_base.rb:258:in run_bundle' from (eval):1:inrun_bundle'

The Tresshous tutorial assumes that the railsinstaller program that is used to set things up will work. But when it doesn't work, where do we go from there?

1 Answer

Give this a try first

gem install bundle