Re: Cloud9 not creating files and directories the rails command should create

55 views
Skip to first unread message

Chris Lerum

unread,
May 11, 2015, 10:38:54 AM5/11/15
to rubyonra...@googlegroups.com
You must either be in the wrong directory or it's a Cloud9 issue. If you go to terminal, are the files there?

On Monday, May 11, 2015 at 8:15:15 AM UTC-4, Roman wrote:
I'm sorry if the following question has been asked before but I wasn't able to find the answer.

I've just started going through Michael Hartl's Ruby on Rails Tutorial (3rd Ed.) and hit a brick wall straight out of the gate. I'm trying to run 'rails _4.2.0_ new hello_app' command to create the first application in Cloud9 IDE as instructed in Listing 1.3: Running rails new (with a specific version number). It successfully ran the bundle install command for me and the results displayed were comparable to Hartl's book but it didn't create any promised file structure as shown in (Figure 1.4). I tried refreshing the File Tree in Cloud9 and even running the command again which resulted in some overwriting but it didn't change anything. Please let me know if I am missing something or doing something wrong.

Thanks

rraikov@rails-tutorial:~ $ rails _4.2.0_ new hello_app
      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  bin/setup
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/secrets.yml
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/assets.rb
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/cookies_serializer.rb
      create  config/initializers/filter_parameter_logging.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.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
Fetching gem metadata from https://rubygems.org/............
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Installing rake 10.4.2
Using i18n 0.7.0
Installing json 1.8.2
Installing minitest 5.6.1
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.0
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.6
Installing loofah 2.0.2
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.0
Installing rack 1.6.1
Using rack-test 0.6.3
Using actionpack 4.2.0
Using globalid 0.3.5
Using activejob 4.2.0
Installing mime-types 2.5
Using mail 2.6.3
Using actionmailer 4.2.0
Using activemodel 4.2.0
Using arel 6.0.0
Using activerecord 4.2.0
Installing debug_inspector 0.0.2
Installing binding_of_caller 0.7.2
Using bundler 1.7.6
Installing columnize 0.9.0
Installing byebug 4.0.5
Installing coffee-script-source 1.9.1.1
Installing execjs 2.5.2
Installing coffee-script 2.4.1
Using thor 0.19.1
Using railties 4.2.0
Installing coffee-rails 4.1.0
Using multi_json 1.11.0
Installing jbuilder 2.2.13
Installing jquery-rails 4.0.3
Installing sprockets 3.1.0
Installing sprockets-rails 2.3.0
Using rails 4.2.0
Installing rdoc 4.2.0
Using sass 3.4.13
Using tilt 1.4.1
Installing sass-rails 5.0.3
Installing sdoc 0.4.1
Installing spring 1.3.6
Installing sqlite3 1.3.10
Installing turbolinks 2.5.3
Installing uglifier 2.7.1
Installing web-console 2.1.2
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
         run  bundle exec spring binstub --all
* bin/rake: spring inserted

* bin/rails: spring inserted

Scott Ribe

unread,
May 11, 2015, 11:23:27 AM5/11/15
to rubyonra...@googlegroups.com, Roman
On May 11, 2015, at 9:10 AM, Roman <roman....@gmail.com> wrote:
>
> Hi Chris, thanks for your response. No file tree from the terminal either:

Sure looks like you’re running rails new in ~/, then looking in ~/workspace.

--
Scott Ribe
scott...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice





Scott Ribe

unread,
May 11, 2015, 2:14:18 PM5/11/15
to rubyonra...@googlegroups.com, roman....@gmail.com
On May 11, 2015, at 10:57 AM, Roman <roman....@gmail.com> wrote:
>
> I'm an idiot.

We all go down a path like that once in a while ;-)

Especially when first learning a new system and trying to keep so many things straight at once…

tamouse pontiki

unread,
May 12, 2015, 12:15:34 PM5/12/15
to rubyonra...@googlegroups.com, roman....@gmail.com
i was looking at cloud9 and did a screencast of my playthrough. It's at https://www.youtube.com/watch?v=k7_Q90TZXow -- it might help, i don't know. it's definitely not a pro screencast...


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/36D0D0C0-7DDC-42AD-8349-111E03127C04%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages