Skip to content

Instantly share code, notes, and snippets.

@leondmello
Last active June 22, 2020 17:45
Show Gist options
  • Save leondmello/0950f8195a447f7a990fe54ab7e59c33 to your computer and use it in GitHub Desktop.
Save leondmello/0950f8195a447f7a990fe54ab7e59c33 to your computer and use it in GitHub Desktop.
Bundler unable to find native extension gems in ./vendor/bundle
[jenkins@tel-web-sob-r01-n01 2.1.10]$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.7.6.2
- RUBY VERSION: 2.5.5 (2019-03-15 patchlevel 157) [x86_64-linux]
- INSTALLATION DIRECTORY: /opt/rh/rh-ruby25/root/usr/share/gems
- USER INSTALLATION DIRECTORY: /home/jenkins/.gem/ruby
- RUBY EXECUTABLE: /opt/rh/rh-ruby25/root/usr/bin/ruby
- EXECUTABLE DIRECTORY: /opt/rh/rh-ruby25/root/usr/bin
- SPEC CACHE DIRECTORY: /home/jenkins/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc/opt/rh/rh-ruby25
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /opt/rh/rh-ruby25/root/usr/share/gems
- /opt/rh/rh-ruby25/root/usr/local/share/gems
- /var/rails_builds/alarm-helper-rails/2.1.10/vendor/bundle/ruby/2.5.0/gems
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--user-install --bindir /home/jenkins/bin"
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /opt/rh/rh-nodejs10/root/usr/bin
- /opt/rh/rh-ruby25/root/usr/local/bin
- /opt/rh/rh-ruby25/root/usr/bin
- /sbin
- /bin
- /usr/sbin
- /usr/bin
- /opt/bb/bin
- /opt/bb/sbin
- /usr/local/sbin
- /home/jenkins/.local/bin
- /home/jenkins/bin
[jenkins@tel-web-sob-r01-n01 2.1.10]$ bundle env
## Environment
```
Bundler 2.0.2
Platforms ruby, x86_64-linux
Ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]
Full Path /opt/rh/rh-ruby25/root/usr/bin/ruby
Config Dir /etc/opt/rh/rh-ruby25
RubyGems 2.7.6.2
Gem Home /opt/rh/rh-ruby25/root/usr/share/gems
Gem Path /opt/rh/rh-ruby25/root/usr/share/gems:/opt/rh/rh-ruby25/root/usr/local/share/gems:/var/rails_builds/alarm-helper-rails/2.1.10/vendor/bundle/ruby/2.5.0/gems
User Path /home/jenkins/.gem/ruby
Bin Dir /opt/rh/rh-ruby25/root/usr/bin
Tools
Git 1.8.3.1
RVM not installed
rbenv not installed
chruby not installed
```
## Bundler Build Metadata
```
Built At 2019-06-13
Git SHA 496bca538
Released Version true
```
## Bundler settings
```
path
Set for your local app (xxx/.bundle/config): "vendor/bundle/"
```
## Gemfile
### Gemfile
```ruby
gem 'capistrano', '3.5.0'
gem 'capistrano-bundler', '~> 1.2.0'
gem 'capistrano-rails', '~> 1.2.2'
gem 'capistrano-scm-copy', '0.7.0'
gem 'capistrano3-puma', '1.2.1'
gem 'puma', '~> 3.7'
gem 'rails', '~> 5.2'
group :development do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'web-console', '>= 3.3.0'
end
gem 'versionator'
```
### Gemfile.lock
```
GEM
specs:
actioncable (5.2.4.3)
actionpack (= 5.2.4.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.4.3)
actionpack (= 5.2.4.3)
actionview (= 5.2.4.3)
activejob (= 5.2.4.3)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.4.3)
actionview (= 5.2.4.3)
activesupport (= 5.2.4.3)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.4.3)
activesupport (= 5.2.4.3)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.4.3)
activesupport (= 5.2.4.3)
globalid (>= 0.3.6)
activemodel (5.2.4.3)
activesupport (= 5.2.4.3)
activerecord (5.2.4.3)
activemodel (= 5.2.4.3)
activesupport (= 5.2.4.3)
arel (>= 9.0)
activestorage (5.2.4.3)
actionpack (= 5.2.4.3)
activerecord (= 5.2.4.3)
marcel (~> 0.3.1)
activesupport (5.2.4.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
airbrussh (1.3.0)
sshkit (>= 1.6.1, != 1.7.0)
arel (9.0.0)
bindex (0.5.0)
builder (3.2.4)
byebug (9.0.6)
capistrano (3.5.0)
airbrussh (>= 1.0.0)
capistrano-harrow
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.2.0)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-harrow (0.5.3)
capistrano-rails (1.2.3)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-scm-copy (0.7.0)
capistrano (~> 3.0)
capistrano3-puma (1.2.1)
capistrano (~> 3.0)
puma (>= 2.6)
concurrent-ruby (1.1.6)
crass (1.0.6)
erubi (1.9.0)
ffi (1.9.18)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (1.8.3)
concurrent-ruby (~> 1.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.6.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (0.3.3)
mimemagic (~> 0.3.2)
method_source (1.0.0)
mimemagic (0.3.5)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.14.1)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (4.1.0)
nio4r (2.5.2)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
puma (3.9.1)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.4.3)
actioncable (= 5.2.4.3)
actionmailer (= 5.2.4.3)
actionpack (= 5.2.4.3)
actionview (= 5.2.4.3)
activejob (= 5.2.4.3)
activemodel (= 5.2.4.3)
activerecord (= 5.2.4.3)
activestorage (= 5.2.4.3)
activesupport (= 5.2.4.3)
bundler (>= 1.3.0)
railties (= 5.2.4.3)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (5.2.4.3)
actionpack (= 5.2.4.3)
activesupport (= 5.2.4.3)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (13.0.1)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
ruby_dep (1.5.0)
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sshkit (1.14.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
systemu (2.6.5)
thor (1.0.1)
thread_safe (0.3.6)
tzinfo (1.2.7)
thread_safe (~> 0.1)
versionator (0.2.6)
systemu (~> 2)
web-console (3.5.1)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
websocket-driver (0.7.2)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
PLATFORMS
ruby
DEPENDENCIES
byebug
capistrano (= 3.5.0)
capistrano-bundler (~> 1.2.0)
capistrano-rails (~> 1.2.2)
capistrano-scm-copy (= 0.7.0)
capistrano3-puma (= 1.2.1)
listen (>= 3.0.5, < 3.2)
puma (~> 3.7)
rails (~> 5.2)
versionator
web-console (>= 3.3.0)
BUNDLED WITH
2.0.2
```
[jenkins@tel-web-sob-r01-n01 2.1.10]$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.7.6.2
- RUBY VERSION: 2.5.5 (2019-03-15 patchlevel 157) [x86_64-linux]
- INSTALLATION DIRECTORY: /opt/rh/rh-ruby25/root/usr/share/gems
- USER INSTALLATION DIRECTORY: /home/jenkins/.gem/ruby
- RUBY EXECUTABLE: /opt/rh/rh-ruby25/root/usr/bin/ruby
- EXECUTABLE DIRECTORY: /opt/rh/rh-ruby25/root/usr/bin
- SPEC CACHE DIRECTORY: /home/jenkins/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc/opt/rh/rh-ruby25
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /opt/rh/rh-ruby25/root/usr/share/gems
- /opt/rh/rh-ruby25/root/usr/local/share/gems
- /var/rails_builds/alarm-helper-rails/2.1.10/vendor/bundle/ruby/2.5.0/gems
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--user-install --bindir /home/jenkins/bin"
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /opt/rh/rh-nodejs10/root/usr/bin
- /opt/rh/rh-ruby25/root/usr/local/bin
- /opt/rh/rh-ruby25/root/usr/bin
- /sbin
- /bin
- /usr/sbin
- /usr/bin
- /opt/bb/bin
- /opt/bb/sbin
- /usr/local/sbin
- /home/jenkins/.local/bin
- /home/jenkins/bin
[root@045ce9939883 code]# bundle env
## Environment
```
Bundler 2.0.2
Platforms ruby, x86_64-linux
Ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]
Full Path /usr/local/bin/ruby
Config Dir /usr/local/etc
RubyGems 2.6.14
Gem Home /usr/local/bundle
Gem Path /root/.gem/ruby/2.5.0:/usr/local/lib/ruby/gems/2.5.0:/usr/local/bundle
User Path /root/.gem/ruby/2.5.0
Bin Dir /usr/local/bundle/bin
Tools
Git 1.8.3.1
RVM not installed
rbenv not installed
chruby not installed
```
## Bundler Build Metadata
```
Built At 2019-06-13
Git SHA 496bca538
Released Version true
```
## Bundler settings
```
path
Set for your local app (/usr/local/bundle/config): "vendor/bundle"
Set via BUNDLE_PATH: "/usr/local/bundle"
silence_root_warning
Set via BUNDLE_SILENCE_ROOT_WARNING: true
app_config
Set via BUNDLE_APP_CONFIG: "/usr/local/bundle"
bin
Set via BUNDLE_BIN: "/usr/local/bundle/bin"
```
## Gemfile
### Gemfile
```ruby
gem 'capistrano', '3.5.0'
gem 'capistrano-bundler', '~> 1.2.0'
gem 'capistrano-rails', '~> 1.2.2'
gem 'capistrano-scm-copy', '0.7.0'
gem 'capistrano3-puma', '1.2.1'
gem 'puma', '~> 3.7'
gem 'rails', '~> 5.2'
group :development do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'web-console', '>= 3.3.0'
end
gem 'versionator'
```
### Gemfile.lock
```
GEM
specs:
actioncable (5.2.4.3)
actionpack (= 5.2.4.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.4.3)
actionpack (= 5.2.4.3)
actionview (= 5.2.4.3)
activejob (= 5.2.4.3)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.4.3)
actionview (= 5.2.4.3)
activesupport (= 5.2.4.3)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.4.3)
activesupport (= 5.2.4.3)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.4.3)
activesupport (= 5.2.4.3)
globalid (>= 0.3.6)
activemodel (5.2.4.3)
activesupport (= 5.2.4.3)
activerecord (5.2.4.3)
activemodel (= 5.2.4.3)
activesupport (= 5.2.4.3)
arel (>= 9.0)
activestorage (5.2.4.3)
actionpack (= 5.2.4.3)
activerecord (= 5.2.4.3)
marcel (~> 0.3.1)
activesupport (5.2.4.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
airbrussh (1.3.0)
sshkit (>= 1.6.1, != 1.7.0)
arel (9.0.0)
bindex (0.5.0)
builder (3.2.4)
byebug (9.0.6)
capistrano (3.5.0)
airbrussh (>= 1.0.0)
capistrano-harrow
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.2.0)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-harrow (0.5.3)
capistrano-rails (1.2.3)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-scm-copy (0.7.0)
capistrano (~> 3.0)
capistrano3-puma (1.2.1)
capistrano (~> 3.0)
puma (>= 2.6)
concurrent-ruby (1.1.6)
crass (1.0.6)
erubi (1.9.0)
ffi (1.9.18)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (1.8.3)
concurrent-ruby (~> 1.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.6.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (0.3.3)
mimemagic (~> 0.3.2)
method_source (1.0.0)
mimemagic (0.3.5)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.14.1)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (4.1.0)
nio4r (2.5.2)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
puma (3.9.1)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.4.3)
actioncable (= 5.2.4.3)
actionmailer (= 5.2.4.3)
actionpack (= 5.2.4.3)
actionview (= 5.2.4.3)
activejob (= 5.2.4.3)
activemodel (= 5.2.4.3)
activerecord (= 5.2.4.3)
activestorage (= 5.2.4.3)
activesupport (= 5.2.4.3)
bundler (>= 1.3.0)
railties (= 5.2.4.3)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (5.2.4.3)
actionpack (= 5.2.4.3)
activesupport (= 5.2.4.3)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (13.0.1)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
ruby_dep (1.5.0)
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sshkit (1.14.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
systemu (2.6.5)
thor (1.0.1)
thread_safe (0.3.6)
tzinfo (1.2.7)
thread_safe (~> 0.1)
versionator (0.2.6)
systemu (~> 2)
web-console (3.5.1)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
websocket-driver (0.7.2)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
PLATFORMS
ruby
DEPENDENCIES
byebug
capistrano (= 3.5.0)
capistrano-bundler (~> 1.2.0)
capistrano-rails (~> 1.2.2)
capistrano-scm-copy (= 0.7.0)
capistrano3-puma (= 1.2.1)
listen (>= 3.0.5, < 3.2)
puma (~> 3.7)
rails (~> 5.2)
versionator
web-console (>= 3.3.0)
BUNDLED WITH
2.0.2
[root@045ce9939883 code]# gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.6.14
- RUBY VERSION: 2.5.5 (2019-03-15 patchlevel 157) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/local/bundle
- USER INSTALLATION DIRECTORY: /root/.gem/ruby/2.5.0
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bundle/bin
- SPEC CACHE DIRECTORY: /root/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /usr/local/etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/local/bundle
- /root/.gem/ruby/2.5.0
- /usr/local/lib/ruby/gems/2.5.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- SHELL PATH:
- /usr/local/bundle/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/pgsql-*/bin
gem 'capistrano', '3.5.0'
gem 'capistrano-bundler', '~> 1.2.0'
gem 'capistrano-rails', '~> 1.2.2'
gem 'capistrano-scm-copy', '0.7.0'
gem 'capistrano3-puma', '1.2.1'
gem 'puma', '~> 3.7'
gem 'rails', '~> 5.2'
group :development do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'web-console', '>= 3.3.0'
end
gem 'versionator'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment