New Project : puppet module needs dependencies, but issue installing them
- Running RubyMine 2017.3.2 on Windows 7 Enterprise
- Just downloaded RubyMine from JetBrains
-Here is my env
RUBYGEMS VERSION: 2.6.14
RUBY VERSION: 2.4.3 (2017-12-14 patchlevel 205) [x64-mingw32]
INSTALLATION DIRECTORY: C:/Ruby24-x64/lib/ruby/gems/2.4.0
USER INSTALLATION DIRECTORY: C:/Users/A454907/.gem/ruby/2.4.0
RUBY EXECUTABLE: C:/Ruby24-x64/bin/ruby.exe
EXECUTABLE DIRECTORY: C:/Ruby24-x64/bin
SPEC CACHE DIRECTORY: C:/Users/A454907/.gem/specs
SYSTEM CONFIGURATION DIRECTORY: C:/ProgramData
RUBYGEMS PLATFORMS:
ruby
x64-mingw32
GEM PATHS:
C:/Ruby24-x64/lib/ruby/gems/2.4.0
C:/Users/A454907/.gem/ruby/2.4.0
GEM CONFIGURATION:
:update_sources => true
:verbose => true
:backtrace => false
:bulk_threshold => 1000
REMOTE SOURCES:
https://rubygems.org/
SHELL PATH:
C:\Ruby24-x64\bin
C:\ProgramData\Oracle\Java\javapath
C:\Perl64\site\bin
C:\Perl64\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\MinGW\bin
C:\Program Files\doxygen\bin
C:\Program Files (x86)\Mscgen
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\Git\cmd
C:\Ruby24-x64\bin
C:\Users\A454907\AppData\Local\Programs\Python\Python36\Scripts\
C:\Users\A454907\AppData\Local\Programs\Python\Python36\
C:\Program Files (x86)\Graphviz2.38\bin
C:\Users\A454907\AppData\Local\Box\Box Edit\
C:\Program Files (x86)\IBM\Java142\jre\bin
C:\Program Files (x86)\IBM\CMVCDC50
----------------------
IDE: RubyMine 2017.3.2, build #RM-173.4301.17
OS: Windows 7 6.1[amd64]
Java: 1.8.0_152-release-1024-b11
RubyMine SDK Environment:
Sdk: ruby-2.4.3-p205
Sdk Version: ver.2.4.3p0
Ruby Interpreter: C:/Ruby24-x64/bin/ruby.exe
RVM Sdk: no
Sdk Language Level: 2.4
Sdk Load Path:
C:/Program Files/JetBrains/RubyMine 2017.3.2/rubystubs24
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/lib
C:/Ruby24-x64/lib/ruby/site_ruby/2.4.0
C:/Ruby24-x64/lib/ruby/site_ruby
C:/Ruby24-x64/lib/ruby/vendor_ruby/2.4.0
C:/Ruby24-x64/lib/ruby/vendor_ruby/2.4.0/x64-msvcrt
C:/Ruby24-x64/lib/ruby/vendor_ruby
C:/Ruby24-x64/lib/ruby/2.4.0
C:/Ruby24-x64/lib/ruby/2.4.0/x64-mingw32
Sdk Gem paths:
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems
C:/Users/A454907/.gem/ruby/2.4.0/gems
C:/Ruby24-x64/lib/ruby/gems/2.4.0/bundler/gems
C:/Users/A454907/.gem/ruby/2.4.0/bundler/gems
Gems used for 'untitled1':
Want to create project for Puppet, then I do : New Project ... Puppet module
I have the blue message 'Install Puppet gem', when I click , it fails with message "Following gems were not installed: puppet: No gem satisfying dependency found in remote gem repositories"
When I go to Tools menu and do 'Install Gem', I have the message
Following gems were not installed:
bundler: While executing gem ... (Net::HTTPServerException)
407 "authenticationrequired"
I looked at the idea.log and can see that the following command fails (I hide personal info)
C:\Ruby24-x64\bin\ruby.exe -x C:\Ruby24-x64\bin\gem install bundler --no-rdoc --no-ri --http-proxy http://USER:PASSWORD@PROXY:PORT INFO - lugins.ruby.gem.GemInstallUtil - Installed gem: bundler 2018-01-26 10:51:07,209 [2578460] INFO - ide.actions.ShowFilePathAction -
Exit code 1
If I try to play this command manually
C:\Users\A454907>echo %HTTP_PROXY%
http://USER:PWD@PROXY:PORT
C:\Users\A454907>C:\Ruby24-x64\bin\ruby.exe -x C:\Ruby24-x64\bin\gem install bun
dler --no-rdoc --no-ri --http-proxy http://USER:PWD@PROXY:PORT
ERROR: While executing gem ... (Net::HTTPServerException)
407 "authenticationrequired"
C:\Users\A454907>C:\Ruby24-x64\bin\ruby.exe -x C:\Ruby24-x64\bin\gem install bun
dler --no-rdoc --no-ri
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - timed out (https:
//api.rubygems.org/specs.4.8.gz)
Then what should I do ?
Thank you
Please sign in to leave a comment.
Hello,
it seems to be a rubygems issue, there are several threads with a similar problem, please take a look:
http://help.rubygems.org/discussions/problems/17672-gems-not-installing-due-to-timeout
https://stackoverflow.com/questions/31180201/unable-to-download-data-from-http-rubygems-org
Thank you, but no success so far !
1) I tried command line without success (I checked carrefully LOGIN/PWD previously)
C:\Users\A454907>C:\Ruby24-x64\bin\ruby.exe -x C:\Ruby24-x64\bin\gem install bun
dler --no-rdoc --no-ri --source http://rubygems.org
ERROR: While executing gem ... (Net::HTTPServerException)
407 "authenticationrequired"
C:\Users\A454907>C:\Ruby24-x64\bin\ruby.exe -x C:\Ruby24-x64\bin\gem install bun
dler --no-rdoc --no-ri --http-proxy http://LOGIN:PWD@proxy-fr.glb.m
y-it-solutions.net:84 --source http://rubygems.org
ERROR: While executing gem ... (Net::HTTPServerException)
407 "authenticationrequired"
2) I tried that as well : Simple manual set up instructions to update the SSL -> http://guides.rubygems.org/ssl-certificate-update/#manual-solution-to-ssl-issue
3) I tried that as well (I checked carrefully LOGIN/PWD previously)
C:\Users\A454907>gem update --system --http-proxy http://LOGIN:PWD@proxy-fr.glb.my-it-solutions.net:84 --source http://rubygems.org
ERROR: While executing gem ... (Net::HTTPServerException)
407 "authenticationrequired"
What is to be done, do you have any clues, what should I check ?
So far, and therefore I cannot use RubyMine, because the Puppet support is not usable, because the gem bundler cannot be installed. Can I get in the meantime an extended valuation license for RubyMine, mine is expiring in three days, and I could not evaluate RubyMine for the reason above-mentionned.
Thank you
Hello, Can you see if you can provide any help on this issue please ? Thanks a lot in avdance !
When I want to create new project 'Puppet Module' I can see Puppet Gem are not installed, if I want to install them I have error message:
Following gems were not installed:
puppet: No gem satisfying dependency found in remote gem repositories
I 've tried to do multiple things (see above) but no way so far !
Thanks
Hello, this issue is solved, it was necessary to have a license to make it work ! As long as you stay with an evaluation license, it cannot work ! I decided to pay for a one-month license, and paid for it. After installation of the license, the gem correctly installs, and I can create a functional Puppet project, is it a simple coincidence ? Can you please confirm ? If it is as I say, the issue is not clear at all for the user, it would be much more simple to tell the user that this cannot run with an evaluation license.
Thank you
Hello,
it doesn't depend on the license you're using. Since there're problems with working with gems from the command line it'll affect the same workflow from the RubyMine so most likely the first problem got solved and you managed to create a project.