Rubymine cannot find ruby sdk1/15/2024 ![]() Running them from the command line works fine: ~repos/closeweb $ bundle exec rspec specįinished in 6 minutes 27 seconds (files took 13. I'm unclear what else RubyMine might need to be able to recursively find and execute the tests. (There is some indication on the RubyMine website that -Itest is required.) Under the Bundler tab 'Run the script in the context of the bundle' is checked as well. The Ruby arguments are set like this: -e $stdout.sync=true $stderr.sync=true load($0=ARGV.shift) -Itest Inside the launch configuration, the 'Tests folder' seems to be set correctly: /Users/nathaniel/repos/close-web/specĪnd the working directory as well: /Users/nathaniel/repos/close-web Right-clicking and selecting 'run all' on the specs directory causes every test to fail with the following message:įail to load: /Users/nathaniel/repos/close-web/spec/compositions/analysis/analysis_data_spec.rb:1Įxception message: cannot load such file - spec_helper Right-clicking and selecting 'run' on any single spec file correctly runs it. ![]() On RubyMine for Mac, still had the same issue with not finding gems. Go to 'File' -> 'Settings' -> 'Ruby SDK and Gems' (in the list at left side) and select the correct version of the Ruby. ![]() Among which is to be able to configure the. Maybe you should just set the correct Ruby in RubyMine settings menu. ![]() I have loaded a Ruby project into RubyMine, that has it's spec files located in a spec directory, as usual. 1 I’ve been playing with Windows Subsystem Linux or WSL for a while now and the advantages of having a working Linux kernel inside my OS (Windows 10). ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |