ruby - Rails 5.0.0.beta3 'rails-api'. (Bundler::GemRequireError) -


i trying test app on rails beta3. when trying run application on rails server following error (with stacktrace)

/home/sambhav/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:80:in `rescue in block (2 levels) in require': there error while trying load gem 'rails-api'. (bundler::gemrequireerror) /home/sambhav/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require' /home/sambhav/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each' /home/sambhav/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require' /home/sambhav/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each' /home/sambhav/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require' /home/sambhav/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler.rb:99:in `require' /home/sambhav/caroobi/caroobi/config/application.rb:7:in `<top (required)>' /home/sambhav/caroobi/caroobi/vendor/cache/bundler/gems/rails-cf1d45bd8930/railties/lib/rails/commands/commands_tasks.rb:88:in `require' /home/sambhav/caroobi/caroobi/vendor/cache/bundler/gems/rails-cf1d45bd8930/railties/lib/rails/commands/commands_tasks.rb:88:in `block in server' /home/sambhav/caroobi/caroobi/vendor/cache/bundler/gems/rails-cf1d45bd8930/railties/lib/rails/commands/commands_tasks.rb:85:in `tap' /home/sambhav/caroobi/caroobi/vendor/cache/bundler/gems/rails-cf1d45bd8930/railties/lib/rails/commands/commands_tasks.rb:85:in `server' /home/sambhav/caroobi/caroobi/vendor/cache/bundler/gems/rails-cf1d45bd8930/railties/lib/rails/commands/commands_tasks.rb:49:in `run_command!' /home/sambhav/caroobi/caroobi/vendor/cache/bundler/gems/rails-cf1d45bd8930/railties/lib/rails/command.rb:20:in `run' /home/sambhav/caroobi/caroobi/vendor/cache/bundler/gems/rails-cf1d45bd8930/railties/lib/rails/commands.rb:18:in `<top (required)>' /home/sambhav/caroobi/caroobi/bin/rails:9:in `require' /home/sambhav/caroobi/caroobi/bin/rails:9:in `<top (required)>' /home/sambhav/caroobi/caroobi/vendor/cache/gems/spring-1.6.4/lib/spring/client/rails.rb:28:in `load' /home/sambhav/caroobi/caroobi/vendor/cache/gems/spring-1.6.4/lib/spring/client/rails.rb:28:in `call' /home/sambhav/caroobi/caroobi/vendor/cache/gems/spring-1.6.4/lib/spring/client/command.rb:7:in `call' /home/sambhav/caroobi/caroobi/vendor/cache/gems/spring-1.6.4/lib/spring/client.rb:28:in `run' /home/sambhav/caroobi/caroobi/vendor/cache/gems/spring-1.6.4/bin/spring:49:in `<top (required)>' /home/sambhav/caroobi/caroobi/vendor/cache/gems/spring-1.6.4/lib/spring/binstub.rb:11:in `load' /home/sambhav/caroobi/caroobi/vendor/cache/gems/spring-1.6.4/lib/spring/binstub.rb:11:in `<top (required)>' /home/sambhav/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' /home/sambhav/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' /home/sambhav/caroobi/caroobi/bin/spring:13:in `<top (required)>' bin/rails:3:in `load' bin/rails:3:in `<main>' 

gemfile

source 'https://rubygems.org'   gem 'rails', github: "rails/rails" gem 'sass-rails', '~> 5.0'  gem 'mysql2', '0.3.18'  gem 'uglifier', '>= 1.3.0' gem 'geoip', '1.4.0' gem 'sanitize', '3.0.0' gem 'i18n-js', '2.1.2' gem 'bootstrap-sass', '3.2.0.1' # bootstrap in scss gem 'exception_notification', '4.0.1' gem 'rake', '10.3.2' gem 'newrelic_rpm', '~> 3.14', '>= 3.14.2.312' gem 'active_model_serializers', '0.9.4' gem 'rails-api', '0.4.0' gem 'prerender_rails' gem 'i18n-docs'  group :development, :test   gem 'pry'   gem 'spring'   gem 'annotator', require: false   gem 'letter_opener'   gem 'rspec-rails'   gem 'rack-cors'   gem 'sqlite3' end 

note: have installed nodejs few posts suggested. ruby version: 2.3.0

anything else try?

if you're working rails 5, not include gem rails-api (which included in rails 5).


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -