Exception: RailsDevelopmentBoost::Async::Reactor::MissingNativeGem

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rails_development_boost/async/reactor.rb

Instance Method Summary collapse

Constructor Details

#initialize(gem_name, version) ⇒ MissingNativeGem

Returns a new instance of MissingNativeGem.



9
10
11
12
13
# File 'lib/rails_development_boost/async/reactor.rb', line 9

def initialize(gem_name, version)
  gem_version_msg = indented_code("gem '#{gem_name}', '#{version}'")
  super("by adding the following to your Gemfile:\n#{gem_version_msg}\n\nThis can go into the same :development group if (you are using one):\n" <<
        indented_code("group :development do\n\tgem 'rails-dev-boost', :github => 'thedarkone/rails-dev-boost'#{gem_version_msg}\nend\n"))
end