Ruby193 completely ignore breakpoints in debug mode - debugging

I had just upgrade from Ruby192 to Ruby193 (rubyinstaller-1.9.3-p392).
After gone through many errors and googling, I manage to start up the server normally without any error.
When I start up my server with debug mode (In NetBeans 6.9.1) it just ignore the breakpoints and continue to load the page, see below output.
Fast Debugger (ruby-debug-ide 0.4.17.beta16, ruby-debug-base19x 0.11) listens on 127.0.0.1:49628
=> Booting WEBrick
=> Rails 3.2.12 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-03-09 11:34:54] INFO WEBrick 1.3.1
[2013-03-09 11:34:54] INFO ruby 1.9.3 (2013-02-22) [i386-mingw32]
[2013-03-09 11:34:54] INFO WEBrick::HTTPServer#start: pid=708 port=3000
Breakpoint 32 at D:/MyWorkspace/NetBeans_Projects/homeloqsg/app/controllers/miscellaneous_controller.rb:7
I have the following gem installed
$ gem list
*** LOCAL GEMS ***
actionmailer (3.2.12)
actionpack (3.2.12)
activemodel (3.2.12)
activerecord (3.2.12)
activeresource (3.2.12)
activesupport (3.2.12)
addressable (2.3.3)
archive-tar-minitar (0.5.2)
arel (3.0.2)
authlogic (3.2.0)
aws-s3 (0.6.3)
aws-sdk (1.8.3.1)
bigdecimal (1.1.0)
bson (1.8.3)
bson_ext (1.8.3)
builder (3.0.4)
bundler (1.3.1)
carrierwave (0.8.0)
climate_control (0.0.3)
cocaine (0.5.1)
columnize (0.3.6)
debugger (1.4.0)
debugger-linecache (1.1.2)
debugger-ruby_core_source (1.2.0)
erubis (2.7.0)
excon (0.16.10)
fog (1.10.0)
formatador (0.2.4)
gmaps4rails (1.5.6)
heroku (2.35.0)
heroku-api (0.3.8)
hike (1.2.1)
i18n (0.6.4)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.2.1)
json (1.5.5)
launchy (2.2.0)
linecache19 (0.5.12)
mail (2.4.4)
mime-types (1.21)
minitest (2.5.1)
multi_json (1.6.1)
mysql (2.8.1 x86-mingw32)
net-scp (1.1.0)
net-ssh (2.6.6)
netrc (0.7.7)
nokogiri (1.5.6 x86-mingw32)
paperclip (3.4.1)
pg (0.14.1 x86-mingw32)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.12)
railties (3.2.12)
rake (0.9.2.2)
rdiscount (1.6.8)
rdoc (3.9.5)
rest-client (1.6.7)
rmagick (2.13.2)
ruby-debug-base19x (0.11.30.pre10)
ruby-debug-ide (0.4.17.beta16)
ruby-hmac (0.4.0)
ruby_core_source (0.1.5)
rubygems-update (2.0.1)
rubyzip (0.9.9)
sitemap_generator (3.4)
sprockets (2.2.2)
thor (0.17.0)
tilt (1.3.4)
treetop (1.4.12)
tzinfo (0.3.36)
uuidtools (2.1.3)
will_paginate (3.0.4)
xml-simple (1.1.2)

After struggled for hours I manage to solved this issue.
I think I have too many debug gems.
debugger (1.4.0)
debugger-linecache (1.1.2)
debugger-ruby_core_source (1.2.0)
ruby-debug-base19x (0.11.30.pre10)
ruby-debug-ide (0.4.17.beta16)
linecache19 (0.5.12)
After removed the following gems it working fine and the breakpoints just stop at the line I want.
debugger (1.4.0)
debugger-linecache (1.1.2)
debugger-ruby_core_source (1.2.0)
Thanks.

Related

LoadError: cannot load such file -- data_mapper Why?

