1

I just started to learn rails. I am on W8 and I just installed railsinstaller-2.2.2. I had no problem during the installation.

Then I tried to build a new project :

$ rails new test1 

And then, it stayed blocked after :

   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

Does anyone have a tips?

I already tried to delete and reinstall railsinstaller. But it still doesn't work.

2 Answers2

0

Try and specify rails version when creating a project. for example:

rails _3.2.14_ new test1
Amr Arafat
  • 469
  • 3
  • 8
  • It works ! Thanks a lot for explaining the solution ! – user3425582 Mar 16 '14 at 13:10
  • In fact, problem wasn't solve. As a Young Padawan I just started the project with an old version (3.2.16). But when I try to do the same with a 4.0.2 vrs, it doesn't work again. – user3425582 Mar 20 '14 at 20:39
  • I have a problem with Installing atomic 1.1.16 : Failed to build gem native extension. – user3425582 Mar 20 '14 at 20:41
  • Try this, it might work(http://stackoverflow.com/questions/22461011/new-rails-project-bundle-install-cant-install-rails-in-gemfile) First uninstall any existing atomic gem: "gem uninstall atomic" Then reinstall it using: "gem install atomic -v '1.1.16'" After this try to create a new rails application: "rails new projectname" – Amr Arafat Mar 20 '14 at 22:07
0

I think you have missed your output, because your output.

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

Output is looking like that your rails application folder is created properly and ater that your bundle install is running.

please check your folder structure:

rails_app_name
..../app
......../controller
......../helpers
......../models
......../views
............../layouts
..../components
..../config
..../db
..../doc
..../lib
..../log
..../public
..../script
..../test
..../tmp
..../vendor
README
Rakefile

if rails app folder contain these structure then your app is create properly and your bundle install is taking time.

so, if bundle install taking more time then you can stop bundle install by pressing 'ctrl+c' and try again to install bundle by 'bundle install'

uma
  • 2,932
  • 26
  • 20