Skip to content

Instantly share code, notes, and snippets.

@starrychloe
Created January 29, 2013 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save starrychloe/4660723 to your computer and use it in GitHub Desktop.
Save starrychloe/4660723 to your computer and use it in GitHub Desktop.
bundle error on Cygwin
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ rails server
You have requested:
sqlite3 = 1.3.5
The bundle currently has sqlite3 locked at 1.3.5.
Try running `bundle update sqlite3`
Run `bundle install` to install missing gems.
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError)
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ ls ~/.bundle/ ~/.gem/bundler/ ~/.gems/cache/bundler/
ls: cannot access /home/Chloe/.bundle/: No such file or directory
ls: cannot access /home/Chloe/.gem/bundler/: No such file or directory
ls: cannot access /home/Chloe/.gems/cache/bundler/: No such file or directory
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError)
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle update sqllite3
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError)
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ which bundle
/usr/bin/bundle
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle update sqllite3
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError)
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ rm -rf ~/.bundle/ ~/.gem/bundler/ ~/.gems/cache/bundler/
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ echo $GEM_HOME
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ rm -r $GEM_HOME/bundler/ $GEM_HOME/cache/bundler/
rm: cannot remove `/bundler/': No such file or directory
rm: cannot remove `/cache/bundler/': No such file or directory
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ ls -a
. .git app config.ru doc Gemfile.lock log Rakefile script tmp
.. .gitignore config db Gemfile lib public README.rdoc test vendor
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ ls .bundle
ls: cannot access .bundle: No such file or directory
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ rm -rf .bundle/
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ rm -rf vendor/cache/
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ rm -rf Gemfile.lock
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ gem uninstall rubygems-bundler open_gem
INFO: gem "rubygems-bundler" is not installed
INFO: gem "open_gem" is not installed
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError)
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle env
Could not find task "env".
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle -v
Bundler version 1.2.3
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ gem update bundle
Updating installed gems
Nothing to update
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ cat Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.11'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development do
gem 'sqlite3', '1.3.5'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '3.2.5'
gem 'coffee-rails', '3.2.2'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer'
gem 'uglifier', '1.2.3'
end
gem 'jquery-rails', '2.0.2'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ bundle config
Settings are listed in order of priority. The top value will be used.
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ ruby -v
ruby 1.9.3p374 (2013-01-15 revision 38858) [i386-cygwin]
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ gem -v
1.8.24
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$ rvm -v
-bash: rvm: command not found
Chloe@dumbopc /cygdrive/c/Sites/railsinstaller_demo
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment