ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Thin server
Added by max zero at 2012-07-19 05:16 pm
the thin server is really making my blood thin. (Not in the good way either)
tried running thin. thin start
@
c:\chiliproject>thin start
Using rails adapter
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/infl
ector.rb:3:in `<top (required)>': iconv will be deprecated in the future, use St
ring#encode instead.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on o
r after 2011-11-01.
Gem.source_index called from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/li
b/rails/gem_dependency.rb:21.
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install
the mysql gem and try again: gem install mysql.
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/depe
ndencies.rb:182:in `require': cannot load such file -- mysql (MissingSourceFile)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
support/dependencies.rb:182:in `block in require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:547:in `new_constants_in'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:182:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/core_ext/kernel/requires.rb:7:in `block in require_library_or_gem'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active
record/connection_adapters/mysql_adapter.rb:61:in `mysql_connection'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_conn
ection'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels)
in checkout'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout
'
from C:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connecti
on'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve
connection'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active
record/connection_adapters/abstract/connection_specification.rb:115:in `connecti
on'
from c:/chiliproject/vendor/plugins/awesome_nested_set/lib/awesome_neste
d_set.rb:218:in `quoted_left_column_name'
from c:/chiliproject/vendor/plugins/awesome_nested_set/lib/awesome_neste
d_set.rb:94:in `acts_as_nested_set'
from c:/chiliproject/app/models/issue.rb:33:in `<class:Issue>'
from c:/chiliproject/app/models/issue.rb:15:in `<top (required)>'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
support/dependencies.rb:406:in `load'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:406:in `block in load_file'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:547:in `new_constants_in'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:405:in `load_file'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:285:in `require_or_load'
from c:/chiliproject/vendor/plugins/engines/lib/engines/rails_extensions
/dependencies.rb:133:in `require_or_load_with_engine_additions'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:451:in `load_missing_constant'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:106:in `const_missing_with_dependencies'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/dependencies.rb:118:in `const_missing'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/inflector.rb:375:in `const_get'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/inflector.rb:375:in `block in constantize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/inflector.rb:374:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/inflector.rb:374:in `constantize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/core_ext/string/inflections.rb:162:in `constantize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active
record/observer.rb:157:in `observed_class'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/observer.rb:183:in `observed_classes'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/observer.rb:166:in `initialize'
from C:/Ruby193/lib/ruby/1.9.1/singleton.rb:141:in `new'
from C:/Ruby193/lib/ruby/1.9.1/singleton.rb:141:in `block in instance'
from <internal:prelude>:10:in `synchronize'
from C:/Ruby193/lib/ruby/1.9.1/singleton.rb:139:in `instance'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/observer.rb:38:in `block in instantiate_observers'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/observer.rb:36:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activerecord-2.3.14/lib/active_
record/observer.rb:36:in `instantiate_observers'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-2.3.14/lib/action_co
ntroller/dispatcher.rb:15:in `block in define_dispatcher_callbacks'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/callbacks.rb:182:in `call'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/callbacks.rb:182:in `evaluate_method'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/callbacks.rb:166:in `call'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/callbacks.rb:90:in `block in run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/callbacks.rb:90:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/callbacks.rb:90:in `run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active
_support/callbacks.rb:276:in `run_callbacks'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-2.3.14/lib/action_co
ntroller/dispatcher.rb:51:in `run_prepare_callbacks'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb
:631:in `prepare_dispatcher'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb
:185:in `process'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb
:113:in `run'
from c:/chiliproject/config/environment.rb:45:in `<top (required)>'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/rai
ls.rb:37:in `load_application'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/rai
ls.rb:23:in `initialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/loa
der.rb:45:in `new'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/loa
der.rb:45:in `for'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/controllers
/controller.rb:169:in `load_adapter'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/controllers
/controller.rb:73:in `start'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:1
85:in `run_command'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:1
51:in `run!'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.4.1/bin/thin:6:in `<top
(required)>'
from C:/Ruby193/bin/thin:23:in `load'
from C:/Ruby193/bin/thin:23:in `<main>'@
Replies (4)
RE: Thin server - Added by max zero at 2012-07-20 07:39 am
I head over to other post
https://www.chiliproject.org/boards/1/topics/1212
regarding running of thin but still I am unable to run it. I have tried
bundle exec thin -e production -p 3001 start
but I receive the following error:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/rubygems_integrati
on.rb:147:in `block in replace_gem': thin is not part of the bundle. Add it to G
emfile. (Gem::LoadError)
from C:/Ruby193/bin/thin:22:in `<main>'
Still waiting on help please. :(
[EDIT]
Sorry forgot to mention. I can run chiliproject on WEBrick.
RE: Thin server - Added by Felix Schäfer at 2012-07-26 09:45 pm
Add the thin gem to a file named Gemfile.local and run bundle install
.
RE: Thin server - Added by max zero at 2012-07-27 08:27 am
Felix Schäfer wrote:
Add the thin gem to a file named Gemfile.local and run
bundle install
.
I also had to include:
"eventmachine", "1.0.0.rc.4"
in the ChiliProject Gemfile before
"thin", ">0"
ran : bundle install --without=test development
then
bundle exec thin -e production -p 3001 start
a few errors:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/inflector.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead. NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from C:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
Otherwise, its going well.
Thanks Felix.
Question, what do I need to know in order to customize chiliproject and is there a document that explains what is the overalll architecture of chiliproject and how are the files organized?
Thanks again.
RE: Thin server - Added by Felix Schäfer at 2012-07-27 09:15 am
max zero wrote:
Otherwise, its going well.
Great to hear :-)
a few errors:
Those are deprecation warnings and can be ignored for the time being.
Question, what do I need to know in order to customize chiliproject and is there a document that explains what is the overalll architecture of chiliproject and how are the files organized?
You will probably need some (basic) knowledge of Ruby and Ruby on Rails, ChiliProject mostly adheres to the "default" Rails architectural style, due to its age that style has changed though and at some places it starts showing. One way to start could be to have a look at existing plugins and try to see what happens there and/or make small modifications to them.
(1-4/4)