Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails gem安装错误sass-rails_Ruby On Rails_Gemfile - Fatal编程技术网

Ruby on rails gem安装错误sass-rails

Ruby on rails gem安装错误sass-rails,ruby-on-rails,gemfile,Ruby On Rails,Gemfile,我想安装一个旧版本的sass-railsgem。但是我遇到了这个错误,我的css在我的项目中不起作用,请检查它: 归档 group :development, :test do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem 'uglifier', '>= 1.0.3' gem 'rspec-rails' gem 'watchr' end 当我运行这个命令bundl

我想安装一个旧版本的
sass-rails
gem。但是我遇到了这个错误,我的css在我的项目中不起作用,请检查它:

归档

group :development, :test do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'uglifier',     '>= 1.0.3'
  gem 'rspec-rails'
  gem 'watchr'
end
当我运行这个命令
bundle install
时,我得到了这个错误:

$ bundle install
Your Gemfile lists the gem sass-rails (~> 3.2.3) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem coffee-rails (~> 3.2.1) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem uglifier (>= 1.0.3) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.

请帮我整理一下。

这只是一个警告,不是错误。gems(可能,据我们所知)安装正确,CSS的任何问题(可能)都不是由于这个警告。正如警告所说:您的Gemfile多次列出相同的gem。如果您不明白为什么或在哪里,请发布完整的Gemfile和
bundle install的完整输出?否
源代码'https://rubygems.org“
一开始还是其他什么?