Ruby On Rails Classroom image

Anil  Bist / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2|
Lessons:- Eliminating bundle exec

If you add another executable (such as guard in Section 3.6.2), you should re-run the bundle install command

$ bundle install --binstubs=./bundler stubs

 

binstubs

If you’re not using RVM, you can still avoid typing bundle exec. Bundler allows the creation of the associated binaries as follows:

bundle --binstubs

 

(In fact, this step, with a different target directory, is also used when using RVM.) This command creates all the necessary executables in the bin/ directory of the application, so that we can now run the test suite as follows:

$  bin/rspec spec/  

 

The same goes for rake, etc.:

$  bin/rake db:migrate  

If you add another executable (such as guard in Section 3.6.2), you should re-run the bundle --binstubs command. For the sake of readers who skip this section, the rest of this tutorial will err on the side of caution and explicitly use bundle exec, but of course you should feel free to use the more compact version if your system is properly configured.  

 
 
 
image
Anil  Bist

Skills    Ruby On Rails

Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,
Location :-Dehradun,Dehradun,Uttarakhand,India
Description:-

I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore

 

  Students (0)