Error after running rake gems:install - ruby-on-rails

I want to install the fedena school management system. When I type rake gems:install I get the following error:
/usr/local/share/gems/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
(in /var/www/html/fedena)
rake aborted!
undefined method `name' for "Ascii85":String
(See full trace by running task with --trace)
What shoud I do?

For fedena rake 0.8.7 Required So Open command Prompt
type gem install rake v-0.8.7

Related

Command 'rake test' is not working

I use Windows 7 (because I'm so lasy for installing Linux), and Ruby on Rails like a framework that I learn. I tried to write a command rake test in terminal, but
I get an error:
rake aborted!
Errno::EACCES: Permission denied # unlink_internal
What it means? How to solve that problem and continue my studying?
Try running the below command
rake db:migrate RAILS_ENV=test
before running
rake test

rake gems:install throws error

I am trying to install queue-tip on my asterisk server using the following guide:
http://queue-tip.rubyforge.org/install.html
However I am unable to proceed past the following step as it throws this error:
rake gems:install
rake aborted!
undefined method `name' for "abstract":String
Tasks: TOP => environment
Any help please?
To install a gem, use the gem command, e.g. gem install rails. If you're in a Rails 3.x environment, add to the file Gemfile.rb in a format similar to others already included, then run bundle install from your project directory.

Rake aborts in Rails 3.2.8

I had create a empty new rails project with a scaffold successfully but when I try rake db:create, it throws me an error: rake aborted! uninitialized constant Rake::DSL.
As other SO post mentioned, I tried setting my Gemfile to gem 'rake', '0.8.7', but rake gives me another error:
You have requested: rake = 0.8.7
The bundle currently has rake locked at 0.9.2.2. Try running bundle
update rake Run bundle install to install missing gems.
Then I did as the message said and update rake and bundle install. Same error.
It is nice and easy experience to develop a project a rails but it is a nightmare porting between ruby versions, rails versions, difference gem and plugin versions..
Try to delete your Gemfile.lock, and type this on your terminal:
bundle install
I had create a empty new rails project with a scaffold successfully but when I try rake db:create, it throws me an error: rake aborted! uninitialized constant Rake::DSL.
for this problem I'd suggest running all rake tasks via bundle exec rake ...

heroku rake db:migrate aborting

heroku rake db:migrate
rake aborted!
no such file to load -- acts_as_ferret
(See full trace by running task with --trace)
(in /disk1/home/slugs/310513_b4b7e61_4c01/mnt)
It show this message issue. how do I fixes this?
add gem in your gem file "acts_as_ferret"
bundle install
run heroku run rake db:migrate
Add the gem act_as_ferret gem.
But seems complicated in heroku environement without ferret.

Rake Gems Install Error

I am getting the following error when trying to install gems:
Mohammad-Azams-MacBook-Pro:awesomecats azamsharp$ sudo rake gems:install
Password:
(in /Projects/awesomecats)
rake aborted!
Don't know how to build task 'gems:install'
(See full trace by running task with --trace)
Mohammad-Azams-MacBook-Pro:awesomecats azamsharp$
If the task isn't listed in the output of rake -T then it isn't defined and you can't run it.
Rails 3 removed this task in favor of using Gemfile and bundler as the official gem installation procedure as gems:install was often tricky to get working properly.

Resources