title: Error: Rack app won't run -- bundler/setup
body: <p>I'm completely new to Ruby (and RoR) and I'm trying to set up a local environment to help work on a site. Ideally, I would work on it locally, and then commit the changes to github and push it further down the pipeline from there.</p>
  
  <p>I'm on a brand new Macbook Pro running OSX Lion.</p>
  
  <p>I have had much trouble trying to get it work:</p>
  
  <ul>
  <li>Installed Xcode Command Line Tools and RVM couldn't install latest version of ruby because it failed to compile with LLVM (Lion default compiler)</li>
  <li>compiled ruby using a special flag it asked me to use (forgot what it was), but then was having trouble with Postgres and Pow</li>
  <li>Tried installing a standalone GCC to compile ruby correctly thinking it may solve the problem. Pow still gave me errors.</li>
  </ul>
  
  <p>I have tried removing and installing everything I could think of, and still nothing. I stress: I'm a noob.</p>
  
  <p>I finally found a script called <em>railsready</em> that sets up ruby and RoR for you (https://github.com/joshfng/railsready) which failed to recognize Xcode since Lion installs it into Applications (the script checked for it by looking for an Xcode .plist file in Library/Developer). The author helped be out by updating the code to look for gcc instead and it tried installing but failed because it couldn't write to my <code>.bash_profile</code>. I removed it and tried it again, and it worked.</p>
  
  <p>I installed Pow so I can have it run on a custom domain (website.dev) and have multiple apps under different domains. Now it's giving me this error and I have no idea what it means or how to go about it.</p>
  
  <p><strong>I would really appreciate any help</strong>. Most ruby guys I talk to have no idea what this is about, and why Lion is so much trouble to set up on. They are on older (Snow Leopard) machines.</p>
  
  <h2>The Error</h2>
  
  <pre><code>Your Rack app raised an exception when Pow tried to run it.
  LoadError: no such file to load -- bundler/setup
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
  ~/Github/letsordernow/config/boot.rb:6
  ~/Github/letsordernow/config/application.rb:1:in `require'
  ~/Github/letsordernow/config/application.rb:1
  ~/Github/letsordernow/config/environment.rb:2:in `require'
  ~/Github/letsordernow/config/environment.rb:2
  ~/Github/letsordernow/config.ru:3:in `require'
  ~/Github/letsordernow/config.ru:3
  ~/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/builder.rb:4:in `instance_eval'
  ~/Library/Application    Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/builder.rb:4:in `initialize'
  ~/Github/letsordernow/config.ru:1:in `new'
  ~/Github/letsordernow/config.ru:1
  </code></pre>