Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in console #9

Open
dima4p opened this issue Oct 2, 2014 · 3 comments
Open

Warning in console #9

dima4p opened this issue Oct 2, 2014 · 3 comments

Comments

@dima4p
Copy link

dima4p commented Oct 2, 2014

After the gem is added to the Gemfile starting console gives the message

irb: warn: can't alias context from irb_context.

Gemfile at the moment

source 'https://rubygems.org'

ruby '2.1.2'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.5'
# Use postgresql as the database for Active Record
gem 'pg'

# assets
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
gem 'compass-rails'
gem 'fancy-buttons'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer',  platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'

# auth
gem 'authlogic'
gem 'cancancan'

# views
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
gem 'haml-rails'
gem 'simple_form'
gem 'wice_grid'

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring',        group: :development

group :development do
  # i18n
  gem 'active_record_model_and_rspec_enhanced_templates'
  gem 'advanced_haml_scaffold_generator'
  gem 'factory_girl_fixtures_template'
  gem 'i18n_scaffold_controller_template'
  gem 'i18n_scaffold_generator'
  gem 'i18n_yaml_sorter', require: false
  gem 'jbuilder_rspec_generator'
  gem 'rspec_rails_scaffold_templates'
  gem 'translations_sync'

  # docs
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', '~> 0.4.0',          group: :doc
end

group :test, :development do
  gem 'factory_girl_rails'
  gem 'guard'
  gem 'guard-rspec'
  gem 'quiet_assets'
  gem 'rspec-activemodel-mocks'
  gem 'rspec-rails'
  gem 'zeus', require: false

  # Metrics
  gem 'rubocop', require: false
  gem 'brakeman', require: false
end

group :test do
  gem 'capybara'
  gem 'database_cleaner'
  gem 'email_spec'
  gem 'poltergeist'
  gem 'shoulda-matchers'
end
@serg-kovalev
Copy link

+1

@ledermann
Copy link

Same here. I fixed it by removing this gem from the development group and use it in the test group only.

group :test do
  # ....
  gem 'rspec-activemodel-mocks'
end

@pavelz
Copy link

pavelz commented Apr 24, 2017

for me it was "guard-rspec"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants