Rubymine won't find local gems

Hi 

 

Rubymine won't detect local ruby gems even after installation with the gem manager. How do I change the path that rubymine detects local gems. Thanks 

Attached is the gem environment 

RUBYGEMS VERSION: 2.6.0
RUBY VERSION: 2.2.3 (2015-08-18 patchlevel 173) [i386-mingw32]
INSTALLATION DIRECTORY: C:/Ruby22/lib/ruby/gems/2.2.0
USER INSTALLATION DIRECTORY: C:/Users/becky/.gem/ruby/2.2.0
RUBY EXECUTABLE: C:/Ruby22/bin/ruby.exe
EXECUTABLE DIRECTORY: C:/Ruby22/bin
SPEC CACHE DIRECTORY: C:/Users/becky/.gem/specs
SYSTEM CONFIGURATION DIRECTORY: C:/ProgramData
RUBYGEMS PLATFORMS:
ruby
x86-mingw32
GEM PATHS:
C:/Ruby22/lib/ruby/gems/2.2.0
GEM CONFIGURATION:
:update_sources => true
:verbose => true
:backtrace => false
:bulk_threshold => 1000
REMOTE SOURCES:
https://rubygems.org/
SHELL PATH:
C:\Ruby22\bin
C:\ProgramData\Oracle\Java\javapath
C:\Program Files (x86)\Intel\iCLS Client\
C:\Program Files\Intel\iCLS Client\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\
C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\
C:\WINDOWS\system32\config\systemprofile\.dnx\bin
C:\Program Files\Microsoft DNX\Dnvm\
C:\Program Files (x86)\nodejs\
C:\Program Files (x86)\Skype\Phone\
C:\Program Files\Java\jdk1.8.0_71\bin
C:\Ruby22\bin
C:\Users\becky\AppData\Roaming\npm
----------------------
IDE: RubyMine 8.0.3, build #RM-143.1559
OS: Windows 8 6.2[x86]
Java: 1.8.0_51-b16
RubyMine SDK Environment:
Sdk: ruby-2.2.3-p173
Sdk Version: ver.2.2.3p173 ( revision 51636) p173
Ruby Interpreter: C:/Ruby22/bin/ruby.exe
RVM Sdk: no
Sdk Language Level: 2.2
Sdk Load Path:
C:/Ruby22/lib/ruby/site_ruby/2.2.0
C:/Ruby22/lib/ruby/site_ruby/2.2.0/i386-msvcrt
C:/Ruby22/lib/ruby/site_ruby
C:/Ruby22/lib/ruby/vendor_ruby/2.2.0
C:/Ruby22/lib/ruby/vendor_ruby/2.2.0/i386-msvcrt
C:/Ruby22/lib/ruby/vendor_ruby
C:/Ruby22/lib/ruby/2.2.0
C:/Ruby22/lib/ruby/2.2.0/i386-mingw32
C:/Program Files (x86)/JetBrains/RubyMine 8.0.3/rubystubs22
Sdk Gem paths:
C:/Ruby22/lib/ruby/gems/2.2.0/gems
C:/Ruby22/lib/ruby/gems/2.2.0/bundler/gems
Gems used for 'test':
railties-4.2.6 (4.2.6)
C:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.6
sqlite3 (1.3.11)
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.11-x86-mingw32
rake-11.1.1 (11.1.1)
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-11.1.1
bundler-1.11.2 (1.11.2)
C:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.11.2

1 comment

Hello, Rebecca,

sorry for the delay. Could you please check how it goes in the last RubyMine EAP (2016.2)? If it's the same, please attach a screenshot from Settings | Ruby SDK and Gems choosing the SDK in question and the output of 'gem list'.

0

Please sign in to leave a comment.