hi wondering if any Webfaction community members have used the Redmine fork Chiliproject ? https://www.chiliproject.org/ it seems to have some nice new features, certainly a polished UI etc I am new to Ruby and so am fishing for help on install asked 14 Jan '12, 00:08 Nicholas Rob... |
Hi, You can set it up by creating a new rails app from the panel(let's name it "rails") and using the following commands:
Please note these commands are for CentOS 6 servers, on Centos 5 see: http://docs.webfaction.com/software/rails.html#installing-gems (the section about postgres) answered 14 Jan '12, 02:00 neeravk |
thanks for the feedback 2 questions
answered 14 Jan '12, 02:39 Nicholas Rob...
You have to add the line: config.action_controller.session = { :key => "_myapp_session", :secret => "some secret phrase that you need to replace" }; after the line: Rails::Initializer.run do |config|
(14 Jan '12, 02:44)
neeravk
|
ok, am getting further, but now getting this error message on webpage and in log/production.log below web page for details about the error. for details about the error.> Internal error
answered 15 Jan '12, 03:25 Nicholas Rob... Hi, I am sorry it seems you need to two more commands to inster thed ata as seen here: https://www.chiliproject.org/projects/chiliproject/wiki/Installation#Installation cd ~/webapps/rails/ export PATH=$PWD/bin:$PATH cd hello_world RAILS_ENV=production bundle exec rake db:migrate RAILS_ENV=production bundle exec rake redmine:load_default_data
(15 Jan '12, 03:35)
neeravk
|
ok, trying that, get this error
looks like bundle needs to be installed and I dont permissions to do that thanks in advance answered 15 Jan '12, 10:53 Nicholas Rob... Can you tell us the output of "which bundle" and can you try "gem install bundler" after exporting the correct GEM_HOME and PATH ?
(15 Jan '12, 18:59)
neeravk
|
I don't understand "can you tell us the output of "which bundle"" ? can you please re-state that in other words? for the second part, I think this is what you want
answered 15 Jan '12, 19:58 Nicholas Rob... "which bundle" is a command which will tell which bundle executable you are actually executing. $ export PATH=$PWD/bin:$PATH $ export GEM_HOME=$PWD/gems $ which gem ~/webapps/rails/bin/gem $ which bundle ~/webapps/rails/bin/bundle $ gem install bundler Fetching: bundler-1.0.21.gem (100%) Successfully installed bundler-1.0.21 1 gem installed Installing ri documentation for bundler-1.0.21... Installing RDoc documentation for bundler-1.0.21... Are you sure you are setting GEM_HOME and PATH as shown here: http://docs.webfaction.com/software/rails.html#installing-gems
(15 Jan '12, 20:09)
neeravk
|
thanks to neeravk for walking me a lot of the basics of Ruby - total newbie me got Chiliproject 3 Beta 1 working using Postgres as DB... kept getting a access denied problem with mysql db set-up option anyway, configuring Chiliproject 3 now imho this is the major iteration that validates the entire Redmine FORK cheers answered 16 Jan '12, 12:05 Nicholas Rob... |
Possible to install a newer version of chili project?
Yes, instead of using wget to get the files just do a git clone of the repo:
Thanks! Now I seem to keep getting hung up on an error after entering:
bundle exec rake generate_session_store
it says:
rake aborted! cannot load such file -- iconv
any thoughts?
Please open a ticket at our support site, and we'll help you find the cause of the issue.
After some research, Chiliproject does not yet have support Ruby newer than 1.9.3. I made the RoR application using Rails 3.2.13 and Ruby 1.9.3, made sure to use mysql2 adapter and now everything worked great.