Hello Everyone.
I'm having a heck of a time getting this ruby project up and running
because I'm apparently running in to problems with DataMapper. They
can be recreated in IRB as follows.
I can load all my gems fine. Those include gems that I've installed
with "sudo gem install XXXX" as well as gems that I've cloned from git
and installed with "sudo rake install"
Example:
irb(main):008:0> require "sinatra"
=> true
irb(main):009:0> require "haml"
=> true
irb(main):010:0> require "data_objects"
=> true
irb(main):011:0> require "do_mysql"
=> true
Here's where I run in to problems:
LoadError: no such file to load -- dm-core
from (irb):12:in `require'
from (irb):12
from /usr/local/bin/irb:12:in `<main>'
irb(main):013:0> require "dm-validations"
LoadError: no such file to load -- dm-validations
from (irb):13:in `require'
from (irb):13
from /usr/local/bin/irb:12:in `<main>'
irb(main):014:0> require "do_sqlite3"
=> true
irb(main):015:0> require "extlib"
LoadError: no such file to load -- extlib
from (irb):15:in `require'
from (irb):15
from /usr/local/bin/irb:12:in `<main>'
I'm installing the DataMapper code from Git and that code lives at /
Users/myUserName/src/git-sources/. My gems live in /usr/local/lib/
ruby/gems/1.9.1/gems
That is basically the problem. I'll stick the pertinent System and
gem information at the bottom of this email. Anyone have any ideas?
Here's what I'm working with.
-------------------SYSTEM INFO-----------------
Mac Pro Quad-Core Intel Xeon
System Version: Mac OS X 10.6.2 (10C540)
Kernel Version: Darwin 10.2.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Secure Virtual Memory: Not Enabled
64-bit Kernel and Extensions: No
-------------------GEMS (not all of them, just the ones that might
apply)-----------------
addressable (2.1.1)
bcrypt-ruby (2.1.2)
bundler (0.7.1)
daemons (1.0.10)
data_objects (0.10.1)
diff-lcs (1.1.2)
dm-core (0.10.2)
dm-timestamps (0.10.2)
dm-validations (0.10.2)
do_mysql (0.10.1)
do_sqlite3 (0.10.1)
erubis (2.6.5)
eventmachine (0.12.10)
extlib (0.9.14)
fastthread (1.0.7)
gemcutter (0.2.0)
git (1.2.5)
haml (2.2.15)
highline (1.5.1)
hoe (2.3.3)
jeweler (1.4.0)
jruby (0.0.1)
json (1.2.0)
rack (1.0.1)
thin (1.2.5)
-------------------Other Versions-----------------
Ruby: ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.2.0]
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.9.1 (2009-12-07 patchlevel 376) [i386-
darwin10.2.0]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
- RUBYGEMS PREFIX: /usr/local/lib/ruby/gems/1.9.1/gems/rubygems-
update-1.3.5
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-10
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.9.1
- /Users/***MY USER NAME***/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.