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“
一开始还是其他什么?