Sentinel:anthemz Dondi$ script/server
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is
deprecated and will be removed on or after August 2010. Use
#requirement
RedCloth uses native extensions. It's extremely fast but must be
compiled. Installing the RedCloth gem is the easiest method.
/usr/local/lib/ruby/gems/1.8/gems/RedCloth-4.2.3/lib/redcloth.rb:15
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
/usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:8:in `require'
/usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:28:in `__each_matching_file'
/usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:27:in `each'
/usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:27:in `__each_matching_file'
/usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:7:in `require'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
gem_dependency.rb:208:in `load'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
307:in `load_gems'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
307:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
307:in `load_gems'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
164:in `process'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
113:in `send'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
113:in `run'
/Users/Dondi/src/anthemz/config/environment.rb:11
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require'
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:
84
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
script/server:3
/usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi_c.bundle: dlopen(/
usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi_c.bundle, 9): no
suitable image found. Did find: (LoadError)
/usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi_c.bundle: mach-o,
but wrong architecture - /usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/
lib/ffi_c.bundle
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:8:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:32:in `__each_matching_file'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:7:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi.rb:8
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:8:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:32:in `__each_matching_file'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:7:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-0.0.8/lib/sqlite3.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:8:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:32:in `__each_matching_file'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/
object.rb:7:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/core_ext/kernel/requires.rb:7:in
`require_library_or_gem'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/core_ext/kernel/requires.rb:5:in
`require_library_or_gem'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/sqlite3_adapter.rb:10:in
`sqlite3_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:223:in
`send'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:223:in
`new_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:245:in
`checkout_new_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:188:in
`checkout'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:184:in
`loop'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:184:in
`checkout'
from /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:183:in
`checkout'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:98:in
`connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_pool.rb:326:in
`retrieve_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
123:in `retrieve_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
115:in `connection'
from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/app/models/tog/
config.rb:71:in `table_exists?'
from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/app/models/tog/
config.rb:15:in `get_value'
from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/app/models/tog/
config.rb:61:in `init_with'
from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/app/models/tog/
plugins.rb:25:in `settings'
from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/app/models/tog/
plugins.rb:25:in `each_pair'
from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/app/models/tog/
plugins.rb:25:in `settings'
from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/init.rb:8:in
`evaluate_init_rb'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
plugin.rb:158:in `evaluate_init_rb'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
plugin.rb:154:in `evaluate_init_rb'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
plugin.rb:48:in `load_without_desert'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/rails/
2.0.0/plugin.rb:16:in `load'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/
manager.rb:47:in `register_plugin'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/
manager.rb:11:in `__send__'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/
manager.rb:11:in `method_missing'
from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.3/lib/desert/rails/
2.0.0/plugin.rb:15:in `load'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/
loader.rb:38:in `load_plugins'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/
loader.rb:37:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/
loader.rb:37:in `load_plugins'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
369:in `load_plugins'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
165:in `process'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
113:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:
113:in `run'
from /Users/Dondi/src/anthemz/config/environment.rb:11
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:156:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/
server.rb:84
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from script/server:3
Sentinel:anthemz Dondi$
Thoughts?
Any assistance is appreciated.
Could you install mongrel (sudo gem install mongrel). It's a common
replacement for webrick, which I didn't know it's still there as
default and was still used :). I've never tested tog/desert against
webrick, so we can narrow the problem.
al.
--
Alberto Molpeceres.
Linking Paths.
Simple registration for your events. http://www.stagehq.com
> --
> You received this message because you are subscribed to the Google Groups "tog_users" group.
> To post to this group, send email to tog_...@googlegroups.com.
> To unsubscribe from this group, send email to tog_users+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tog_users?hl=en.
>
>
I was able to get tog working with webrick!
The problem was with my base Rails 2.3.5 install on Snow Leopard --
which I figured out after sever days of googling!
So right now I have my app running using the "rails hello_tog -m
http://tr.im/tog_edge" starting point (yay).
However, I immediately ran into my first problem: Email registration.
I launched the app, signed-up to create the first user, but never
received the registration email, so I can't login to take the next
steps.
Where do I find information on activating email on my dev machine
(MacBook Pro, Snow Leopard) ?
Thanks for a great rails resource!
Dondi
On Mar 29, 2:31 am, Alberto Molpeceres <alberto.molpece...@gmail.com>
wrote:
> Hi Donovan,
>
> Could you install mongrel (sudo gem install mongrel). It's a common
> replacement for webrick, which I didn't know it's still there as
> default and was still used :). I've never tested tog/desert against
> webrick, so we can narrow the problem.
>
> al.
>
> --
> Alberto Molpeceres.
> Linking Paths.
>
> Simpleregistrationfor your events.http://www.stagehq.com
>
>
>
> On Mon, Mar 29, 2010 at 9:15 AM, Dondi <donovan.dil...@gmail.com> wrote:
> > After spending hours trying to figure this out, I would appreciate any
> > assistance with getting tog to work. Here are the errors that I
> > encounter with script/server:
>
> > Sentinel:anthemz Dondi$ script/server
> > => Booting WEBrick
> > => Rails 2.3.5 application starting onhttp://0.0.0.0:3000
> > from /Users/Dondi/src/anthemz/vendor/plugins/tog_core/app/models/tog/...
>
> read more »
> However, I immediately ran into my first problem: Email registration.
>
> I launched the app, signed-up to create the first user, but never
> received the registration email, so I can't login to take the next
> steps.
>
> Where do I find information on activating email on my dev machine
> (MacBook Pro, Snow Leopard) ?
Maybe you have already found a solution for this, but by default mails
aren't really be sent in development environment. You can see the mail
in your server's log (console or log/development.log) or just check
the column activation_code for your user in the database and build a
link like:
http://localhost:3000/activate/YOUR_CODE
Hope it helps, and sorry for the late response.
al.