rails 安装 bootstrappers 成功运行时报错
vagrant@vagrant-ubuntu-trusty-64:~$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
vagrant@vagrant-ubuntu-trusty-64:~$ rails -v
Rails 4.1.2
vagrant@vagrant-ubuntu-trusty-64:~$ bootstrappers blog
create
create README.md
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/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
remove public/index.html
remove app/assets/images/rails.png
Setting up the development environment
Creating bootstrappers views
create app/views/application
create app/views/pages
create app/views/common
force app/views/layouts/application.html.erb
Pulling in some common partials
exist app/views/common
create app/views/common/_bootstrap_modal.html.erb
create app/views/common/_facebook_js.erb
create app/views/common/_footer.html.erb
create app/views/common/_google_analytics.html.erb
create app/views/common/_menu.html.erb
create app/views/common/_not_logined.js.erb
create app/views/common/_search_form.html.erb
create app/views/common/_user_nav.html.erb
Pulling in some common javascripts
remove app/assets/javascripts/application.js
exist app/assets/javascripts
create app/assets/javascripts/application.js
Pulling in some common stylesheets
remove app/assets/stylesheets/application.css
exist app/assets/stylesheets
create app/assets/stylesheets/application.css.scss
create app/assets/stylesheets/bootstrap- override.css.scss
create app/assets/stylesheets/bootstrap-setting.css.scss
create app/assets/stylesheets/common.css.scss
Add coomon javascripts to the standard application.js
Add common rake tasks
exist lib/tasks
create lib/tasks/dev.rake
insert Gemfile
insert Gemfile
create .rvmrc
create .powrc
run bundle install
Fetching gem metadata from
https://rubygems.org/
.............
Fetching version metadata from
https://rubygems.org/
...
Fetching dependency metadata from
https://rubygems.org/
..
Resolving dependencies............
Bundler could not find compatible versions for gem "sass":
In Gemfile:
anjlab-bootstrap-rails (= 2.3.1.2) ruby depends on
sass (>= 3.2) ruby
sass-rails (~> 4.0.3) ruby depends on
sass (~> 3.2.2) ruby
compass-rails (~> 1.1.2) ruby depends on
compass (>= 0.12.2) ruby depends on
sass (< 3.5, >= 3.3.13) ruby
Bundler could not find compatible versions for gem "rails":
In Gemfile:
auto-facebook (= 0.4) ruby depends on
rails (= 4.0.0) ruby
rails (= 4.1.2) ruby
create config/deploy.rb
create Capfile
create config/deploy
exist config/deploy
create config/deploy/assets.rb
Setting up capinstrano
Setting up database
create config/database.yml.example
run bundle exec rake db:create
/home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/resolver.rb:345:in
block in verify_gemfile_dependencies_are_found!': Could not find gem 'sqlite3 (>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/resolver.rb:323:in
each'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/resolver.rb:323:in
verify_gemfile_dependencies_are_found!'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/resolver.rb:198:in
start'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/resolver.rb:182:in
resolve'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/definition.rb:199:in
resolve'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/definition.rb:139:in
specs'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/definition.rb:184:in
specs_for'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/definition.rb:173:in
requested_specs'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/environment.rb:18:in
requested_specs'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/runtime.rb:13:in
setup'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler.rb:126:in
setup'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.10.2/lib/bundler/setup.rb:18:in
<top (required)>'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require'
Configuring app
create app/models/setting.rb
create config/config.yml
create config/config.yml.example
create_initializers
exist config/initializers
create config/initializers/seo_helper.rb
/home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrappers-4.2.1.1/lib/bootstrappers/actions.rb:12:in
replace_in_file': /Application.routes.draw do.*end/m not found in config/routes.rb (RuntimeError)
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrappers-4.2.1.1/lib/bootstrappers/app_builder.rb:90:in
remove_routes_comment_lines'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.1.2/lib/rails/generators/app_base.rb:133:in
build'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrappers-4.2.1.1/lib/bootstrappers/generators/app_generator.rb:125:in
remove_routes_comment_lines'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in
run'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/group.rb:230:in
dispatch'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in
invoke'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrappers-4.2.1.1/lib/bootstrappers/generators/app_generator.rb:28:in
bootstrappers_customization'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in
run'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/group.rb:230:in
dispatch'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in
invoke'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrappers-4.2.1.1/lib/bootstrappers/generators/app_generator.rb:10:in
finish_template'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in
run'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
invoke_command'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
block in invoke_all'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
each'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
map'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
invoke_all'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/group.rb:232:in
dispatch'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in
start'
from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrappers-4.2.1.1/bin/bootstrappers:12:in
'
from /home/vagrant/.rbenv/versions/2.1.2/bin/bootstrappers:23:in
load'
from /home/vagrant/.rbenv/versions/2.1.2/bin/bootstrappers:23:in
'
vagrant@vagrant-ubuntu-trusty-64:~$