nonsequitur / inf-ruby

218 stars 69 forks source link

inf-ruby with non-project managed ruby files #112

Closed cinsk closed 6 years ago

cinsk commented 6 years ago

Hi,

Some times ago, I was able to run M-x run-ruby to launch ruby interpreter dealing with ruby files. Normally, I have bunch of standalone ruby files (without Gemfile, or others), and able to launch inf-ruby.

Just updated to the latest version, found that run-ruby is no longer a command, and I need to run inf-ruby-auto-enter, which does not accept a single standalone ruby file. I do not want to create additional files as this is not a project managed ruby files, but a set of small standalone scripts without dependencies to any external files (not even Gemfile, no bundle program).

Is it possible to run inf-ruby for a just a simple ruby file?

Thanks.

dgutov commented 6 years ago

Just call M-x inf-ruby.

I agree that the lack of consistency with the other packages is unfortunate (didn't consider that at the time). Some creative renaming is probably in order.