开发者

RubyMine on Mac, Rails environment on Ubuntu

I have installed RubyMine on Mac but my development environment for Ruby and Rails is on an Ubuntu VPS.

When I run IRB in RubyMine, I assume it is using my Mac environment's IRB?

Cause I have installed rvm, bundler, gems etc in my Ubuntu VPS.

Is it possible to 开发者_开发百科create an application in my Ubuntu VPS and use that environment rather than Mac?


Yes, running the Ruby console from RubyMine uses your Mac's Ruby environment. At the moment it is not possible to launch processes (either irb or your application) on a different host from the one in which RubyMine is running.

Note that bundler should allow you to install the same set of gems on your Mac very easily, so you can have the environment configured both on the Mac and on the Ubuntu VPS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