ruby on rails - Error while using rails_admin with rails5 -


i trying use rails_admin rails5 application. rails_admin 0.8.1 didn't work because

bundler not find compatible versions gem "rails": in snapshot (gemfile.lock): rails (= 5.0.0.beta1)

in gemfile: rails (< 5.1, >= 5.0.0.beta1)

rails_admin resolved 0.8.1, depends on   rails (~> 4.0) 

then tried using latest code github using

gem 'rails_admin', git: 'https://github.com/sferik/rails_admin.git'

now getting conflicting rack dependicies.

in snapshot (gemfile.lock): rack (= 2.0.0.alpha)

in gemfile: rails (< 5.1, >= 5.0.0.beta1) resolved 5.0.0.beta1, depends on actionmailer (= 5.0.0.beta1) resolved 5.0.0.beta1, depends on actionpack (= 5.0.0.beta1) resolved 5.0.0.beta1, depends on rack (~> 2.x)

rails_admin resolved 0.8.1, depends on   rack-pjax (~> 0.7) resolved 0.7.0, depends on     rack (~> 1.3)  rails (< 5.1, >= 5.0.0.beta1) resolved 5.0.0.beta1, depends on   sprockets-rails (>= 2.0.0) resolved 3.0.0, depends on     sprockets (>= 3.0.0) resolved 3.5.2, depends on       rack (< 3, > 1)  devise resolved 4.0.0.pre.dev, depends on   warden (~> 1.2.3) resolved 1.2.4, depends on     rack (>= 1.0)  devise resolved 4.0.0.pre.dev, depends on   warden (~> 1.2.3) resolved 1.2.4, depends on     rack (>= 1.0) 

is start using rails5? should go rails4.2?

i see ra has rails5 gemfile https://github.com/sferik/rails_admin/blob/master/gemfiles/rails_5.0.gemfile. try upgrading gems mentioned in file.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -