Closed kul1 closed 7 years ago
rvm list rvm rubies
ruby-1.8.7-p374 [ i686 ]
gem install rails --version=4.0 For installation so far worked for me However it's shown
Successfully installed rails-4.0.0
11 gems installed
Prateep-Air:mindapp Kul$ pwd
/Users/Kul/htdocs/rb/mindapp
Prateep-Air:mindapp Kul$ rails new mindapp4 --skip-test-unit --skip-bundle --skip-active-record
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 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 tmp/cache
create tmp/cache/assets
create vendor/assets/javascripts
create vendor/assets/javascripts/.keep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.keep
Prateep-Air:mindapp Kul$ cd mindapp4
Prateep-Air:mindapp4 Kul$ vi Gemfile
Prateep-Air:mindapp4 Kul$ bundle
Fetching git@github.com:songrit/mindapp.git
Fetching gem metadata from https://rubygems.org/............
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.4
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.5
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.5
Using loofah 2.0.1
Using rails-html-sanitizer 1.0.1
Using actionview 4.2.0
Using rack 1.6.0
Using rack-test 0.6.3
Using actionpack 4.2.0
Using globalid 0.3.0
Using activejob 4.2.0
Using mime-types 2.4.3
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
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using bundler 1.6.1
Using columnize 0.9.0
Using debugger-linecache 1.2.0
Using slop 3.6.0
Using byebug 3.5.1
Using coffee-script-source 1.8.0
Using execjs 2.2.2
Using coffee-script 2.3.0
Using thor 0.19.1
Using railties 4.2.0
Using coffee-rails 4.1.0
Using hike 1.2.3
Using multi_json 1.10.1
Using jbuilder 2.2.6
Using jquery-rails 4.0.3
Using mindapp 0.0.8 from git@github.com:songrit/mindapp.git (at master)
Using tilt 1.4.1
Using sprockets 2.12.3
Using sprockets-rails 2.2.2
Using rails 4.2.0
Using rdoc 4.2.0
Using sass 3.4.10
Using sass-rails 5.0.1
Using sdoc 0.4.1
Using spring 1.2.0
Using turbolinks 2.5.3
Using uglifier 2.7.0
Using web-console 2.0.0
Your bundle is complete!
Use bundle show [gemname]
to see where a bundled gem is installed.
Prateep-Air:mindapp4 Kul$ rails generate mindapp:install
route root :to => 'mindapp#index'
route resources :identities
route resources :sessions
route post '/auth/:provider/callback' => 'sessions#create'
route get '/auth/failure' => 'sessions#failure'
route get '/logout' => 'sessions#destroy', :as => 'logout'
route get ':controller(/:action(/:id))(.:format)'
route post ':controller(/:action(/:id))(.:format)'
create README.md
insert config/application.rb
initializer mindapp.rb
insert config/environment.rb
insert config/environments/development.rb
insert config/environments/production.rb
initializer omniauth.rb
run mv index.html index.html.bak from "./public"
mv: rename index.html to index.html.bak: No such file or directory
run mv application.html.erb application.html.erb.bak from "./app/views/layouts"
run mv application.js application.js.bak from "./app/assets/javascripts"
run mv application.css application.css.bak from "./app/assets/stylesheets"
exist app
create app/assets/images/account.png
create app/assets/images/add.png
create app/assets/images/ajax-loader-circle.gif
create app/assets/images/ajax-loader.gif
create app/assets/images/anchor.png
create app/assets/images/application_double.png
create app/assets/images/application_form_edit.png
create app/assets/images/arrow_left.png
create app/assets/images/arrow_right.png
create app/assets/images/arrow_turn_left.png
create app/assets/images/arrow_turn_right.png
create app/assets/images/calendar.png
create app/assets/images/cancel.png
create app/assets/images/chart_bar.png
create app/assets/images/clock.png
create app/assets/images/cog.png
create app/assets/images/control_fastforward.png
create app/assets/images/control_play.png
create app/assets/images/cross.png
create app/assets/images/delete.png
create app/assets/images/external-link.png
create app/assets/images/help.png
create app/assets/images/house.png
create app/assets/images/logo_mindapp.png
create app/assets/images/logout.png
create app/assets/images/new.gif
create app/assets/images/new.png
create app/assets/images/page.png
create app/assets/images/page_attach.png
create app/assets/images/page_green.png
create app/assets/images/page_output.png
create app/assets/images/page_pdf.png
create app/assets/images/pencil.png
create app/assets/images/printer.png
create app/assets/images/refresh.png
create app/assets/images/report.png
create app/assets/images/rssmall.png
create app/assets/images/tick.png
create app/assets/images/user.png
create app/assets/images/view_code.png
create app/assets/javascripts/admins.js.coffee
create app/assets/javascripts/application.js
create app/assets/javascripts/devs.js.coffee
create app/assets/javascripts/disable_enter_key.js
create app/assets/javascripts/iscroll-wrapper.js
create app/assets/javascripts/iscroll.js
create app/assets/javascripts/jquery-1.7.1.js
create app/assets/javascripts/jquery.mobile.datebox.js
create app/assets/javascripts/jquery.mobile.js
create app/assets/javascripts/jquery.mobile.splitview.js
create app/assets/javascripts/mindapp.js
create app/assets/javascripts/users.js.coffee
create app/assets/stylesheets/admins.css.scss
create app/assets/stylesheets/application.css.scss
create app/assets/stylesheets/devs.css.scss
create app/assets/stylesheets/fonts/sarabun.eot
create app/assets/stylesheets/fonts/sarabun.ttf
create app/assets/stylesheets/fonts/sarabun.woff
create app/assets/stylesheets/fonts/sarabun_bold.ttf
create app/assets/stylesheets/fonts/sarabun_bolditalic.ttf
create app/assets/stylesheets/fonts/sarabun_italic.ttf
create app/assets/stylesheets/fonts/thsarabunnew-webfont.eot
create app/assets/stylesheets/fonts/thsarabunnew-webfont.ttf
create app/assets/stylesheets/fonts/thsarabunnew-webfont.woff
create app/assets/stylesheets/fonts/thsarabunnew.css
create app/assets/stylesheets/fonts/thsarabunnew_bold-webfont.eot
create app/assets/stylesheets/fonts/thsarabunnew_bold-webfont.ttf
create app/assets/stylesheets/fonts/thsarabunnew_bold-webfont.woff
create app/assets/stylesheets/fonts/thsarabunnew_bolditalic-webfont.eot
create app/assets/stylesheets/fonts/thsarabunnew_bolditalic-webfont.ttf
create app/assets/stylesheets/fonts/thsarabunnew_bolditalic-webfont.woff
create app/assets/stylesheets/fonts/thsarabunnew_italic-webfont.eot
create app/assets/stylesheets/fonts/thsarabunnew_italic-webfont.ttf
create app/assets/stylesheets/fonts/thsarabunnew_italic-webfont.woff
create app/assets/stylesheets/images/ajax-loader.png
create app/assets/stylesheets/images/bg.png
create app/assets/stylesheets/images/button_black.png
create app/assets/stylesheets/images/button_blue.png
create app/assets/stylesheets/images/button_red.png
create app/assets/stylesheets/images/cancel.png
create app/assets/stylesheets/images/close.png
create app/assets/stylesheets/images/del2.png
create app/assets/stylesheets/images/deli4.png
create app/assets/stylesheets/images/down-left.png
create app/assets/stylesheets/images/down-right.png
create app/assets/stylesheets/images/fbook.png
create app/assets/stylesheets/images/ff.png
create app/assets/stylesheets/images/icon-search-black.png
create app/assets/stylesheets/images/icons-18-black.png
create app/assets/stylesheets/images/icons-18-white.png
create app/assets/stylesheets/images/icons-36-black.png
create app/assets/stylesheets/images/icons-36-white.png
create app/assets/stylesheets/images/overlay.png
create app/assets/stylesheets/images/rss3.png
create app/assets/stylesheets/images/rss4.png
create app/assets/stylesheets/images/search_bg.png
create app/assets/stylesheets/images/stumble2.png
create app/assets/stylesheets/images/stumble4.png
create app/assets/stylesheets/images/tab-left.png
create app/assets/stylesheets/images/tab-right.png
create app/assets/stylesheets/images/tech3.png
create app/assets/stylesheets/images/tech4.png
create app/assets/stylesheets/images/twitter3.png
create app/assets/stylesheets/images/twitter4.png
create app/assets/stylesheets/images/ui-anim_basic_16x16.gif
create app/assets/stylesheets/images/ui-bg_flat_0_aaaaaa_40x100.png
create app/assets/stylesheets/images/ui-bg_flat_55_fbec88_40x100.png
create app/assets/stylesheets/images/ui-bg_flat_75_ffffff_40x100.png
create app/assets/stylesheets/images/ui-bg_glass_55_fbf9ee_1x400.png
create app/assets/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png
create app/assets/stylesheets/images/ui-bg_glass_75_d0e5f5_1x400.png
create app/assets/stylesheets/images/ui-bg_glass_75_dadada_1x400.png
create app/assets/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png
create app/assets/stylesheets/images/ui-bg_glass_85_dfeffc_1x400.png
create app/assets/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png
create app/assets/stylesheets/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png
create app/assets/stylesheets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
create app/assets/stylesheets/images/ui-bg_inset-hard_100_f5f8f9_1x100.png
create app/assets/stylesheets/images/ui-bg_inset-hard_100_fcfdfd_1x100.png
create app/assets/stylesheets/images/ui-icons_217bc0_256x240.png
create app/assets/stylesheets/images/ui-icons_222222_256x240.png
create app/assets/stylesheets/images/ui-icons_2e83ff_256x240.png
create app/assets/stylesheets/images/ui-icons_454545_256x240.png
create app/assets/stylesheets/images/ui-icons_469bdd_256x240.png
create app/assets/stylesheets/images/ui-icons_6da8d5_256x240.png
create app/assets/stylesheets/images/ui-icons_888888_256x240.png
create app/assets/stylesheets/images/ui-icons_cd0a0a_256x240.png
create app/assets/stylesheets/images/ui-icons_d8e7f3_256x240.png
create app/assets/stylesheets/images/ui-icons_f9bd01_256x240.png
create app/assets/stylesheets/indicator.gif
create app/assets/stylesheets/jquery.mobile.css
create app/assets/stylesheets/jquery.mobile.datebox.css
create app/assets/stylesheets/jquery.mobile.grids.collapsible.css
create app/assets/stylesheets/jquery.mobile.splitview.css
create app/assets/stylesheets/mindapp.css
create app/assets/stylesheets/sarabun.css
create app/assets/stylesheets/users.css.scss
create app/controllers/admins_controller.rb
create app/controllers/devs_controller.rb
create app/controllers/identities_controller.rb
create app/controllers/mindapp_controller.rb
create app/controllers/sessions_controller.rb
create app/controllers/users_controller.rb
create app/helpers/admins_helper.rb
create app/helpers/devs_helper.rb
create app/helpers/users_helper.rb
create app/mailers/mindapp_mailer.rb
create app/mindapp/index.mm
create app/mindapp/template/view.html.erb
create app/models/.gitkeep
create app/models/identity.rb
create app/models/mindapp/doc.rb
create app/models/mindapp/module.rb
create app/models/mindapp/notice.rb
create app/models/mindapp/role.rb
create app/models/mindapp/runseq.rb
create app/models/mindapp/service.rb
create app/models/mindapp/xmain.rb
create app/models/param.rb
create app/models/user.rb
create app/views/admins/edit_role/edit_role.html.erb
create app/views/admins/edit_role/select_user.html.erb
create app/views/identities/new.html.erb
create app/views/layouts/_full.haml
create app/views/layouts/_head.html.erb
create app/views/layouts/_page.haml
create app/views/layouts/_top.html.erb
create app/views/layouts/application.haml
create app/views/layouts/gmail.html.erb
create app/views/layouts/mobile.html.erb
create app/views/layouts/mobilejq.html.erb
create app/views/layouts/print.html.erb
create app/views/layouts/utf8.html.erb
create app/views/mindapp/_activity.md
create app/views/mindapp/_menu.haml
create app/views/mindapp/_menu_mm.haml
create app/views/mindapp/_model.md
create app/views/mindapp/_modul.md
create app/views/mindapp/_pending_home.haml
create app/views/mindapp/_pending_page.haml
create app/views/mindapp/_service.md
create app/views/mindapp/_static.haml
create app/views/mindapp/doc.md
create app/views/mindapp/error_logs.haml
create app/views/mindapp/feed.rss.builder
create app/views/mindapp/help.haml
create app/views/mindapp/index.html.haml
create app/views/mindapp/logs.haml
create app/views/mindapp/pending.haml
create app/views/mindapp/run_form.haml
create app/views/mindapp/run_output.haml
create app/views/mindapp/search.haml
create app/views/mindapp/status.haml
create app/views/mindapp_mailer/gmail.html.erb
create app/views/sessions/new.html.erb
create app/views/users/index.haml
create app/views/users/pwd/enter.html.erb
create app/views/users/user/enter_user.html.erb
create config/cloudinary.yml
create upload
gemfile mongo
gemfile bson_ext
gemfile mongoid (~> 4.0.0)
gemfile nokogiri
gemfile haml-rails
gemfile mail
gemfile prawn
gemfile redcarpet
gemfile bcrypt-ruby (~> 3.0.0)
gemfile omniauth-identity
gemfile cloudinary
gemfile kaminari
gemfile group :development, :test
append Gemfile
gemfile debugger
gemfile rspec
gemfile rspec-rails
gemfile better_errors
gemfile binding_of_caller
append Gemfile
Mindapp installation finish, please run bundle install again to install additional gems. Then run rails generate mindapp:mongoid
Prateep-Air:mindapp4 Kul$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.4
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.5
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.5
Using loofah 2.0.1
Using rails-html-sanitizer 1.0.1
Using actionview 4.2.0
Using rack 1.6.0
Using rack-test 0.6.3
Using actionpack 4.2.0
Using globalid 0.3.0
Using activejob 4.2.0
Using mime-types 2.4.3
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 aws_cf_signer 0.1.3
Installing bcrypt-ruby 3.0.1
Installing coderay 1.1.0
Installing better_errors 2.1.1
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Installing bson 2.3.0
Installing bson_ext 1.5.1
Using bundler 1.6.1
Using columnize 0.9.0
Using debugger-linecache 1.2.0
Using slop 3.6.0
Using byebug 3.5.1
Installing netrc 0.10.2
Installing rest-client 1.7.2
Installing cloudinary 1.0.81
Using coffee-script-source 1.8.0
Using execjs 2.2.2
Using coffee-script 2.3.0
Using thor 0.19.1
Using railties 4.2.0
Using coffee-rails 4.1.0
Installing connection_pool 2.1.1
Installing debugger-ruby_core_source 1.3.7
Installing debugger 1.6.8
Installing diff-lcs 1.2.5
Using tilt 1.4.1
Installing haml 4.0.6
Installing sexp_processor 4.4.5
Installing ruby_parser 3.6.4
Installing html2haml 2.0.0
Installing haml-rails 0.7.0
Installing hashie 3.3.2
Using hike 1.2.3
Using multi_json 1.10.1
Using jbuilder 2.2.6
Using jquery-rails 4.0.3
Installing kaminari 0.16.2
Using mindapp 0.0.8 from git@github.com:songrit/mindapp.git (at master)
Installing mongo 1.3.1
Installing optionable 0.2.0
Installing moped 2.0.3
Installing origin 2.1.1
Installing mongoid 4.0.0
Installing omniauth 1.2.2
Installing omniauth-identity 1.1.1
Installing pdf-core 0.4.0
Installing ttfunk 1.4.0
Installing prawn 1.3.0
Using sprockets 2.12.3
Using sprockets-rails 2.2.2
Using rails 4.2.0
Using rdoc 4.2.0
Installing redcarpet 3.2.2
Installing rspec-support 3.1.2
Installing rspec-core 3.1.7
Installing rspec-expectations 3.1.2
Installing rspec-mocks 3.1.3
Installing rspec 3.1.0
Installing rspec-rails 3.1.0
Using sass 3.4.10
Using sass-rails 5.0.1
Using sdoc 0.4.1
Using spring 1.2.0
Using turbolinks 2.5.3
Using uglifier 2.7.0
Using web-console 2.0.0
Your bundle is complete!
Use bundle show [gemname]
to see where a bundled gem is installed.
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break your application:
Missing: rails generate mindapp:mongoid
as seen in 2nd bundle Mindapp installation finish, please run bundle install again to install additional gems. Then run rails generate mindapp:mongoid