![]() Uncaught exception: Error starting Passenger home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/ruby-debug-ide-0.8.0.beta24/lib/ruby-debug-ide.rb:123:in `block in start_control'įatal exception in DebugThread loop: undefined method `accept' for 3:Integer => Run `rails server -help` for more startup optionsĮxception: Connection refused - connect(2) for "127.0.0.1" port 56058 => Rails 6.0.3.2 application starting in development Fast Debugger (ruby-debug-ide 0.8.0.beta24, debase 0.3.0.beta34, file filtering is supported, block breakpoints supported, smart steps supported, obtaining return values supported, partial obtaining of instance variables supported) listens on 0.0.0. 3: We fixed the IDEs freeze while indexing WSL projects IDEA-286059 We fixed. Load the project in the latest version of RubyMine, add rbenv as the version manager and try running the default Run and Debug profiles, installing the debugging gems if it asks.Ĭreate a new rails app on a WSL mounted windows drive (/mnt/c).Install a fresh WSL version 2 Ubuntu 20.04 installation with rbenv and the latest available ruby (2.7.1).mnt/s/Code/Ruby/example_app/bin/rails:9:in `' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:147:in `block in perform' home/matt/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/passenger-6.0.6/src/ruby_supportlib/phusion_passenger/rack_handler.rb:47:in `run'.Either way, I hope y'all choose to do something incremental - it would be wonderful to have all the various system-environment-related details working properly, but I for one will get grumpy if I have to wait until then just to have stock WSL run my dotfiles :-)Īnyway - thanks for bringing this up with the WSL team, and for the feedback about y'all's thought process. bin/bash -login is also not a complete solution it would also be an improvement, and a step towards /bin/login. rubymine wsl2 rvm I cannot find this info anywhere, so here it is. Using Windows Subsystem for Linux (WSL), enables you to install your preferred Linux distribution (Ubuntu is our default) so that you can have consistency between your development environment (where you write code) and production environment (the server where your code is deployed). ![]() ![]() Just run 'winver' to see your build number. bin/login is not a complete solution, but it would be a substantial improvement. Running Ruby on Rails on Windows Get a recent Windows 10 WSL2 will be released later this year but for now you can easily get it by signing up for Windows Insiders Fast and making sure your version of Windows is 18945 or greater. It would also drag quite a large pile of baggage along with it :-) That would solve a whole lot of problems, including this one and including many that /bin/login would not solve. However, what WSL should really do if the objective is to maximize compatibility is to have Ubuntu's /bin/init (or an appropriate one of its many children) fork a login shell. Your point about /bin/login is a good one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |