Mac OS X (El Capitan)에서 Rails 4.2.7을 사용하고 있습니다. 내 Gemfile 끝 부분에 (내 프로덕션 환경에서는)이 있습니다. 나는 ... 내 Gmefile에Rails 개발 환경에서 실행할 때 "생산"그룹이 호출되지 않도록하려면 어떻게해야합니까?
group :production do
gem 'pg'
gem 'unicorn'
gem 'puma'
end
를 푸마에 대한 다른 참조가 없다하지만 난 내 개발 컴퓨터 (내 맥) 내 레일 서버를 시작하려고 할 때, ... 푸마를 시작하려고
localhost:networkingproject localuser$ rails s -b 127.0.0.1
=> Booting Puma
=> Rails 4.2.7.1 application starting in development on http://127.0.0.1:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[93431] Puma starting in cluster mode...
[93431] * Version 3.6.0 (ruby 2.3.0-p0), codename: Sleepy Sunday Serenity
[93431] * Min threads: 1, max threads: 6
[93431] * Environment: development
[93431] * Process workers: 1
[93431] * Phased restart available
[93431] * Listening on tcp://127.0.0.1:3000
[93431] Use Ctrl-C to stop
localhost:networkingproject localuser$
RAILS_ENV 세트가 없습니다. 아래는 아무 것도 울리지 않습니다 ...
내 개발 (Mac) 환경에서 Rails를 Puma없이 (정상적으로) 실행하려면 어떻게해야합니까?
편집 : 주어진 제안에 응답 출력 ...
localhost:networkingproject localuser$ rails s -b 127.0.0.1
Could not find gem 'puma' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.