0

运行捆绑安装

Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/Users/judyngai/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/requirement.rb:90:in `parse': Illformed requirement [""] (Gem::Requirement::BadRequirementError)

我的捆绑器有什么问题?

正在空白应用程序中工作,但不在我正在处理的应用程序中。

谢谢你

这是我要求的gemfile

source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'

#High Voltage
gem "high_voltage", "~> 1.2.4"

#Database 
gem "pg", "~> 0.16.0"

#to make attribute accessible work 
gem "protected_attributes", "~> 1.0.3"

#Authentication , upgrading devise?
gem "devise", "~> 3.0.3"

#Active Admin 
gem 'activeadmin', github: 'gregbell/active_admin', branch: 'rails4'            

#Simple Form
gem 'simple_form'

#js runting for bootstrap to work 
gem "therubyracer"

#Web Server 
gem "thin"

#Student Picture Uploaders 
gem "rmagick"
gem "carrierwave"

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'

# 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'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end

# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano', group: :development

# Use debugger
# gem 'debugger', group: [:development, :test]

我在我的 gemfile 中没有看到任何语法错误。我记得之前看到过同样的错误,并从我的 gemfile 中删除了一个额外的逗号。

4

0 回答 0