So I'm trying out Rails 5, and there are few differences, such as I can use rails instead of rake for commands like test and db:* However, I've run into a weird snag:
If I run: $ rails test I get the following errors:
Running via Spring preloader in process 30936
/usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require': cannot load such file -- minitest/reporters (LoadError)
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /home/ubuntu/workspace/stitched_up_site/test/test_helper.rb:4:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /home/ubuntu/workspace/stitched_up_site/test/controllers/static_pages_controller_test.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/test_unit/test_requirer.rb:11:in `block in require_files'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/test_unit/test_requirer.rb:10:in `each'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/test_unit/test_requirer.rb:10:in `require_files'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/test_unit/minitest_plugin.rb:76:in `plugin_rails_init'
from /usr/local/rvm/gems/ruby-2.3.0/gems/minitest-5.9.0/lib/minitest.rb:80:in `block in init_plugins'
from /usr/local/rvm/gems/ruby-2.3.0/gems/minitest-5.9.0/lib/minitest.rb:78:in `each'
from /usr/local/rvm/gems/ruby-2.3.0/gems/minitest-5.9.0/lib/minitest.rb:78:in `init_plugins'
from /usr/local/rvm/gems/ruby-2.3.0/gems/minitest-5.9.0/lib/minitest.rb:129:in `run'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/commands/test.rb:9:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:138:in `require_command!'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:95:in `test'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require'
from /home/ubuntu/workspace/stitched_up_site/bin/rails:9:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `block in load'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:287:in `load'
from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
However, if i run $ rake test under the same conditions, it runs the way I expect.
Related
I'm getting the error "tried to create Proc object without a block (ArgumentError)" from the AWS SDK Core gem when trying to run a rails app after upgrading ruby to 3.1.1. This surprises me since it looks like the library is being maintained / used and I haven't found others mentioning this problem. Using aws-sdk-core 3.46.2.
/Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/seahorse/client/plugin.rb:61:in `new': tried to create Proc object without a block (ArgumentError)
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/seahorse/client/plugin.rb:61:in `option'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:21:in `<class:CredentialsConfiguration>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:5:in `<module:Plugins>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:3:in `<module:Aws>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-core/plugins/credentials_configuration.rb:1:in `<top (required)>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `block in require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:257:in `load_dependency'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-sts/client.rb:9:in `<top (required)>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-sts.rb:11:in `require_relative'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-sts.rb:11:in `<top (required)>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `block in require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:257:in `load_dependency'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-core-3.46.2/lib/aws-sdk-core.rb:82:in `<top (required)>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `block in require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:257:in `load_dependency'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-kms-1.13.0/lib/aws-sdk-kms.rb:8:in `<top (required)>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `block in require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:257:in `load_dependency'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/activesupport-5.2.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/aws-sdk-s3-1.31.0/lib/aws-sdk-s3.rb:8:in `<top (required)>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/runtime.rb:60:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/runtime.rb:55:in `each'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/runtime.rb:55:in `block in require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in `each'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler.rb:176:in `require'
from /Users/jaredsohn/topfunnel/topfunnel-web/config/application.rb:9:in `<top (required)>'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/railties-5.2.4/lib/rails/command/actions.rb:22:in `require'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/railties-5.2.4/lib/rails/command/actions.rb:22:in `require_application!'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/railties-5.2.4/lib/rails/command/actions.rb:14:in `require_application_and_environment!'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/railties-5.2.4/lib/rails/commands/console/console_command.rb:95:in `perform'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/railties-5.2.4/lib/rails/command/base.rb:69:in `perform'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/railties-5.2.4/lib/rails/command.rb:46:in `invoke'
from /Users/jaredsohn/.rvm/gems/ruby-3.1.1/gems/railties-5.2.4/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:13:in `require'
from bin/rails:13:in `<main>'
I've just created a new rails application and I am trying to run rails g bootstrap:install from my terminal but my terminal returns this...
Why might this be? I am running rails 4.1.6 and I have bundled all the necessary gems. My only thought would be that the gem hasn't been updated?
/Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223:in `class_eval': /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223: `##{' is not allowed as a class variable name
/Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223: syntax error, unexpected end-of-input
unless defined? ##{:instance_writer=>true}
^ (SyntaxError)
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223:in `block in cattr_reader'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:222:in `each'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:222:in `cattr_reader'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:258:in `cattr_accessor'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:155:in `<class:Store>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:154:in `<module:Cache>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:14:in `<module:ActiveSupport>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:12:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/jbuilder-2.2.4/lib/jbuilder/jbuilder_template.rb:3:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/jbuilder-2.2.4/lib/jbuilder/railtie.rb:2:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/jbuilder-2.2.4/lib/jbuilder.rb:318:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `each'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `each'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler.rb:131:in `require'
from /Users/sambelton/Documents/Masters Work/Advanced Web Application Development/boxintheair/config/application.rb:7:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:82:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:82:in `preload'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:140:in `serve'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:128:in `block in run'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:122:in `loop'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:122:in `run'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application/boot.rb:18:in `<top (required)>'
from /Users/sambelton/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/sambelton/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
Don't you wanna https://github.com/twbs/bootstrap-sass/ ?
It works fine with rails.
why do i get this error when installing gitlab ci below when i install gitlab-ci
can any one put me in right direction i have done mothing from the installation page and will like to use postgress which is on a remote server and nginx which is also on a remote server:
Thanks
rake aborted!
Errno::EBADF: Bad file descriptor # fptr_finalize - /home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.1/io/open.rb
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.1/io/open.rb:2:in `close'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.1/io/open.rb:2:in `open'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.1/io/open.rb:2:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:22:in `block in require_relative_dir'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:21:in `each'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:21:in `require_relative_dir'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.1/io.rb:3:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:22:in `block in require_relative_dir'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:21:in `each'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:21:in `require_relative_dir'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.1.rb:3:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.2.rb:2:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.3.rb:2:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/1.9.rb:2:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/2.0.0.rb:2:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/2.0.rb:2:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports/tools.rb:328:in `require_with_backports'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/backports-3.3.5/lib/backports.rb:3:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/coercible-0.2.0/lib/coercible.rb:16:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/virtus-1.0.0/lib/virtus.rb:225:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `block in require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:229:in `require'
/home/gitlab_ci/gitlab-ci/vendor/bundle/ruby/2.1.0/gems/grape-0.6.1/lib/grape.rb:17:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/config/application.rb:5:in `<top (required)>'
/home/gitlab_ci/gitlab-ci/Rakefile:5:in `require'
/home/gitlab_ci/gitlab-ci/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
Credit goes to Brian Hartvigsen, as I came to this answer from his post here
Edit the Gemfile.lock
sudo -u gitlab_ci -H vi ~/Gemfile.lock
And replace the backports line with 'backports (3.6.1)'
Then reinstall the bundle
# For MySQL (note, the option says "without ... postgres")
sudo -u gitlab_ci -H bundle install --without development test postgres --deployment
# Or for PostgreSQL (note, the option says "without ... mysql")
sudo -u gitlab_ci -H bundle install --without development test mysql --deployment
I am getting the following error while starting my rails server.
/Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- systemu (LoadError)
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/macaddr-1.6.2/lib/macaddr.rb:23:in `<top (required)>'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/uuid-2.3.7/lib/uuid.rb:14:in `<top (required)>'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:in `require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:in `each'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:in `block in require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:in `each'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:in `require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.5.3/lib/bundler.rb:131:in `require'
from /Users/joy/analytics/cappings/config/application.rb:17:in `<top (required)>'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/railties-3.2.16/lib/rails/commands.rb:53:in `require'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/railties-3.2.16/lib/rails/commands.rb:53:in `block in <top (required)>'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/railties-3.2.16/lib/rails/commands.rb:50:in `tap'
from /Users/joy/.rvm/gems/ruby-1.9.3-p194#project/gems/railties-3.2.16/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Thanks in advance.
I'm running Rails under Cygwin. Everything seams to work fine but the rails console. When I want to run the console, this is the error I get:
$ rails console
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require': cannot load such file -- minitest/unit (LoadError)
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `block in require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/1.9.1/test/unit/assertions.rb:1:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `block in require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/1.9.1/test/unit/testcase.rb:1:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `block in require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/test_case.rb:1:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `block in require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/console/app.rb:2:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `block in require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/application.rb:225:in `initialize_console'
from /usr/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/application.rb:153:in `load_console'
from /usr/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands/console.rb:26:in `start'
from /usr/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands/console.rb:8:in `start'
from /usr/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Any help will be appreciated
Looks like you don't have the gem "minitest" installed in your Gemfile.