ruby on rails 3 - RubyMine bundle/bundler configuration error -
i on windows , using rubymine develop app. 2-year old found banging on keyboard when had stepped away sec. did environment can't figure out. i'm getting following error when try run bundle install
or bundle update
:
c:\railsinstaller\ruby1.9.3\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=argv.shift) c:\railsinstaller\ruby1.9.3\bin/bundle update c:/railsinstaller/ruby1.9.3/bin/bundle:23:in `load': cannot load such file -- c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.4.0.rc.1/bin/bundle (loaderror) c:/railsinstaller/ruby1.9.3/bin/bundle:23:in `<top (required)>' -e:1:in `load' -e:1:in `<main>' process finished exit code 1
my gemfile looks this:
source 'https://rubygems.org' gem 'rails', '3.2.11' # bundle edge rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' gem 'jquery-rails' gem 'bcrypt-ruby', '~> 3.0.0' gem 'paperclip' gem 'wicked' #for handling *.pdf documents, use wicked_pdf gem 'public_activity' gem 'thin' gem 'strong_parameters' # gems used assets , not required # in production environments default. group :assets gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' # see https://github.com/sstephenson/execjs#readme more supported runtimes # gem 'therubyracer', :platforms => :ruby gem 'uglifier', '>= 1.0.3' end group :development, :test gem 'rspec-rails' gem 'sqlite3' gem 'autotest' gem 'autotest-rails-pure' end group :development gem 'annotate' end group :production gem 'pg' end
bcrypt-ruby
set gem 'bcrypt-ruby', '~> 3.0.0'
handle error (duplicate version load error).
my gem environment this:
rubygems version: 1.8.24 ruby version: 1.9.3 (2013-02-22 patchlevel 392) [i386-mingw32] installation directory: c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1 ruby executable: c:/railsinstaller/ruby1.9.3/bin/ruby.exe executable directory: c:/railsinstaller/ruby1.9.3/bin rubygems platforms: ruby x86-mingw32 gem paths: c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1 c:/documents , settings/me/.gem/ruby/1.9.1 gem configuration: :update_sources => true :verbose => true :benchmark => false :backtrace => false :bulk_threshold => 1000 remote sources: http://rubygems.org/ ---------------------- ide: jetbrains rubymine 5.4.3.2.1, build #rm-129.861 os: windows xp 5.1[x86] java: 1.7.0_10-b18 rubymine sdk environment: sdk: ruby-1.9.3-p392 sdk version: ver.1.9.3p392 p392 ruby interpreter: c:/railsinstaller/ruby1.9.3/bin/ruby.exe rvm sdk: no sdk language level: 1.9 sdk load path: c:/railsinstaller/ruby1.9.3/lib/ruby/site_ruby/1.9.1 c:/railsinstaller/ruby1.9.3/lib/ruby/site_ruby/1.9.1/i386-msvcrt c:/railsinstaller/ruby1.9.3/lib/ruby/site_ruby c:/railsinstaller/ruby1.9.3/lib/ruby/vendor_ruby/1.9.1 c:/railsinstaller/ruby1.9.3/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt c:/railsinstaller/ruby1.9.3/lib/ruby/vendor_ruby c:/railsinstaller/ruby1.9.3/lib/ruby/1.9.1 c:/railsinstaller/ruby1.9.3/lib/ruby/1.9.1/i386-mingw32 c:/program files/rubymine 5.4.3.2.1/rubystubs193 sdk gem paths: c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems c:/documents , settings/kraig/.gem/ruby/1.9.1/gems c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/bundler/gems gems used 'ballast': diff-lcs (1.2.4) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/diff-lcs-1.2.4 rack-test (0.6.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-test-0.6.2 coffee-rails (3.2.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-rails-3.2.2 erubis (2.7.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/erubis-2.7.0 uglifier (2.2.1) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/uglifier-2.2.1 actionmailer (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionmailer-3.2.11 pg (0.17.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/pg-0.17.0-x86-mingw32 arel (3.0.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/arel-3.0.2 builder (3.0.4) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/builder-3.0.4 autotest-rails-pure (4.1.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/autotest-rails-pure-4.1.2 public_activity (1.4.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/public_activity-1.4.0 thin (1.5.1) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/thin-1.5.1 rails (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rails-3.2.11 eventmachine (1.0.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3-x86-mingw32 paperclip (3.5.1) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/paperclip-3.5.1 mail (2.4.4) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/mail-2.4.4 json (1.8.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/json-1.8.0 daemons (1.1.9) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/daemons-1.1.9 climate_control (0.0.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/climate_control-0.0.3 activesupport (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11 journey (1.0.4) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/journey-1.0.4 rake (10.1.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0 coffee-script (2.2.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0 jquery-rails (3.0.4) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/jquery-rails-3.0.4 rdoc (3.12.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rdoc-3.12.2 railties (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.11 rspec-core (2.14.5) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-core-2.14.5 multi_json (1.8.1) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/multi_json-1.8.1 zentest (4.8.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/zentest-4.8.3 rspec-mocks (2.14.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-mocks-2.14.3 execjs (2.0.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-2.0.2 thor (0.18.1) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.18.1 sprockets (2.2.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/sprockets-2.2.2 wicked (1.0.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/wicked-1.0.0 strong_parameters (0.2.1) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/strong_parameters-0.2.1 polyglot (0.3.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/polyglot-0.3.3 tilt (1.4.1) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/tilt-1.4.1 annotate (2.5.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/annotate-2.5.0 activeresource (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/activeresource-3.2.11 autotest (4.4.6) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/autotest-4.4.6 bcrypt-ruby (3.1.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/bcrypt-ruby-3.1.2-x86-mingw32 mime-types (1.25) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/mime-types-1.25 i18n (0.6.5) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/i18n-0.6.5 activerecord (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-3.2.11 rack-ssl (1.3.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-ssl-1.3.3 rspec-rails (2.14.0) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-rails-2.14.0 activemodel (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/activemodel-3.2.11 sass-rails (3.2.6) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/sass-rails-3.2.6 rack (1.4.5) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.4.5 treetop (1.4.15) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/treetop-1.4.15 sass (3.2.12) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/sass-3.2.12 rack-cache (1.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-cache-1.2 sqlite3 (1.3.8) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.8-x86-mingw32 hike (1.2.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/hike-1.2.3 tzinfo (0.3.37) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/tzinfo-0.3.37 actionpack (3.2.11) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.2.11 rspec-expectations (2.14.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.14.3 coffee-script-source (1.6.3) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/coffee-script-source-1.6.3 cocaine (0.5.2) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/cocaine-0.5.2 bundler (1.3.4) c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.3.4
i have tried manually update gem in question, revert older version, etc. can't figure out why error occuring. rails s
won't work until debugged.
any ideas?
does file c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.4.0.rc.1/bin/bundle
exist?
try uninstalling , reinstalling bundler gem.
Comments
Post a Comment