Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Simple Ruby on Rails Application Getting Started with Rails Generate a Rails Application

larsfredrik
larsfredrik
2,943 Points

Stuck at "run bundle install"! [SOLVED]

EDIT:

Figured it out. I was using my phone as a hotspot, and with a slow network. I retried this when I came home (where there is wifi) and now it worked like a charm! ^_^ I just had to wait a few seconds. :)

When I type "rails new protokollen (the name of my application)" in the ruby on rails cmd, a script runs (as normal) but stops at "run bundle install". I've waited about 20 minutes now (I think), but it won't continue. If I try using the rvm command, it says thqat it's not a command.

Here's the code:

# Rails Environment Configuration.

---
git:
  user.name:  Lars F. S, Onsager
  user.email: lars-on@hotmail.com
  version:    git version 1.8.4.msysgit.0

ruby:
  bin:        C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe
  version:    ruby 1.9.3p484 (2013-11-22) [i386-mingw32]

rails:
  bin:        C:/RailsInstaller/Ruby1.9.3/bin/rails.bat
  version:    Rails 4.0.2

ssh:
  public_key_location: C:\Users\L/.ssh/id_rsa.pub
  public_key_contents: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAA
f9limrlSEUvAsehgwvZRHkPGwiGJXmXBCUk3hxICKgBhStp12yu6gO3s
sCAvqwl/4IC8Zyh9M23P5PhHBelIdz5XLhBpCghrExTZv8Zmc6pztx8A
NsDU6le4KTpsLGjpVu4z1TZSRwDj+C0n/oKLTgIAaEufYVD8GdZ/dLt8
gZP9a5fn2mPK8gieRlNcKdtZvYghTBm0eW3PMiUOPtCNH5tsqFhq2G1l
w== Lars F. S, Onsager <*censored*>

C:\Users\L\Documents\projects>rails new protokollen
      create
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/views/layouts/application.html.erb
      create  app/assets/images/.keep
      create  app/mailers/.keep
      create  app/models/.keep
      create  app/controllers/concerns/.keep
      create  app/models/concerns/.keep
      create  bin
      create  bin/bundle
      create  bin/rails
      create  bin/rake
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/filter_parameter_loggi
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/secret_token.rb
      create  config/initializers/session_store.rb
      create  config/initializers/wrap_parameters.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  lib
      create  lib/tasks
      create  lib/tasks/.keep
      create  lib/assets
      create  lib/assets/.keep
      create  log
      create  log/.keep
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/robots.txt
      create  test/fixtures
      create  test/fixtures/.keep
      create  test/controllers
      create  test/controllers/.keep
      create  test/mailers
      create  test/mailers/.keep
      create  test/models
      create  test/models/.keep
      create  test/helpers
      create  test/helpers/.keep
      create  test/integration
      create  test/integration/.keep
      create  test/test_helper.rb
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor/assets/javascripts
      create  vendor/assets/javascripts/.keep
      create  vendor/assets/stylesheets
      create  vendor/assets/stylesheets/.keep
         run  bundle install

1 Answer

so basically, u say it stuck at run bundle install, because u have slow connection?