Run tab doesn't work on Windows
Reported by Serg Podtynnyi | October 18th, 2010 @ 03:40 PM
Using Windows XP , Ruby MRI (1.9.2p0)
Ruby installed via
http://rubyforge.org/frs/download.php/72170/rubyinstaller-1.9.2-p0.exe
Devkit
http://github.com/downloads/oneclick/rubyinstaller/DevKit-4.5.0-201...
Redcar installed via rubygems (0.7)
C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/bin/redcar:30 Error in command Redcar::Runnables::RunEditTabCommand NoMethodError: undefined method `config_files' for nil:NilClass C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/runnables/lib/runnables/comm ands.rb:36:in `file_mappings' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/runnables/lib/runnables/comm ands.rb:49:in `execute' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/application/lib/application/ command/executor.rb:29:in `execute' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/application/lib/application/ command.rb:83:in `run' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/application/lib/application/ toolbar/item.rb:45:in `selected' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/application_swt/lib/applicat ion_swt/toolbar.rb:147:in `widgetSelected' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/swt/lib/swt/event_loop.rb:13 :in `start' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/plugins/core/lib/core/gui.rb:39:in ` start' C:/Ruby/lib/ruby/gems/1.9.1/gems/redcar-0.7/lib/redcar.rb:180:in `pump'
Comments and changes to this ticket
-
delisa October 19th, 2010 @ 01:55 AM
Ok, I see the problem. The runnables plugin is searching for a project to pull runnables data from. I can take a look at it; ts an easy enough fix. Do you have runnables files already in ~/.redcar/runnables (it looks there if there's no project open)?
-
delisa October 19th, 2010 @ 02:20 AM
Fixed this in master. Runnables run in the current working directory of the open project, the Run Tab commands are now sensitized to check if a project is open before running.
-
delisa October 19th, 2010 @ 02:22 AM
For executing scripts outside of a project context, you can try using a REPL: Menu > Plugins > REPL > Ruby REPL
-
Serg Podtynnyi October 19th, 2010 @ 12:13 PM
Thx for help, will try to build redcar from master and check it.
-
delisa October 24th, 2010 @ 04:00 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.