No 'unicorn' gem found in SDK

As you can see from the printout of my Gemfile below, the unicorn gem is installed in the SDK. However, when I try to run the unicorn sever in rubymine 4.0.2, I get the "No 'unicorn' gem found in SDK" error message.

My Gemfile:

source 'https://rubygems.org'

gem 'rails', '3.2.2'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'mysql2'


# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer'

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the app server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'

2 comments
Comment actions Permalink

Hello, Daniel.

Sorry but I see that line of code that requires 'unicorn' gem is commented:

# gem 'unicorn'

You should uncomment this line and run bundle install

0
Comment actions Permalink

LOL... I don't know how I missed that! Thanks =)

0

Please sign in to leave a comment.