Having RubyMine on Windows, but Ruby/Rails on another (Ubuntu) machine. Possible?

The scenario is this:

  1. Install Ubuntu in a VirtualBox
  2. Install Ruby/Rails in Ubuntu
  3. Install RubyMine on Windows (do not install Ruby/Rails in Windows)
  4. Share a source code folder from Windows so that the Ubuntu (in the Virtual Box) can access it
  5. Have RubyMine use Ubuntu to run/debug Ruby/Rails


So, is it possible that I could install RubyMine on Windows but the actual Ruby/Rails stuff is all inside Ubuntu?
I guess this is what *remote debugging* is ? (Please correct me if I'm wrong)

Why I would want to do this:

  1. I do not like Ubuntu/Linux GUIs at all. (I *do* like Linux from the command line though)
  2. It's a hassle making Rails apps on Windows so it's a good idea to use Linux (gem incompatibilities - some gems like ImageMagick work only on *nix)
  3. I'm used to Windows and like the GUI (besides, everything else I do is on Windows)
5 comments
Comment actions Permalink

I'd like to hear on this topic too.

I have Rails application deployed to remote server (FreeBSD in my case) and I want to be able to debug it.

Why? -- the application is using  server related resources which are unawailable on my local PC (WinXP by the way)

regards,
--Yu

0
Comment actions Permalink

Figuring the samething. Plus 1 for thi!

Anyone fleshed out a workflow involving a guest linux virtual development environment on a windows host

or

developing directly in the cloud with rubymine?

0
Comment actions Permalink

Hello guys,

RubyMine has remote debug functionality for this purposes. Please have a look at the following reference: http://www.jetbrains.com/ruby/webhelp/remote-debugging.html
Also we have a corresponding blog post describing this feature: http://blogs.jetbrains.com/ruby/2009/05/ruby-remote-debug/

Regards,
Oleg

0
Comment actions Permalink

But setting up remote debugging wouldn't give me all the features that I would have access to if I was developing locally, would it?

I resolved it by installing ubuntu-desktop on my virtual development server and used VirtualBox's seamless mode (with dual monitor support) and installed rubymine directly on the Ubuntu guest. This way I have my Adobe CS5 as well as my lovely linux development environment, (without paying a small fortune for a mac book)!

All way develop in the same environment you are deploying to.

Taine

0
Comment actions Permalink

Yep, anyway IDE requires to have your sources on the RubyMine's development side. They are required to give you all the codeinsight support like autocompletion, goto declarations etc. Remote debug allows you debug remote machine with the same code running. In further version we are going to do add ftp sync feature to simplify the process of syncing code base.

Regards,
Oleg

0

Please sign in to leave a comment.