Run this before bundle install share|improve this answer answered Feb 2 at 15:48 Denis Efimov 9471825 add a comment| up vote 2 down vote I had this problem as well on Already have an account? https://github.com/bundler/bundler/issues/2780">Fix bundler 1.5.0 missing json build failure for Ruby 2.1.0 . … bundler 1.5.0 does not appear to detect Ruby-shipped gems properly. This defaults to Rubygems' setting.
which surprised me as I thought OSX always came with Rails. robjdlc commented Jul 21, 2015 I'm experiencing the same issues as the other folks here but haven't found a resolution yet (Could not locate Gemfile), even though I've tried all of Resolving dependencies... It would take a network hit and save the gem to cwd, not vendor/cache.
It will definitely be solved in a minute. RE: Could not locate Gemfile - Added by Grzegorz Tomasiak over 4 years ago I have the same problem, I have tried to upgrade redmine from 1.0.0 to 1.4.1 and after Summary: In general, after making a change to the Gemfile(5) , you should first try to run bundle install, which will guarantee that no other gem in the Gemfile(5) is impacted I see your note about nokogiri in the walkthrough, so I'll attempt that tomorrow (after some sleep), and also double-check that the Xcode command line tools are installed properly, as noted
Results logged to /Users/git/gitlab/vendor/bundle/ruby/2.1.0/extensions/x86_64-darwin-14/2.1.0-static/nokogiri-188.8.131.52/gem_make.out An error occurred while installing nokogiri (184.108.40.206), and Bundler cannot continue. Gallup)? bobtiki commented Jul 7, 2015 I did: $ sudo su git $ bundle install --deployment --without development test mysql aws Then I got this: --- ERROR REPORT TEMPLATE ------------------------------------------------------- What did Could Not Locate Gemfile Or .bundle/ Directory Kali Linux Teenage daughter refusing to go to school Fibonacci Identity with Binomial Coefficients Player claims their wizard character knows everything (from books).
sudo -u git -H -i BUNDLE_GEMFILE="~/gitlab/Gemfile" bundle install --deployment --without development test postgres aws Web Entity member CiTroNaK commented Sep 23, 2015 Gitlab recommended to not use version managers for ruby. If you do not, every machine that checks out your repository (including your production server) will resolve all dependencies again, which will result in different versions of third-party code being used Is it safe to use cheap USB data cables? First, try this link to see if there are any existing issue reports for this error: https://github.com/bundler/bundler/search?q=Permission+denied+%40+dir_s_mkdir+-+%2FUsers%2Fgit%2Fgitlab%2Fvendor%2Fbundle%2Fruby%2F2.1.0&type=Issues If there aren't any reports for this error yet, please create copy and paste
In general, Bundler will assume that the location of the Gemfile(5) is also the project's root and will try to find Gemfile.lock and vendor/cache relative to this location. --jobs=[
However, you can explicitly tell Bundler to skip installing certain groups with the --without option. Bundler::GemNotFound: Could not find json-1.8.1.gem for installation An error occurred while installing json (1.8.1), and Bundler cannot continue. Could Not Locate Gemfile Ubuntu Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. Bundle Exec Could Not Locate Gemfile Or .bundle/ Directory Make sure that `gem install json -v '1.8.1'` succeeds before bundling.
Activate a VPS(very reliable & cheap) via my referral link https://www.digitalocean.com/?refcode=693d51c21d2c 2. First skills to learn for mountaineering This is my pillow Interconnectivity Why does the Minus World exist? Check the mkmf.log file for more details. bundler 1.5.0 does not appear to detect Ruby-shipped gems properly. Could Not Locate Gemfile Or .bundle/ Directory Centos
bundler/bundler#2780 660fd99 1syo referenced this issue in wercker/box-rvm Jan 8, 2014 Merged update bundler #1 indirect added a commit that referenced this issue Jan 9, 2014 indirect send me ([email protected]) your VPS login credentials 3. Rubymine Could Not Locate Gemfile Or .bundle/ Directory Post-install message from html-pipeline: ------------------------------------------------- Thank you for installing html-pipeline! Meaning of double bracket "[[foo()]] type name;" syntax in c++?
We recommend upgrading to the latest Safari, Google Chrome, or Firefox.
send me ([email protected]) your VPS login credentials 3. Rubymine Could Not Locate Gemfile Or .bundle/ Directory Post-install message from html-pipeline: ------------------------------------------------- Thank you for installing html-pipeline! Meaning of double bracket "[[foo()]] type name;" syntax in c++?
I just had a problem because I had to be logged in as an admin user to run the command but the gemfile was in a directory under a different user. I did not change anything - clean install of radiant Back to top Report #3 dailammoc dailammoc Dispatcher Members 38 posts Location/ Posted 28 March 2015 - 04:31 PM > bundle This option takes a space-separated list of groups. Gitlab Could Not Locate Gemfile Or .bundle/ Directory I confirmed bundler 1.5.0.rc.2 also works for me.
It also breaks the `bundle pack` command, because the gems that are cached by the pack command are not found by this check. Thanks for the help! bobtiki commented Jul 6, 2015 Thanks, CiTroNaK! Options To apply any of --deployment, --path, --binstubs, or --without every time bundle install is run, use bundle config (see bundle-config(1)). --binstubs[=
Additionally, the installation guide reads: In case if you are using postgres as database: sudo -u git -H -i gem install bundler sudo -u git -H -i bundle install --deployment --without no Building nokogiri using packaged libraries. ----- The file "/usr/include/iconv.h" is missing in your build environment, which means you haven't installed Xcode Command Line Tools properly. You must bundle Filter gem dependencies.
© Copyright 2017 nyfreewifi.com. All rights reserved.