Closed zw963 closed 4 years ago
Hi!
If your Ruby version compiled with Readline support?
[DEPRECATED] bundle console will be replaced by bin/console generated by bundle gem
How about that bin/console
file, BTW? Does it exist? Can you edit it to enable nomultiline mode, as mentioned here: https://github.com/ruby/irb/issues/43#issuecomment-589593889
?
How about that bin/console file, BTW? Does it exist?
Not exists, it just a little test project for test Robe which created manually.
Can you edit it to enable nomultiline mode, as mentioned here: ruby/irb#43 (comment)
Yes, i test it, it works as expected after add following config into ~/.irbrc, thank you.
# We need set following enviroment variable in emacs with:
# (setenv "LOAD_FROM_EMACS" "t")
if ENV['LOAD_FROM_EMACS']
IRB.conf[:USE_MULTILINE] = false
end
I saw several issue was created subject to this multi-line issue, i create a PR #135 for clarify this, do you consider merge?
We can continue discuss there.
https://github.com/nonsequitur/inf-ruby/pull/135#issuecomment-676242155
I test it on a very simple project.
[DEPRECATED] bundle console will be replaced by
bin/console
generated bybundle gem <name>
irb: warn: can't alias context from irb_context. ▽--- ERROR REPORT TEMPLATE -------------------------------------------------------Error Report
Questions
Please fill out answers to these questions, it'll help us figure out why things are going wrong.
What did you do?
I ran the command
/home/zw963/.rvm/rubies/ruby-2.7.1/bin/bundle
What did you expect to happen?
I expected run
inf-ruby-console-auto
successful as we did on 2.6.3What happened instead?
Instead, when i run
info-ruby-console-auto
, it get blocked permanently.Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried...
Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...
Backtrace
Following is the backtrace when i press C-g on emacs.
Environment
Bundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error: https://github.com/bundler/bundler/search?q=undefined+method+%60pre_match%27+for+nil+NilClass&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at: https://github.com/bundler/bundler/issues/new
Process bundle console exited abnormally with code 1