I am working on a Sinatra application where I would like to use data_mapper & sqlite3.
in app.rb I have:
require 'sinatra'
require 'data_mapper'
in the console when I do $ gem list I get(list somewhat edited to reflect db gems:
* LOCAL GEMS *
activemodel (4.0.2)
activerecord (4.0.2)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.2)
addressable (2.3.5)
arel (4.0.2)
atomic (1.1.14)
bcrypt-ruby (3.1.2)
bigdecimal (1.2.3)
buftok (0.2.0)
builder (3.1.4)
bundler (1.5.3)
bundler-unload (1.0.2)
cookiejar (0.3.0)
daemons (1.1.9)
data_mapper (1.2.0)
data_objects (0.10.13)
descendants_tracker (0.0.3)
dm-aggregates (1.2.0)
dm-constraints (1.2.0)
dm-core (1.2.1)
dm-do-adapter (1.2.0)
dm-migrations (1.2.0)
dm-serializer (1.2.2)
dm-sqlite-adapter (1.2.0)
dm-timestamps (1.2.0)
dm-transactions (1.2.0)
dm-types (1.2.2)
dm-validations (1.2.0)
do_sqlite3 (0.10.13)
fastercsv (1.5.5)
gem-wrappers (1.2.4)
http (0.5.0)
http_parser.rb (0.6.0)
i18n (0.6.9)
io-console (0.4.2)
json (1.8.1)
json_pure (1.8.1)
memoizable (0.4.0)
mini_portile (0.5.2)
minitest (4.7.5)
multi_json (1.8.4)
multipart-post (2.0.0)
oauth (0.4.7)
pg (0.17.1)
rack (1.5.2)
rack-protection (1.5.2)
rake (10.1.0)
rdoc (4.1.0)
rubygems-bundler (1.4.2)
rvm (1.11.3.8)
shotgun (0.9)
simple_oauth (0.2.0)
sinatra (1.4.4)
sinatra-activerecord (1.3.0)
sqlite3 (1.3.8)
when I go to irb and require data_mapper I get =>"true" However, when I got to the app through a browser I get: LoadError: cannot load such file -- data_mapper. From what I have read this problem is usually a result of require 'datamapper' instead of require 'data_mapper'. What am I doing wrong?
Try requiring dm-sqlite-adapter says the Docster
You've got the gem but not requiring it in code. I don't know if this will fix it but in a recent project the adapter was what we needed to require explicitly in our controller.

What gems are in the default gemset for Ruby 2.0.0-p247?

