Using the Bundler
This feature is supported in the Ultimate edition only.
The following is only valid when Ruby Plugin is installed and enabled!
In this section:
- Using the Bundler
- Creating Gemfile
- Bundling Gems
Basics
IntelliJ IDEA implements the bundler as a powerful way of handling gem dependencies. The bundler is required to execute an application with the same set of gems it has been created and tested with.
IntelliJ IDEA supports the bundler since version 0.8, but it is recommended to use version 0.9 and higher.
Prerequisites
To start using the bundler with IntelliJ IDEA, make sure that the following prerequisites are met:
- RubyGems version 1.3.7 or higher is installed.
- The bundler gem is installed.
SUDO permission
On the UNIX-like computers, if the permissions are required to invoke the Bundler commands in a project, IntelliJ IDEA automatically understands from the command output that running with sudo
is needed, and suggests to re-run this command with sudo
.