bundler doesn't work

118 views
Skip to first unread message

mahmoud gharbi

unread,
Apr 5, 2015, 10:06:50 AM4/5/15
to railsin...@googlegroups.com
C:\Sites>rails new second
DL is deprecated, please use Fiddle
     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  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
DL is deprecated, please use Fiddle
C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/win32/registry.rb:70:in `find': unkno
wn encoding name - CP720 (ArgumentError)
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/win32/registry.rb:70:in
`<module:Win32>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/win32/registry.rb:3:in `
<top (required)>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/win32/resolv.rb:6:in `<t
op (required)>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/resolv.rb:170:in `<class
:Hosts>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/resolv.rb:167:in `<class
:Resolv>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/resolv.rb:37:in `<top (r
equired)>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/remote_fetcher.
rb:5:in `<top (required)>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/spec_fetcher.rb
:1:in `<top (required)>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in `require'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/source/rubygems.rb:3:in `<top (required)>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/source_list.rb:9:in `initialize'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/dsl.rb:20:in `new'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/dsl.rb:20:in `initialize'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/dsl.rb:9:in `new'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/dsl.rb:9:in `evaluate'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/definition.rb:25:in `build'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler.rb:154:in `definition'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/cli/install.rb:77:in `run'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/cli.rb:145:in `install'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/vendor/thor/command.rb:27:in `run'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/vendor/thor.rb:363:in `dispatch'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/vendor/thor/base.rb:440:in `start'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/cli.rb:9:in `start'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
bin/bundle:20:in `block in <main>'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'
       from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/
bin/bundle:18:in `<main>'
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

C:\Sites>

any ideas 

Dušan D. Majkić

unread,
Apr 5, 2015, 11:15:43 AM4/5/15
to railsin...@googlegroups.com
> unknown encoding name - CP720 (ArgumentError)

Try with this command

C:\chcp 1252

in command prompt, before rails command.
Reply all
Reply to author
Forward
0 new messages