Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7562961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:32:35+00:00 2026-05-30T13:32:35+00:00

I am trying to use https://github.com/rifraf/Vendorize which is run using a command like D:\projects\SomeLibrary\lib>ruby

  • 0

I am trying to use https://github.com/rifraf/Vendorize which is run using a command like

D:\projects\SomeLibrary\lib>ruby -I..\..\Vendorize\lib -rvendorize some_lib.rb

It does something clever where it intercepts required files and logs them, but only the ones that get executed in your command line. On it’s documentation pages it says

You can run the program several times with different options if the
required files depend on the options.

Or just run your tests…

I want to run all the tests with the -I function from the command line above, so that all the different avenues of code are run, and the libraries loaded (and logged). Given that I can run them like:

D:\projects\SomeLibrary\lib>rspec ..\spec\some_spec.rb

How do I do this? Thanks!

NB: I am a/ a ruby newbie and b/ running windows

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:32:36+00:00Added an answer on May 30, 2026 at 1:32 pm

    I would try writing something like this at the top of some_spec.rb:

    require_relative '..\..\Vendorize\lib\vendorize'
    

    You might need to change that a bit depending on what your working directory is.

    Then just runs your specs with rspec as you normally do without any extra commands.

    If that doesn’t work, then locate the rspec.rb executable and run:

    ruby -I..\..\Vendorize\lib -rvendorize path/to/rspec.rb ..\spec\some_spec.rb
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use Embedded Javascript renderer for node: https://github.com/visionmedia/ejs I would like
I am trying to use ember-data using https://github.com/emberjs/data as a reference. Specifically, I am
I'm trying to use script https://github.com/charleso/git-cc . You can see the troublesome part there,
I'm trying to use this widget ( https://github.com/johannilsson/android-pulltorefresh ) in a phonegap project, but
Trying to use gem delayed_job from collectiveidea(https://github.com/collectiveidea/delayed_job) in my project, but it throws exception:
Trying to use the Phirehose class from https://github.com/fennb/phirehose After uploading everything to the server,
I'm trying to use the TouchListView made available here: https://github.com/commonsguy/cwac-touchlist . It's an Android
I'm trying to use the JSONKIt found here https://github.com/johnezang/JSONKit to parse through a JSON
I'm trying to use the authorize.net library for CI2.0 from https://github.com/cloudmanic/codeignitor-authorizenet-cim-library When running fulltest()
symfony: http://www.symfony-project.org pjax: https://github.com/defunkt/jquery-pjax Hi all, I'm trying to use pjax in symfony in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.