By accident I ran rvm gemset empty default.
Can someone list all gems from gemset default for ruby-2.0.0-p247 so I can reinstall them manually?
Thanks!
Don't worry, it's still possible to restore all your gems:
#!/usr/bin/env bash
CURRENT_GEMSET=$( rvm current )
CACHE_FOLDER=~/.rvm/gems/$CURRENT_GEMSET/cache
CACHED_GEMS=$CACHE_FOLDER/*.gem
for gem_file in $CACHED_GEMS
do
GEM_FILES=$GEM_FILES' '$gem_file
done
gem install $GEM_FILES
You may take a look at ~/.rvm/gems/$( rvm current )/cache folder first. All gems should be there.
Edit:
rvm gemset empty
Removes all the installed gems for gemset. But gems are still in ~/.rvm/gems/$( rvm current )/cache folder(e.g. ~/.rvm/gems/ruby-2.0.0-p247/cache, ~/.rvm/gems/jruby-1.7.3#my_gemset/cache) and you are still able to install them.
A bit of explanations regarding script:
rvm current Print the current Ruby version and the name of any gemset being used(from rvm usage current). You may invoke rvm gemset use first in order to choose gemset you want to restore.
~/.rvm/gems/$( rvm current )/cache is a cache folder for current gemset and is the same as $GEM_HOME/cache.
~/.rvm/gems/$( rvm current )/cache/*.gem is a regexp for gems in cache folder.
Loop through the file names and concatenate them into a single string
for gem_file in $CACHED_GEMS
do
GEM_FILES=$gem_file' '$GEM_FILES
done
gem install $GEM_FILES reinstalls you gems.
Do you mean this?
alexandr#alexandr-2pcdesktop:~/RailsWork/Achivity$ ruby -v
ruby 2.0.0dev (2013-01-07 trunk 38733) [i686-linux]
alexandr#alexandr-2pcdesktop:~/RailsWork/Achivity$ rvm #global do gem list
*** LOCAL GEMS ***
bundler (1.3.5)
bundler-unload (1.0.1)
rake (10.1.0)
rubygems-bundler (1.2.0)
rvm (1.11.3.8)
=====Updated======
alexandr#alexandr-2pcdesktop:~/RailsWork/Achivity$ rvm default do gem list
*** LOCAL GEMS ***
actionmailer (4.0.0, 3.2.13)
actionpack (4.0.0, 3.2.13)
actionpack-action_caching (1.0.0)
actionpack-page_caching (1.0.0)
activemodel (4.0.0, 3.2.13)
activerecord (4.0.0, 3.2.13)
activerecord-deprecated_finders (1.0.3)
activerecord-postgresql-adapter (0.0.1)
activeresource (3.2.13)
activesupport (4.0.0, 3.2.13)
arel (4.0.0, 3.0.2)
atomic (1.1.10)
bcrypt-ruby (3.0.1)
builder (3.1.4, 3.0.4)
bundler (1.3.5)
bundler-unload (1.0.1)
capybara (2.1.0)
childprocess (0.3.9)
climate_control (0.0.3)
cocaine (0.5.1)
coffee-rails (4.0.0, 3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.6.3, 1.6.2)
commonjs (0.2.6)
database_cleaner (1.0.1)
devise (3.0.0.rc, 2.2.4, 1.5.4)
diff-lcs (1.2.4)
erubis (2.7.0)
execjs (1.4.0)
factory_girl (4.2.0)
factory_girl_rails (4.2.1)
ffi (1.9.0)
hike (1.2.3)
i18n (0.6.4, 0.6.1)
jar_wrapper (0.1.7)
jbuilder (1.4.2)
journey (1.0.4)
jquery-rails (3.0.2, 3.0.1)
json (1.8.0)
less (2.3.2)
less-rails (2.3.3)
libv8 (3.11.8.17 x86-linux)
mail (2.5.4)
mime-types (1.23)
mini_portile (0.5.0)
minitest (4.7.5)
multi_json (1.7.7)
mysql2 (0.3.11)
nokogiri (1.6.0)
orm_adapter (0.4.0, 0.0.7)
paperclip (3.4.2)
pg (0.15.1)
polyglot (0.3.3)
protected_attributes (1.0.3)
rack (1.5.2, 1.4.5)
rack-cache (1.2)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (4.0.0)
rails-observers (0.1.1)
railties (4.0.0, 3.2.13)
rake (10.1.0)
rdoc (3.12.2)
ref (1.0.5)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
rspec-mocks (2.13.1)
rspec-rails (2.13.2)
rubygems-bundler (1.2.0)
rubyzip (0.9.9)
rvm (1.11.3.8)
sass (3.2.9)
sass-rails (4.0.0)
sdoc (0.3.20)
selenium (0.2.10)
selenium-webdriver (2.33.0)
shoulda-matchers (2.2.0)
sprockets (2.10.0, 2.2.2)
sprockets-rails (2.0.0)
sqlite3 (1.3.7)
therubyracer (0.11.4)
thor (0.18.1)
thread_safe (0.1.0)
tilt (1.4.1)
treetop (1.4.14)
turbolinks (1.2.0)
twitter-bootstrap-rails (2.2.7)
tzinfo (0.3.37)
uglifier (2.1.1)
warden (1.2.1)
websocket (1.0.7)
xpath (2.0.0)
zip (2.0.2)
But all of them are from Gemfile.

Why do I get errors trying to debug with RubyMine?

I work on JetBrains RubyMine 5.4.3.2.1 with Ruby193. I used to debug all the time until rubymine popped up an update for ruby-debug and I clicked yes. Ever since that update I tried to reinstall previous versions and I get this error:
Failed to Install Gems. Following gems were not installed:
C:\Program Files (x86)\JetBrains\RubyMine 5.4.2\rb\gems\ruby-debug-base19x-0.11.30.pre12.gem:
Error installing ruby-debug-base19x-0.11.30.pre12.gem:
ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb C:/Ruby193/bin/ruby.exe: No such file or directory -- extconf.rb (LoadError)
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19x-0.11.30.pre12 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19x-0.11.30.pre12/ext/ruby_debug/gem_make.out
Obviously I do have the Devkit installed properly because it did work until now (tried reinstalling ruby and devkit again but no luck).
How can I fix this?
Both gems; ruby-debug and debugger; mess up debugging through RubyMine. Also, I had to manually install a version of linecache (0.5.13) to get the IDE debugging to work. Here is my gem list.
actionmailer (4.0.0, 3.2.13)
actionpack (4.0.0, 3.2.13)
activeadmin (0.6.0)
activemodel (4.0.0, 3.2.13)
activerecord (4.0.0, 3.2.13)
activerecord-deprecated_finders (1.0.3)
activerecord-import (0.4.1)
activerecord-postgresql-adapter (0.0.1)
activeresource (3.2.13)
activesupport (4.0.0, 3.2.13)
arbre (1.0.1)
archive-tar-minitar (0.5.2)
arel (4.0.0, 3.0.2)
atomic (1.1.10)
backbone-relational-rails (0.8.5, 0.7.1)
bcrypt-ruby (3.0.1)
bigdecimal (1.1.0)
bourbon (3.1.8)
builder (3.1.4, 3.0.4)
bundler (1.3.5)
childprocess (0.3.9)
climate_control (0.0.3)
cocaine (0.5.1)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.6.2)
columnize (0.3.6)
commander (4.1.3)
curb (0.8.4)
curl-multi (0.2)
daemon_controller (1.1.4)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.3)
devise (2.2.4)
diff-lcs (1.2.4)
eco (1.0.0)
eco-source (1.1.0.rc.1)
ejs (1.1.1)
erubis (2.7.0)
execjs (1.4.0)
fastercsv (1.5.5)
fastthread (1.0.7)
ffi (1.9.0)
foreigner (1.4.2)
formtastic (2.2.1)
has_scope (0.5.1)
highline (1.6.19)
hike (1.2.3)
httpclient (2.3.3)
i18n (0.6.4, 0.6.1)
inherited_resources (1.4.0)
io-console (0.3)
jasmine (1.3.2)
jasmine-core (1.3.1)
journey (1.0.4)
jquery-rails (2.1.4)
json (1.8.0)
kaminari (0.14.1)
linecache19 (0.5.13)
mail (2.5.4)
meta_search (1.1.3)
mime-types (1.23)
mini_portile (0.5.0)
minitest (4.7.5, 2.5.1)
modernizr (2.6.2)
modernizr-rails (2.6.2.3)
multi_json (1.7.7)
mysql2 (0.3.11)
net-ssh (2.6.8)
nokogiri (1.6.0)
open4 (1.3.0)
orm_adapter (0.4.0)
paperclip (3.4.2)
passenger (4.0.5)
pg (0.15.1)
polyamorous (0.5.0)
polyglot (0.3.3)
pr_geohash (1.0.0)
rack (1.5.2, 1.4.5)
rack-cache (1.2)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.13)
rails-backbone (0.9.10)
rails-footnotes (3.7.9)
railties (4.0.0, 3.2.13)
rake (10.0.4, 0.9.2.2)
rdoc (3.12.2, 3.9.5)
responders (0.9.3)
rhc (1.10.7)
rsolr (1.0.9)
rspec (2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
rspec-mocks (2.13.1)
rspec-rails (2.13.2)
ruby-debug-base19 (0.11.26)
ruby-debug-base19x (0.11.30.pre12)
ruby-debug-ide (0.4.17.beta17)
ruby-debug19 (0.11.6)
ruby_core_source (0.1.5)
rubygems-update (2.0.3)
RubyInline (3.12.2)
rubyzip (0.9.9)
sass (3.2.9)
sass-rails (3.2.6)
selenium-webdriver (2.33.0)
spork (0.9.2)
sprockets (2.10.0, 2.2.2)
sprockets-rails (2.0.0)
sunspot (2.0.0)
sunspot_rails (2.0.0)
sunspot_solr (2.0.0)
thor (0.18.1)
thread_safe (0.1.0)
tilt (1.4.1)
treetop (1.4.14)
tzinfo (0.3.37)
uglifier (2.1.1)
underscore-rails (1.4.4)
warden (1.2.1)
websocket (1.0.7)
ZenTest (4.9.2)
zurb-foundation (4.2.2)

Startup redmine 1.2 fail

When I try to startup the redmine 1.2 with the server which binding with redmine itself, but it show me an error of gem, info like below:
[root#XPG redmine-1.2.0]# ruby script/server webtrick -e production
Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`
even if I have installed the gem it said:
[root#XPG redmine-1.2.0]# gem list --local
*** LOCAL GEMS ***
aasm (2.2.0)
abstract (1.0.0)
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
arel (2.0.10)
Ascii85 (1.0.1)
block_helpers (0.3.3)
builder (2.1.2)
bundler (1.0.14)
capybara (1.0.0)
childprocess (0.1.9)
cucumber (1.0.0)
cucumber-rails (1.0.2)
diff-lcs (1.1.2)
edavis10-object_daddy (0.4.3)
erubis (2.6.6)
ffi (1.0.9)
gherkin (2.4.1)
holidays (1.0.2)
i18n (0.4.2)
icalendar (1.1.6)
json (1.6.1, 1.5.3)
json_pure (1.5.3)
mail (2.2.19)
mime-types (1.16)
mocha (0.9.12)
mysql (2.8.1)
nokogiri (1.5.0)
pdf-reader (0.9.2)
polyglot (0.3.1)
prawn (0.11.1)
rack (1.2.3, 1.1.2, 1.0.1)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (2.3.5)
rake (0.9.0)
rubygems-update (1.8.11, 1.8.4, 1.5.3, 1.3.7)
rubyzip (0.9.4)
selenium-webdriver (0.2.2)
shoulda (2.10.3)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)
term-ansicolor (1.0.5)
thor (0.14.6)
treetop (1.4.9)
ttfunk (1.0.1)
tzinfo (0.3.27)
xpath (0.1.4)
But the issue is still appeared, is there any idea to fix it?
as far as I see, your command is not correct.
server's name is webrick, not "webtrick"
even using webrick, it doesn't support production environment.
seems that you are not using rails3/bundler
I suggest that you start the webserver using either mongrel or thin, both of them are faster and stabler than webrick.

Adapters not working with datamapper

I have the following code:
require 'sinatra'
require 'datamapper'
DataMapper.setup :default, "postgres://localhost/mydb"
However, when I try and run it, I get:
LoadError: no such file to load -- dm-postgres-adapter
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:53:in `require'
/Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm-core/adapters.rb:163:in `load_adapter'
/Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm-core/adapters.rb:133:in `adapter_class'
/Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm-core/adapters.rb:13:in `new'
/Library/Ruby/Gems/1.8/gems/dm-core-1.1.0/lib/dm-core.rb:219:in `setup'
These are the gems I have installed:
* LOCAL GEMS *
abstract (1.0.0)
actionmailer (3.0.9, 3.0.5, 2.3.5, 1.3.6)
actionpack (3.0.9, 3.0.5, 2.3.5, 1.13.6)
actionwebservice (1.2.6)
activemodel (3.0.9, 3.0.5)
activerecord (3.0.9, 3.0.5, 2.3.5, 1.15.6)
activeresource (3.0.9, 3.0.5, 2.3.5)
activesupport (3.0.9, 3.0.5, 2.3.5, 1.4.4)
acts_as_ferret (0.4.3)
addressable (2.2.6, 2.2.5)
arel (2.0.10, 2.0.9)
autotest (4.4.6)
autotest-fsevent (0.2.4)
autotest-growl (0.2.9)
autotest-rails-pure (4.1.2)
bcrypt-ruby (2.1.4)
builder (2.1.2)
bundler (1.0.10)
capistrano (2.5.2)
cgi_multipart_eof_fix (2.5.0)
configuration (1.2.0)
daemons (1.0.10)
data_objects (0.10.6)
datamapper (1.1.0)
diff-lcs (1.1.2)
dm-aggregates (1.1.0)
dm-constraints (1.1.0)
dm-core (1.2.0.rc2, 1.1.0)
dm-do-adapter (1.2.0.rc2, 1.1.0)
dm-migrations (1.1.0)
dm-postgres-adapter (1.2.0.rc2, 1.1.0)
dm-serializer (1.1.0)
dm-sqlite-adapter (1.2.0.rc2, 1.1.0)
dm-timestamps (1.1.0)
dm-transactions (1.1.0)
dm-types (1.1.0)
dm-validations (1.1.0)
dnssd (0.6.0)
do_postgres (0.10.6)
do_sqlite3 (0.10.6)
erubis (2.6.6)
eventmachine (0.12.10)
ezcrypto (0.7.2)
faraday (0.6.1)
faraday_middleware (0.6.3)
fastercsv (1.5.4)
fastthread (1.0.1)
fcgi (0.8.7)
ferret (0.11.6)
gem_plugin (0.2.3)
hashie (1.0.0)
heroku (1.18.1)
highline (1.5.0)
hpricot (0.8.4, 0.6.164)
i18n (0.5.0)
json (1.5.1, 1.4.6)
launchy (0.3.7)
less (1.2.21)
libxml-ruby (1.1.2)
liquid (2.2.2)
mail (2.2.19, 2.2.15)
mime-types (1.16)
mocha (0.9.12)
mongrel (1.1.5)
multi_json (0.0.5)
multi_xml (0.2.2)
multipart-post (1.1.0)
mutter (0.5.3)
needle (1.3.0)
net-scp (1.0.1)
net-sftp (2.0.1, 1.1.1)
net-ssh (2.0.4, 1.1.4)
net-ssh-gateway (1.0.0)
nokogiri (1.4.4)
oauth (0.4.5, 0.4.4)
polyglot (0.3.1)
rack (1.2.1, 1.0.1)
rack-mount (0.6.14, 0.6.13)
rack-test (0.5.7)
rails (3.0.9, 3.0.5, 2.3.5, 1.2.6)
railties (3.0.9, 3.0.5)
rake (0.8.7, 0.8.3)
rant (0.5.7)
rash (0.3.0)
rdoc (3.9.2)
RedCloth (4.1.1)
rest-client (1.6.1)
roauth (0.0.3)
rspec (2.6.0, 2.5.0)
rspec-core (2.6.4, 2.5.1)
rspec-expectations (2.6.0, 2.5.0)
rspec-mocks (2.6.0, 2.5.0)
rspec-rails (2.6.1, 2.5.0)
ruby-openid (2.1.2)
ruby-yadis (0.3.4)
rubygems-update (1.6.0)
rubynode (0.1.5)
sequel (3.20.0)
shotgun (0.9)
simple_oauth (0.1.4)
sinatra (1.2.3, 1.0)
spork (0.9.0.rc4)
sqlite3 (1.3.3)
sqlite3-ruby (1.2.4)
stringex (1.2.2)
sys-uname (0.8.5)
taps (0.3.23)
termios (0.9.4)
thor (0.14.6)
tilt (1.2.2)
treetop (1.4.9, 1.4.5)
tweetstream (1.0.4)
twitter (1.4.0)
twitter-stream (0.1.10)
twitter4r (0.7.0)
twitter_oauth (0.4.3)
tzinfo (0.3.24)
uuidtools (2.1.2)
visionmedia-growl (1.0.3)
webrat (0.7.1)
xmpp4r (0.4)
ZenTest (4.5.0)
You should use dm-core instead of datamapper in your require line.
Are you using Bundler? Provided you have bundler set up correctly, it should already be loaded for you.
Uninstalling dm-postgres-adapter 1.2.0.rc2 fixed it.

Resources