How do I specify a non-release version of a gem in rails?
I am continually making modifications to gem which I wish to test in my rails application. What is the best way to go about doing this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
One way to approach this is to specify the location of a git repository rather than a version of the gem.
For example
specifying your local machine
Alternatively you can simply specify the path
but usage of a git repository allows you to keep multiple configuration in alternate
branches, specify previous commits, and a lot more than I am able to describe in this short answer. For example, the follows specifies an alternate branch:
See here for more details.