Category Archives: Error

Uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)

This error may occur to run older Rails application for conflicting with rubygems version. After a long googling I’ve come out in to following three solutions: Using Bundler.:Click here if you are interested to see the solution. Changing rubygems version: Downgrade the rubygems to an earlier version using gem update –system {version} Add “require ‘thread’”…

Read More

LF will be replaced by CRLF

I was getting following message while trying to add files to GIT index: Warning: LF will be replaced by CRLF …. By google search I found that – whenever tried to add files to the repository, git thinks that, the file is a text file and all files automatically will have their LF line endings…

Read More

Unpacked gem has no specification file

I started working on a new rails project and in every time from command line operation getting this type of irritating message: config.gem: Unpacked gem ….. in vendor/gems has no specification file. Run ‘rake gems:refresh_specs’ to fix this. I run rake gems:refresh_specs but the problem isn’t fixed. Moreover, tried by creating specification file as well….

Read More

’rails’ is not recognized as an internal or external command, operable program or batch file

You might experience the problem due to the following reasons: You haven’t installed Rails Rails path cannot be found Installed Rails using a ‘special’ installer To resolve the issue, uninstall rails installation from your PC and try a normal installation through command prompt by using following command: gem install rails –include-dependencies Note: Be sure, you…

Read More