Ruby on Rails Bundler activeadmin gem install error -
i running issues when trying install activeadmin gem. using ruby 2.0 , rails 4.0.2.
here when run "bundle install" in project directory:
c:\users\samuel\desktop\rubyonrailsworkspace\groupsrailsprojectnew>bundle install dl deprecated, please use fiddle updating git://github.com/gregbell/active_admin.git fatal: failed open '/cygdrive/c/users/samuel/desktop/rubyonrailsworkspace/gro upsrailsprojectnew/c:/ruby200-x64/lib/ruby/gems/2.0.0/cache/bundler/git/active_a dmin-d67faab65e9b74efbc8efb4a777a851e9f78b2ca/objects': no such file or directory retrying git clone --no-checkout "c:/ruby200-x64/lib/ruby/gems/2.0.0/cache/bundl er/git/active_admin-d67faab65e9b74efbc8efb4a777a851e9f78b2ca" "c:/ruby200-x64/li b/ruby/gems/2.0.0/bundler/gems/active_admin-60d8be97ec2c" due error (2/3): bu ndler::source::git::gitcommanderror git error: command `git clone --no-checkout "c:/ruby200-x64/lib/ruby/gems/2.0.0/cache/bundler/git/active_admin-d67faab65e9b7 4efbc8efb4a777a851e9f78b2ca" "c:/ruby200-x64/lib/ruby/gems/2.0.0/bundler/gems/ac tive_admin-60d8be97ec2c"` in directory c:/users/samuel/desktop/rubyonrailsworksp ace/groupsrailsprojectnew has failed. if error persists try removing cache directory 'c:/ruby200-x6 4/lib/ruby/gems/2.0.0/cache/bundler/git/active_admin-d67faab65e9b74efbc8efb4a777 a851e9f78b2ca'
this when run "gem install activeadmin":
c:\users\samuel\desktop\rubyonrailsworkspace\groupsrailsprojectnew>gem install activeadmin error: while executing gem ... (gem::dependencyerror) unable resolve dependencies: rails requires activesupport (= 3.2.16), actionpack (= 3.2.16); actionmailer requires actionpack (= 3.2.16); activeresource requires activesupport (= 3.2.16); meta_search requires activesupport (~> 3.1), actionpack (~> 3.1); activerecord requires activesupport (= 3.2.16); activemodel requires activesupport (= 3.2.16), builder (~> 3.0.0); railties requires rack-s sl (~> 1.3.2), rdoc (~> 3.4), activesupport (= 3.2.16), actionpack (= 3.2.16)
here gemfile:
source 'https://rubygems.org' # bundle edge rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.0.2' # use sqlite3 database active record gem 'sqlite3' # use scss stylesheets gem 'sass-rails', '~> 4.0.0' # use uglifier compressor javascript assets gem 'uglifier', '>= 1.3.0' #use carrierwave file uploading gem 'carrierwave' gem 'mini_magick' gem 'jquery-fileupload-rails' # use coffeescript .js.coffee assets , views gem 'coffee-rails', '~> 4.0.0' # admin panel #gem "ransack", github: "activerecord-hackery/ransack", branch: "rails-4" gem 'activeadmin', github: 'gregbell/active_admin' #gem 'i18n', github: 'svenfuchs/i18n' # see https://github.com/sstephenson/execjs#readme more supported runtimes # gem 'therubyracer', platforms: :ruby # use jquery javascript library gem 'jquery-rails' # turbolinks makes following links in web application faster. read more: https://github.com/rails/turbolinks gem 'turbolinks' # build json apis ease. read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 1.2' group :doc # bundle exec rake doc:rails generates api under doc/api. gem 'sdoc', require: false end gem 'execjs' # gem 'therubyracer' # use activemodel has_secure_password # gem 'bcrypt-ruby', '~> 3.1.2' # use unicorn app server # gem 'unicorn' # use capistrano deployment # gem 'capistrano', group: :development # use debugger # gem 'debugger', group: [:development, :test]
any appreciated in fixing issue.
you running bundle install
windowscmd, while had begun run cygwin shell, try run cygwin shell, because see have mixed native windows, , cygwin path styles up.
Comments
Post a Comment