Cloud9 not creating files and directories the rails command should create

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 H.'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)
https://www.railstutorial.org/book/beginning#code-rails_command. 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)
https://www.railstutorial.org/book/beginning#fig-directory_structure_rails.
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

https://lh3.googleusercontent.com/-pAjDCRRsVCI/VVCbz_-5a8I/AAAAAAAACTA/sZmMLlwFrns/s1600/Screen%2BShot%2B2015-05-11%2Bat%2B13.08.00.png
[email protected]:~ $ 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

https://lh3.googleusercontent.com/-pAjDCRRsVCI/VVCbz_-5a8I/AAAAAAAACTA/sZmMLlwFrns/s1600/Screen%2BShot%2B2015-05-11%2Bat%2B13.08.00.png

  • bin/rails: spring inserted

You must either be in the wrong directory or it’s a Cloud9 issue. If you
go
to terminal, are the files there?

Hi Chris, thanks for your response. No file tree from the terminal
either:
[email protected]:~ $ cd workspace
[email protected]:~/workspace $ ls
README.md
[email protected]:~/workspace $

I’m an idiot. This was now resolved. Thanks Scott.

On May 11, 2015, at 9:10 AM, Roman [email protected] 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 R.
[email protected]
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice

On May 11, 2015, at 10:57 AM, Roman [email protected] wrote:

I’m an idiot.

We all go down a path like that once in a while :wink:

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


Scott R.
[email protected]
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice

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…

On Mon, May 11, 2015 at 1:13 PM, Scott R.
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs