function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Heroku/Ruby Newbie questions

I'm working my way through the Heroku workbook and have hit a roadblock early in the process. I have installed Ruby and the Heroku toolbelt and am trying to set up a Gemfile as documented in the workbook. 


I can run the $gem install bundler command, but when I try to execute the next step, $bundle install - I get the following error: 

Bundler: GemfileNotFound


Any suggestions? I have a file called Gemfile.rb in the workbook directory. What am I missing? 




Max SchoeningMax Schoening

Hey Joann,

Max from Heroku here. Bundler will look for a Gemfile by default. Try renaming your file to just "Gemfile" and drop the .rb.


P.S: If for some reason you want to keep using Gemfile.rb you can. Simply run this command instead:


BUNDLE_GEMFILE=Gemfile.rb bundle install
Thank you! That was exactly what I needed.