Skip to content

Instantly share code, notes, and snippets.

@thekindofme
Created February 14, 2012 01:41
Show Gist options
  • Save thekindofme/1822374 to your computer and use it in GitHub Desktop.
Save thekindofme/1822374 to your computer and use it in GitHub Desktop.
RubyMine Run/Debug Failure
source 'http://rubygems.org'
gem 'rails', '3.1.1'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
#gem 'mysql2'
gem 'mongo_mapper', '>= 0.9.0'
gem 'jnunemaker-validatable', '>= 1.8.4'
#gem 'devise', '>= 1.2'
gem 'mm-devise', '>= 1.2'
gem 'bson_ext'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.1.4'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end
group :production do
#javascript runtime for running this app in Ubuntu
gem 'therubyracer'
end
gem 'jquery-rails'
#gem 'crack', '~> 0.3.1'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
group :development do
# To use debugger
gem 'ruby-debug19', :require => 'ruby-debug'
end
group :test do
# Pretty printed test output
#gem 'turn', :require => false
end
# Authentication
gem 'devise', '1.5.3'
# Authorization
gem 'cancan'
# Navigation
gem "simple-navigation"
# Debugging
gem 'awesome_print'
# Seed data generation
gem 'faker'
gem 'nokogiri'
gem 'uuidtools'
gem 'hashie'
gem 'weibo'
I am using
RVM 1.10.2,
ruby & gemset: ruby-1.9.2-p290@startcount
bundle is already run and gives no errors
I can debug/rails server from the command line just fine
But i cannot debug/run from rubymine.
Rubymine version: RM 113.2
Output from Run
/Users/yasith/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/yasith/source/starcount_2/script/rails server -b 0.0.0.0 -p 3000 -e development
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/spec_set.rb:88:in `block in materialize': Could not find crack-0.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `map!'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `materialize'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/definition.rb:90:in `specs'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/definition.rb:135:in `specs_for'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/definition.rb:124:in `requested_specs'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/environment.rb:23:in `requested_specs'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/runtime.rb:11:in `setup'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler.rb:110:in `setup'
from /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
from /Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from /Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /Users/yasith/source/starcount_2/config/boot.rb:6:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/yasith/source/starcount_2/script/rails:5:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
Process finished with exit code 1
Output from Debug:
/Users/yasith/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/ruby-debug-ide-0.4.17.beta8/bin/rdebug-ide --port 52999 -- /Users/yasith/source/starcount_2/script/rails server -b 0.0.0.0 -p 3000 -e development
Fast Debugger (ruby-debug-ide 0.4.17.beta8, ruby-debug-base 0.11.30.pre7) listens on 127.0.0.1:52999
Uncaught exception: Could not find crack-0.3.1 in any of the sources
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/spec_set.rb:88:in `block in materialize'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `map!'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/spec_set.rb:82:in `materialize'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/definition.rb:90:in `specs'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/definition.rb:135:in `specs_for'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/definition.rb:124:in `requested_specs'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/environment.rb:23:in `requested_specs'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/runtime.rb:11:in `setup'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler.rb:110:in `setup'
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@startcount/gems/bundler-1.0.21/lib/bundler/setup.rb:17:in `<top (required)>'
/Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
/Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
/Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
/Users/yasith/source/starcount_2/config/boot.rb:6:in `<top (required)>'
/Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/Users/yasith/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/Users/yasith/source/starcount_2/script/rails:5:in `<top (required)>'
Process finished with exit code 0
RUBYGEMS VERSION: 1.8.10
RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-darwin11.2.0]
INSTALLATION DIRECTORY: /Users/yasith/.rvm/gems/ruby-1.9.2-p290
RUBY EXECUTABLE: /Users/yasith/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
EXECUTABLE DIRECTORY: /Users/yasith/.rvm/gems/ruby-1.9.2-p290/bin
RUBYGEMS PLATFORMS:
ruby
x86_64-darwin-11
GEM PATHS:
/Users/yasith/.rvm/gems/ruby-1.9.2-p290
/Users/yasith/.rvm/gems/ruby-1.9.2-p290@global
GEM CONFIGURATION:
:update_sources => true
:verbose => true
:benchmark => false
:backtrace => false
:bulk_threshold => 1000
REMOTE SOURCES:
http://rubygems.org/
----------------------
IDE: JetBrains RubyMine (Tōhi) RM-113.2, build #RM-113.2
OS: Mac OS X 10.7.2[x86_64]
Java: 1.6.0_29-b11-402-11M3527
RubyMine SDK Environment:
Sdk: RVM: ruby-1.9.2-p290
Sdk Version: ver.1.9.2p290 ( revision 32553) p290
Ruby Interpreter: /Users/yasith/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
RVM Sdk: yes, gemset:[default]
RVM Home: /Users/yasith/.rvm
Sdk Language Level: 1.9
Sdk Load Path:
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/x86_64-darwin11.2.0
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/vendor_ruby/1.9.1
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin11.2.0
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/vendor_ruby
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1
~/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.2.0
/Applications/RubyMine EAP.app/rubystubs19
Sdk Gem paths:
~/.rvm/gems/ruby-1.9.2-p290/bundler/gems
~/.rvm/gems/ruby-1.9.2-p290/gems
~/.rvm/gems/ruby-1.9.2-p290@global/gems
Gems used for 'starcount_2':
builder (3.0.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/builder-3.0.0
sass-rails (3.1.5)
~/.rvm/gems/ruby-1.9.2-p290/gems/sass-rails-3.1.5
multi_xml (0.4.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/multi_xml-0.4.1
mail (2.3.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/mail-2.3.0
rake (0.9.2.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2
bundler (1.0.21)
~/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.21
tzinfo (0.3.31)
~/.rvm/gems/ruby-1.9.2-p290/gems/tzinfo-0.3.31
simple-navigation (3.6.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/simple-navigation-3.6.0
actionmailer (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/actionmailer-3.1.1
rack-mount (0.8.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3
devise (1.5.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/devise-1.5.3
i18n (0.6.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/i18n-0.6.0
mime-types (1.17.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/mime-types-1.17.2
polyglot (0.3.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/polyglot-0.3.3
faker (1.0.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/faker-1.0.1
tilt (1.3.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/tilt-1.3.3
ruby_core_source (0.1.5)
~/.rvm/gems/ruby-1.9.2-p290/gems/ruby_core_source-0.1.5
coffee-script-source (1.2.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/coffee-script-source-1.2.0
plucky (0.4.4)
~/.rvm/gems/ruby-1.9.2-p290/gems/plucky-0.4.4
uuidtools (2.1.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/uuidtools-2.1.2
erubis (2.7.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/erubis-2.7.0
mongo (1.5.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/mongo-1.5.2
bson (1.5.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/bson-1.5.2
rack-test (0.6.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/rack-test-0.6.1
rack-cache (1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/rack-cache-1.1
weibo (0.0.11)
~/.rvm/gems/ruby-1.9.2-p290/gems/weibo-0.0.11
hashie (1.2.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/hashie-1.2.0
rdoc (3.12)
~/.rvm/gems/ruby-1.9.2-p290/gems/rdoc-3.12
jnunemaker-validatable (1.8.4)
~/.rvm/gems/ruby-1.9.2-p290/gems/jnunemaker-validatable-1.8.4
uglifier (1.2.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/uglifier-1.2.3
jeweler (1.8.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/jeweler-1.8.3
coffee-script (2.2.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/coffee-script-2.2.0
rails (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/rails-3.1.1
activesupport (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1
mm-devise (1.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/mm-devise-1.3
railties (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1
ruby-debug19 (0.11.6)
~/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug19-0.11.6
orm_adapter (0.0.6)
~/.rvm/gems/ruby-1.9.2-p290/gems/orm_adapter-0.0.6
coffee-rails (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/coffee-rails-3.1.1
crack (0.3.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/crack-0.3.1
treetop (1.4.10)
~/.rvm/gems/ruby-1.9.2-p290/gems/treetop-1.4.10
activemodel (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/activemodel-3.1.1
libv8 (3.3.10.4)
~/.rvm/gems/ruby-1.9.2-p290/gems/libv8-3.3.10.4-x86_64-darwin-11
json (1.6.5)
~/.rvm/gems/ruby-1.9.2-p290/gems/json-1.6.5
archive-tar-minitar (0.5.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/archive-tar-minitar-0.5.2
sprockets (2.0.3)
~/.rvm/gems/ruby-1.9.2-p290/gems/sprockets-2.0.3
bson_ext (1.5.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/bson_ext-1.5.2
bcrypt-ruby (3.0.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/bcrypt-ruby-3.0.1
columnize (0.3.6)
~/.rvm/gems/ruby-1.9.2-p290/gems/columnize-0.3.6
thor (0.14.6)
~/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6
rack (1.3.6)
~/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6
oauth (0.4.5)
~/.rvm/gems/ruby-1.9.2-p290/gems/oauth-0.4.5
nokogiri (1.5.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0
sass (3.1.14)
~/.rvm/gems/ruby-1.9.2-p290/gems/sass-3.1.14
hike (1.2.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/hike-1.2.1
rack-ssl (1.3.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/rack-ssl-1.3.2
git (1.2.5)
~/.rvm/gems/ruby-1.9.2-p290/gems/git-1.2.5
actionpack (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1
warden (1.1.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/warden-1.1.0
ruby-debug-base19 (0.11.25)
~/.rvm/gems/ruby-1.9.2-p290/gems/ruby-debug-base19-0.11.25
arel (2.2.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/arel-2.2.1
mongo_mapper (0.11.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/mongo_mapper-0.11.0
awesome_print (1.0.2)
~/.rvm/gems/ruby-1.9.2-p290/gems/awesome_print-1.0.2
linecache19 (0.5.12)
~/.rvm/gems/ruby-1.9.2-p290/gems/linecache19-0.5.12
httparty (0.8.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/httparty-0.8.1
activeresource (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/activeresource-3.1.1
therubyracer (0.9.9)
~/.rvm/gems/ruby-1.9.2-p290/gems/therubyracer-0.9.9
cancan (1.6.7)
~/.rvm/gems/ruby-1.9.2-p290/gems/cancan-1.6.7
multi_json (1.0.4)
~/.rvm/gems/ruby-1.9.2-p290/gems/multi_json-1.0.4
activerecord (3.1.1)
~/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.1
jquery-rails (1.0.19)
~/.rvm/gems/ruby-1.9.2-p290/gems/jquery-rails-1.0.19
execjs (1.3.0)
~/.rvm/gems/ruby-1.9.2-p290/gems/execjs-1.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment