Skip to content

Instantly share code, notes, and snippets.

@dminuoso
Created June 7, 2019 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dminuoso/c59efb68136b6f8e1f665125d709bfab to your computer and use it in GitHub Desktop.
Save dminuoso/c59efb68136b6f8e1f665125d709bfab to your computer and use it in GitHub Desktop.
[nix-shell:~/wobcom/projects/apax]$ RAILS_SERVE_STATIC_FILES=1 RAILS_ENV=demonstration bundle exec rails c -e demonstration
Warning: NLS_LANG is not set. fallback to US7ASCII.
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:84:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'haml-rails'.
Gem Load Error is: uninitialized constant ActionView::Template::Handlers::Erubis
Backtrace for gem load error is:
/home/dminuoso/.gem/ruby/2.4.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb:3:in `<module:Haml>'
/home/dminuoso/.gem/ruby/2.4.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb:1:in `<top (required)>'
/home/dminuoso/.gem/ruby/2.4.0/gems/haml-4.0.7/lib/haml/railtie.rb:21:in `<top (required)>'
/home/dminuoso/.gem/ruby/2.4.0/gems/haml-4.0.7/lib/haml.rb:23:in `<top (required)>'
/home/dminuoso/.gem/ruby/2.4.0/gems/haml-rails-0.9.0/lib/haml-rails.rb:1:in `<top (required)>'
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:81:in `require'
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:76:in `each'
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:76:in `block in require'
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:65:in `each'
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:65:in `require'
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler.rb:114:in `require'
/home/dminuoso/wobcom/projects/apax/config/application.rb:8:in `<top (required)>'
/home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:92:in `require'
/home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:92:in `preload'
/home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
/home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
/home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
/home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
/home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
/nix/store/ak9r4kv4bdi6vca3h78n5zp0r6my6g8h-ruby-2.4.5/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/nix/store/ak9r4kv4bdi6vca3h78n5zp0r6my6g8h-ruby-2.4.5/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require'
-e:1:in `<main>'
Bundler Error Backtrace:
(Bundler::GemRequireError)
from /nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:80:in `block (2 levels) in require'
from /nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:76:in `each'
from /nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:76:in `block in require'
from /nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:65:in `each'
from /nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler/runtime.rb:65:in `require'
from /nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0/gems/bundler-1.16.3/lib/bundler.rb:114:in `require'
from /home/dminuoso/wobcom/projects/apax/config/application.rb:8:in `<top (required)>'
from /home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:92:in `require'
from /home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:92:in `preload'
from /home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
from /home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
from /home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
from /home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
from /home/dminuoso/.gem/ruby/2.4.0/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
from /nix/store/ak9r4kv4bdi6vca3h78n5zp0r6my6g8h-ruby-2.4.5/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /nix/store/ak9r4kv4bdi6vca3h78n5zp0r6my6g8h-ruby-2.4.5/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from -e:1:in `<main>'
[nix-shell:~/wobcom/projects/apax]$ echo $GEM_PATH
/nix/store/hpm2hmwbk1arhj26b34wkk1v3m732cr1-bundler-1.16.3/lib/ruby/gems/2.5.0:/nix/store/ak9r4kv4bdi6vca3h78n5zp0r6my6g8h-ruby-2.4.5/lib/ruby/gems/2.4.0:/nix/store/ak9r4kv4bdi6vca3h78n5zp0r6my6g8h-ruby-2.4.5/lib/ruby/gems/2.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment