
RUN apt-get update -qq & apt-get install -y postgresql-clientĬommand: bash -c "rm -f tmp/pids/server.pid & bundle exec rails s -p 3000 -b '0.0.0.0'" Let’s start with a basic Rails API project with two containers: one for the app and one for the DB. Unfortunately I had some problems setting up Ruby/Rails projects running in Docker containers to work with RubyMine’s debugging features, so I’ve documented how I did it and some of the issues I ran into. This time I’m making a concerted effort to learn its feature set and make them work for me, and so far I’m thoroughly impressed.

I’ve played around with it in the past, but always ended up back on vim for various reasons. The editor window now has the warning "Some of the required gems are not attached: rails.Lately I’ve been experimenting with RubyMine.

However, despite successfully creating and populating the rails directory structure, This removes the warning, and it is possible to finish setting up the new project. 'Gems bin directory' to /home/peter/.gem/ruby/1.9.1/bin Going back a screen and configuring the Ruby SDK, I manually change I get a warning message "Your SDK doesn't contain Rails Framework". > select Ruby SDK -> select Ruby on Rails New Project -> Create project from scratch -> select Ruby Module Gems are installed under /home/peter/.gem Ruby (1.9.1), gem (1.3.5) and rails (2.3.10) are installed and work from the command line. I am having a similar problem when trying to use the Ruby plugin for IDEA running on Ubuntu 10.04.įair Warning: I am completely new to IDEA, so this may well be a noob error. Anyone know how I can get this working in RubyMine? I've already tried unattaching and re-attaching the rails gem and re-launching RubyMine. It was working previously, but quit (perhaps after doing a "bundle update"?). I just can't get the server to start in RubyMine. If I attempt to run this configuration, I get a red alert notification that reads: "Error running Development: project: " Ruby SDK: User project SDK: Ruby SDK 1.9.2-p0 Īn error alert is visible at the bottom of this panel: Run Configuration Error: Ruby arguments: -e STDOUT.sync=true STDERR.sync=true load($0=ARGV.shift)

There are no missing or unattached gems listed.
