Open iamrahil opened 8 years ago
@iamrahil how were you able to get past this error? hitting it myself right now.
I had to remove all gems I installed via the system ruby in my home directory On 08-Mar-2016 10:00 AM, "Barnett Klane" notifications@github.com wrote:
@iamrahil https://github.com/iamrahil how were you able to get past this error? hitting it myself right now.
— Reply to this email directly or view it on GitHub https://github.com/postmodern/chruby/issues/357#issuecomment-193600049.
@iamrahil yup, hit that last night. I ended up having rvm
and rbenv
both installed on an old computer. Removed the .gem
and .rvm
directory and seems to work perfectly now. Thanks!
What is head -n1 home/rahil/rails_dir/bin/spring
? I suspect spring is running under system ruby instead of .rubies/ruby-2.3.0
.
What is head -n1 home/rahil/rails_dir/bin/spring?
#!/usr/bin/env ruby
rails console
works. It also preloads via spring
I run Arch linux which has
ruby-2.3.0
installed as the system ruby. I also installedruby-2.3.0
withruby-install
for my rails app as the user. It installed it in$HOME/.rubies
When I execute
rails server
using the system ruby, it runs fine. But when I chruby into 2.3.0, puma crashes with the errorAm I missing something?