{"action":"created","issue":{"url":"https://api.github.com/repos/postmodern/chruby/issues/357","repository_url":"https://api.github.com/repos/postmodern/chruby","labels_url":"https://api.github.com/repos/postmodern/chruby/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/postmodern/chruby/issues/357/comments","events_url":"https://api.github.com/repos/postmodern/chruby/issues/357/events","html_url":"https://github.com/postmodern/chruby/issues/357","id":128087841,"number":357,"title":"Puma does not work with chruby with version same as system","user":{"login":"iamrahil","id":1057802,"avatar_url":"https://avatars.githubusercontent.com/u/1057802?v=3","gravatar_id":"","url":"https://api.github.com/users/iamrahil","html_url":"https://github.com/iamrahil","followers_url":"https://api.github.com/users/iamrahil/followers","following_url":"https://api.github.com/users/iamrahil/following{/other_user}","gists_url":"https://api.github.com/users/iamrahil/gists{/gist_id}","starred_url":"https://api.github.com/users/iamrahil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamrahil/subscriptions","organizations_url":"https://api.github.com/users/iamrahil/orgs","repos_url":"https://api.github.com/users/iamrahil/repos","events_url":"https://api.github.com/users/iamrahil/events{/privacy}","received_events_url":"https://api.github.com/users/iamrahil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-22T05:30:13Z","updated_at":"2016-03-08T07:00:13Z","closed_at":null,"body":"I run Arch linux which has `ruby-2.3.0` installed as the system ruby. I also installed `ruby-2.3.0` with `ruby-install` for my rails app as the user. It installed it in `$HOME/.rubies`\r\n\r\nWhen I execute `rails server` using the system ruby, it runs fine. But when I chruby into 2.3.0, puma crashes with the error\r\n\r\n```\r\n/home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/puma-2.15.3/lib/puma/server.rb:15:in `require': incompatible library version - /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/puma-2.15.3/lib/puma/puma_http11.so (LoadError)\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/puma-2.15.3/lib/puma/server.rb:15:in `<top (required)>'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/puma-2.15.3/lib/puma.rb:14:in `require'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/puma-2.15.3/lib/puma.rb:14:in `<top (required)>'\r\n        from /home/rahil/.gem/ruby/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `require'\r\n        from /home/rahil/.gem/ruby/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `block (2 levels) in require'\r\n        from /home/rahil/.gem/ruby/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each'\r\n        from /home/rahil/.gem/ruby/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require'\r\n        from /home/rahil/.gem/ruby/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each'\r\n        from /home/rahil/.gem/ruby/2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require'\r\n        from /home/rahil/.gem/ruby/2.3.0/gems/bundler-1.11.2/lib/bundler.rb:99:in `require'\r\n        from /home/rahil/rails_dir/config/application.rb:7:in `<top (required)>'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:78:in `require'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:78:in `block in server'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:in `tap'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:in `server'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'\r\n        from /home/rahil/rails_dir/bin/rails:25:in `require'\r\n        from /home/rahil/rails_dir/bin/rails:25:in `<top (required)>'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/spring-1.6.2/lib/spring/client/rails.rb:28:in `load'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/spring-1.6.2/lib/spring/client/rails.rb:28:in `call'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/spring-1.6.2/lib/spring/client/command.rb:7:in `call'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/spring-1.6.2/lib/spring/client.rb:28:in `run'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/spring-1.6.2/bin/spring:49:in `<top (required)>'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/spring-1.6.2/lib/spring/binstub.rb:11:in `load'\r\n        from /home/rahil/rails_dir/vendor/bundle/ruby/2.3.0/gems/spring-1.6.2/lib/spring/binstub.rb:11:in `<top (required)>'\r\n        from /home/rahil/.rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n        from /home/rahil/.rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n        from /home/rahil/rails_dir/bin/spring:13:in `<top (required)>'\r\n        from bin/rails:3:in `load'\r\n        from bin/rails:3:in `<main>'\r\n```\r\n\r\nAm I missing something?"},"comment":{"url":"https://api.github.com/repos/postmodern/chruby/issues/comments/193634969","html_url":"https://github.com/postmodern/chruby/issues/357#issuecomment-193634969","issue_url":"https://api.github.com/repos/postmodern/chruby/issues/357","id":193634969,"user":{"login":"iamrahil","id":1057802,"avatar_url":"https://avatars.githubusercontent.com/u/1057802?v=3","gravatar_id":"","url":"https://api.github.com/users/iamrahil","html_url":"https://github.com/iamrahil","followers_url":"https://api.github.com/users/iamrahil/followers","following_url":"https://api.github.com/users/iamrahil/following{/other_user}","gists_url":"https://api.github.com/users/iamrahil/gists{/gist_id}","starred_url":"https://api.github.com/users/iamrahil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamrahil/subscriptions","organizations_url":"https://api.github.com/users/iamrahil/orgs","repos_url":"https://api.github.com/users/iamrahil/repos","events_url":"https://api.github.com/users/iamrahil/events{/privacy}","received_events_url":"https://api.github.com/users/iamrahil/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T07:00:13Z","updated_at":"2016-03-08T07:00:13Z","body":"I had to remove all gems I installed via the system ruby in my home\ndirectory\nOn 08-Mar-2016 10:00 AM, \"Barnett Klane\" <notifications@github.com> wrote:\n\n> @iamrahil <https://github.com/iamrahil> how were you able to get past\n> this error? hitting it myself right now.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/postmodern/chruby/issues/357#issuecomment-193600049>.\n>\n"}}