New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/local/lib/ruby/gems/2.2.0/gems/puma-3.9.0/lib/puma/launcher.rb:166:in run': undefined method
clean_env' for Bundler:Module (NoMethodError)
#1312
Comments
I was creating new rails applications, and start rails server, everything was working. Then I started creating new applications, then when i start rails server, I got that error message. All new application I created afterward, got that error message. Then I tried copy the previous working application, the copied application works fine too. |
Run |
What's the best way for us to solve this? You can't do optional dependencies, so I guess we just have to have a code path for "bundler is defined but is old" |
I was too about to submit an issue on this, I'm stuck for a bit since I'm building apps in CloudFoundry and the ruby-buildpacks don't yet have the latest version of bundler. Note I was just looking at bundler source, not that it would probably fix having an older version of bundler, but it looks like Bundler.clean_env is deprecated |
@wangyuan99 @matobinder Can either of you try again with Puma master and tell me if that fixes the problem for you? gem 'puma', github: 'puma/puma' |
Fixed it for me. I tried it with bundler 1.9.7 and bundler 1.15.1 |
Alright, I'll roll up a patch release in a few hours. |
Worked for me as well. Thanks @nateberkopec |
Fixed in 3.9.1, out now. |
yeah, working now. thanks very much! |
@nateberkopec Worked perfectly, thanks. |
Steps to reproduce
...rails new myapp
...cd myapp
...rails server
Expected behavior
should see:
=> Booting Puma
=> Rails 5.0.3 application starting in development on http://localhost:3000
=> Run
rails server -h
for more startup optionsPuma starting in single mode...
Use Ctrl-C to stop
Actual behavior
got this:
=> Booting Puma
=> Rails 5.0.3 application starting in development on http://localhost:3000
=> Run
rails server -h
for more startup optionsExiting
/usr/local/lib/ruby/gems/2.2.0/gems/puma-3.9.0/lib/puma/launcher.rb:166:in
run': undefined method
clean_env' for Bundler:Module (NoMethodError)System configuration
Ruby version: 2.2.3
Rails version: 5.0.2
The text was updated successfully, but these errors were encountered: