How can I restore my Rails 4 binstubs? -


i regenerated binstubs @ point. used spring worked flawlessly , after first time brought rails console, console come instantly.

now appears spring no longer running.

when type:

rails console 

i get:

looks app's ./bin/rails stub generated bundler.  in rails 4, app's bin/ directory contains executables versioned other source code, rather stubs generated on demand.  here's how upgrade:    bundle config --delete bin    # turn off bundler's stub generator   rake rails:update:bin         # use new rails 4 executables   git add bin                   # add bin/ source control  may need remove bin/ .gitignore well.  when install gem executable want use in app, generate , add source control:    bundle binstubs some-gem-name   git add bin/new-executable  loading development environment (rails 4.2.3) [1] pry(main)>  

if type:

spring rails console 

i same message, instead of console coming returned command line.

how can command working way in new rails app?

i didn't want delete whole bin directory, , added git. ran:

rake rails:update:bin 

and messages went away.


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -