2017-12-28 3 views
0

퓨마를 설치하고 실행하려고합니다.루비 번들러가 푸마 보석을 설치했지만 퓨마가 확장 기능을 찾을 수 없습니다.

내 gemfile 로컬 추출 보석 (서버가 인터넷에 액세스 할 수 없습니다 및 들러는 보석을 통해 설치 설치됩니다)가 있습니다

bundle install --local --path ./bundle --deployment 

생산 어떤 : 내가 지금처럼 번들 실행

gem 'rack', '=2.0.3', :path => "/opt/app-root/src/gems/rack-2.0.3" 
gem 'puma', '=3.11.0', :path => "/opt/app-root/src/gems/puma-3.11.0" 

를 :

Using bundler 1.16.1 
Using puma 3.11.0 from source at `/opt/app-root/src/gems/puma-3.11.0` 
Using rack 2.0.3 from source at `/opt/app-root/src/gems/rack-2.0.3` 
Bundle complete! 2 Gemfile dependencies, 3 gems now installed. 
Bundled gems are installed into `./bundle` 

그런 다음 실행 :

01 또는 이와 유사한 문제가되지 않을 수있다이 게시물 https://github.com/bundler/bundler/issues/5398 제외

/opt/app-root/src/gems/puma-3.11.0/lib/puma/server.rb:15:in `require': cannot load such file -- puma/puma_http11 (LoadError) 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/server.rb:15:in `<top (required)>' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/runner.rb:1:in `require' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/runner.rb:1:in `<top (required)>' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/cluster.rb:1:in `require' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/cluster.rb:1:in `<top (required)>' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/launcher.rb:4:in `require' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/launcher.rb:4:in `<top (required)>' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/cli.rb:5:in `require' 
    from /opt/app-root/src/gems/puma-3.11.0/lib/puma/cli.rb:5:in `<top (required)>' 
    from /opt/app-root/src/gems/puma-3.11.0/bin/puma:6:in `require' 
    from /opt/app-root/src/gems/puma-3.11.0/bin/puma:6:in `<top (required)>' 
    from /opt/app-root/src/ruby/vendor/bundle/ruby/2.4.0/bin/puma:22:in `load' 
    from /opt/app-root/src/ruby/vendor/bundle/ruby/2.4.0/bin/puma:22:in `<main>' 

나는이 문제에 대한 아주 작은 정보를 찾을 수 있습니다 -하지만 난 몰라 :

bundle exec "puma --config puma.cfg" 

23,516,누락 된 내선으로 문제를 생성 그것을 해결하는 방법 (다시 실행 들러 나를 도움이되지 않습니다 설치!) 예상대로

그런데

가, 내선이 추출 된 보석에 존재 :

O를 PT/응용 프로그램 루트/SRC/보석/푸마-3.11.0/내선/puma_http11

답변

0

extpuma11 물건 컴파일 된 라이브러리입니다; 해당 컴파일 결과는 puma_http11.bundle으로 설치 과정의 일부로 lib/puma 디렉토리에 복사됩니다. 이 .bundle 파일을 가지고 있습니까?

젬 (Gems 포함)의 원시 코드 부분을 빌드하거나 복사하기 위해 로컬 추출 프로세스에서 문제가 있거나 누락 된 단계가있는 것 같습니다. Github의 puma 저장소에있는 Rakefile에는 네이티브 ragel을 사용하여 조각.

관련 문제