Closed choallin closed 7 years ago
Does the project use the global rbenv version?
And its Gemfile includes pry
?
Are you on macOS? What if you M-x rbenv-use-corresponding
first?
In the project I have a .ruby-version file (content: 2.3.1) This is not the default ruby version.
I have pry in my Gemfile (in the development group) inf-ruby tries to start pry.
I run Ubunut 16.04. If I run the rbenv command it is working. Thanks! :-) Since I am totally new to Emacs, how can I configure emacs to run this command before the console command?
If you're using Ubuntu, I recommend putting the rbenv settings into ~/.profile
, removing them from ~/.bashrc
where you've probably put them, rebooting (or you can try just logging off and loggin in), and removing the rbenv Emacs package and its settings. You won't need it. :)
@choallin Any difficulties doing that?
@dgutov Thanks! No problems
Great!
I'm totally new to Emacs, but I want to switch to it for Ruby development. Right now I have a problem to load the right Ruby version for pry
I'm using rbenv to manage Ruby versions. If I want to start the auto console I get this error:
I configured rbenv in my init.el like this:
(global-rbenv-mode) (rbenv-use-global)
Did I miss something?