Rails console from Tools menu not loading
I am able to run the rails console from Terminal by typing "rails console", however when clicking Tools > Run Rails Console I get the following error:
J:\RailsInstaller\Ruby2.1.0\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) J:/RailsInstaller/workspace/PFNRatesDev/script/console --irb=J:/RailsInstaller/Ruby2.1.0/bin/irb.bat
J:/RailsInstaller/workspace/PFNRatesDev/script/console:3:in `require': cannot load such file -- commands/console (LoadError)
from J:/RailsInstaller/workspace/PFNRatesDev/script/console:3:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
The script/console file contains the following:
#!/usr/bin/env ruby
require File.expand_path('../../config/boot', __FILE__)
require 'commands/console'
Any help would be appreciated.
请先登录再写评论。
Hello, David,
sorry for the delay. How does it go in the last RubyMine EAP (2016.2)? If it fails the same, what Ruby and Rails version are you running?
I'm having similar issue.
@Ajinkya,
what RubyMine version do you work in? What Ruby and Rails versions are used?