You have already activated rake 0.9.0, but your Gemfile requires rake 0.8.7
I thank to Dobry Den, cheers dude. but little more I had to do.
here is solution (works for me).
I had added
gem 'rake','0.8.7'
on Gemfile, which was not there, but my new version of rails automatically install rake(0.9.0).after I had delete rake0.9.0 by gem uninstall rake
and after doing bundle update rake
, I can create and migrate database.
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3
Use bundle exec infront of your command
bundle exec rake assets:precompile
This will solve your issue.I always recommend to use "bundle exec" before any such kind of commands.
can't activate rake (= 0.9.2.2, runtime) for [], already activated rake-10.0.2 for []
You can either :
- run
bundle exec rake
to use the version of rake listed on yourGemfile.lock
if you don't want to update it - Update the version of rake used in your
Gemfile.lock
by runningbundle update rake
and then you will be able to use the commandrake
again !
already activated spring 1.4.0, but Gemfile requires spring 1.3.3[error]
I fixed it using this.
bundle update spring
Different versions of the same gem in Gemfile - possible?
No, It is disallowed in bundler
premailer - undefined method create_border_shorthand
Are you using Bundler (ie. do you have a Gemfile)?
If so, try adding this:
gem 'css_parser', '1.2.5'
Then bundle install and try again. That will rule out the problem on the github issue report.
Related Topics
Need Help on Reading Emails with "Mail" Gem in Ruby
Access Rake Task Description from Within Task
Ruby: How to Escape Url with Square Brackets [ and ]
How to Convert JSON to Xml in Ruby
How Does String.Unpack Work in Ruby
How to Add Values Dynamically to I18N
Posting Ruby Data in JSON Format with Net/Http
Converting Ruby Hashes to Arrays
Asynchronously Iterating Over The Response of a Request Using Thin and Sinatra
Sqlite3::Sqlexception: Duplicate Column Name While Migrating
How to Handle Serialized Edit Fields in an Active Admin Resource
Docker-Compose Restart Connection Pool Full
Ruby on Rails Tutorial Section 3.2 Rspec Testing Error
Using Ruby with Mechanize to Log into a Website
Why The Unit Test Frameworks in Fortran Rely on Ruby Instead of Fortran Itself
How to Flush HTML to The Wire in Sinatra