I have downloaded a gem source from a private repository to my local machine, how can I install it from the source?
            Asked
            
        
        
            Active
            
        
            Viewed 1,062 times
        
    1
            
            
        - 
                    You can just point :git to your local, like: ` gem 'redcarpet', :git => '/home/user/library' ` – Luís Bianchin Mar 03 '15 at 00:18
- 
                    @LuísBianchin I did that it yells that it is a directory ! gem 'lucymar', :git => '/home/mark/git/lucymar/' bash: /home/mark/git/lucymar/: Is a directory – MarkY Mar 03 '15 at 00:38
- 
                    Use :path instead of :git – infused Mar 03 '15 at 00:48
- 
                    Another way you can do is ` gem install /full/path/to/your.gem `. Source: https://stackoverflow.com/questions/220176/how-can-i-install-a-local-gem – Luís Bianchin Mar 03 '15 at 00:49
1 Answers
1
            if you have the full source code no need to use :git notation, just go to to folder and do
gem build GEMNAME.gemspec
gem install gemname-version.gem
 
    
    
        Medya Gh
        
- 4,563
- 5
- 23
- 35
