Posts

Showing posts with the label Gem

Could Not Locate Gemfile

Answer : You do not have Gemfile in a directory where you run that command. Gemfile is a file containing your gem settings for a current program. Make sure you are in the project directory before running bundle install . For example, after running rails new myproject , you will want to cd myproject before running bundle install . I had the same problem and got it solved by using a different directory. bash-4.2$ bundle install Could not locate Gemfile bash-4.2$ pwd /home/amit/redmine/redmine-2.2.2-0/apps/redmine bash-4.2$ cd htdocs/ bash-4.2$ ls app config db extra Gemfile lib plugins Rakefile script tmp bin config.ru doc files Gemfile.lock log public README.rdoc test vendor bash-4.2$ cd plugins/ bash-4.2$ bundle install Using rake (0.9.2.2) Using i18n (0.6.0) Using multi_json (1.3.6) Using activesupport (3.2.11) Using builder (3.0.0) Using activemodel (3.2.11) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.4.1) Using rack-cache (1.2) Using ra...