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.

Issue with Installing Chiliproject 3.0 on OS X

Added by Lola Lee Beno at 2012-02-17 05:47 pm

I'm trying out Chiliproject 3.0 on OS X 10.7. I should note that I know next to nothing about Ruby. I'm already using Redmine for a website we're working on, so I have some familiarity with it (in fact, I had to use Bitmine bundle to get it installed because I had such a difficult time getting it all to install from the original Redmine directions).

I'm running into an issue with Magick. Here's what I have now:

Installing rdoc (3.12) 
Installing rmagick (2.13.1) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb 
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.1. Can't find Magick-config in /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/opt/local/bin:/usr/local/git/bin:/usr/X11R6/bin

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

Gem files will remain installed in /Users/lolajl/.bundler/tmp/4642/gems/rmagick-2.13.1 for inspection.
Results logged to /Users/lolajl/.bundler/tmp/4642/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
An error occured while installing rmagick (2.13.1), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.

Any suggestions on getting this to work?


Replies (27)

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-17 09:38 pm

You need ImageMagick installed for RMagick to be able to compile. RMagick is only needed for the (I can't remember which format exactly) export of some graphs, so if you don't need these exports, just run bundler with --without rmagick to skip it.

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-20 09:12 pm

Thanks - got past this step. Now on step 7 of install process. I'm getting this when I try to run RAILS_ENV:

[04:06 PM] /Library/WebServer/Documents/chiliproject 37 $ RAILS_ENV=production bundle exec rake db:migrate
sh: /usr/local/git: is a directory
rake aborted!
uninitialized constant MysqlCompat::MysqlRes

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

Fix?

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-23 05:35 pm

Anyone have responses to this latest roadblock? I'd really like to try out Chiliprojects . . .

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-23 06:46 pm

To be frank I don't really understand where all your problems originate from, I can't remember having had any difficulties on OS X with homebrew (and macports before that) and bundler.

Anyway, I seems your git installation is somewhat off, could you see if /usr/local/git really is a directory, and if so look for your git binary and put it's path in the config/configuration.yml (IIRC you can set the path of the git binary in there for times when the $PATH-based autodetection doesn't work…).

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 12:57 pm

Okay, got the path fixed. I just needed to change it to: /usr/local/git/bin/git

Now, I tried to run the command and it aborted because of the following error message.

[07:53 AM] /Library/WebServer/Documents/chiliproject 14 $ RAILS_ENV=production bundle exec rake db:migrate
rake aborted!
uninitialized constant MysqlCompat::MysqlRes

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

So . . . this constant - how do I get it initialized?

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-24 01:00 pm

Could you run the command with the added --trace option for more information about where this error comes from?

What database adapter have you configured in your config/database.yml?

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 01:05 pm

This is how I've got it set up:

production:
adapter: mysql
database: chiliproject
host: localhost
username: chiliproject
password: xxx
encoding: utf8

development:
adapter: mysql
database: chiliproject_development
host: localhost
username: root
password:
encoding: utf8

Using --trace:

07:58 AM] /Library/WebServer/Documents/chiliproject 16 $ RAILS_ENV=production bundle exec rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:466:in `load_missing_constant'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:106:in `const_missing'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/mysql_adapter.rb:9:in `define_all_hashes_method!'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/mysql_adapter.rb:68:in `mysql_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `checkout'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
/Library/WebServer/Documents/chiliproject/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:218:in `quoted_left_column_name'
/Library/WebServer/Documents/chiliproject/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:94:in `acts_as_nested_set'
/Library/WebServer/Documents/chiliproject/app/models/issue.rb:33
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:291:in `require_or_load_without_engine_additions'
/Library/WebServer/Documents/chiliproject/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:133:in `require_or_load'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:451:in `load_missing_constant'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:106:in `const_missing'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:118:in `const_missing'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/inflector.rb:364:in `constantize'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/inflector.rb:363:in `each'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/inflector.rb:363:in `constantize'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/observer.rb:157:in `observed_class'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/observer.rb:183:in `observed_classes'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/observer.rb:166:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/singleton.rb:94:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/singleton.rb:94:in `instance'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/observer.rb:38:in `instantiate_observers'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/observer.rb:36:in `each'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.14/lib/active_record/observer.rb:36:in `instantiate_observers'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:182:in `call'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:182:in `evaluate_method'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in `call'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:90:in `run'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:90:in `each'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:90:in `send'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:90:in `run'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in `run_callbacks'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:51:in `send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
/Library/Ruby/Gems/1.8/gems/rails-2.3.14/lib/initializer.rb:631:in `prepare_dispatcher'
/Library/Ruby/Gems/1.8/gems/rails-2.3.14/lib/initializer.rb:185:in `process'
/Library/Ruby/Gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `send'
/Library/Ruby/Gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
/Library/WebServer/Documents/chiliproject/config/environment.rb:42
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/Library/Ruby/Gems/1.8/gems/rails-2.3.14/lib/tasks/misc.rake:4
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
Tasks: TOP => db:migrate => environment

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-24 01:12 pm

It seems like your mysql gem didn't build correctly and/or doesn't have the required libraries to run available. Which version of ruby are you on? Could you try to run:

ruby -e "require 'rubygems'; require 'mysql'; MysqlRes"

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 01:21 pm

Here's what I have installed:

ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]

When I ran the commands, I got this:

-e:1: uninitialized constant MysqlRes (NameError)

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-24 01:26 pm

Ok, so it's an issue with the mysql gem, but I can't say exactly what… It seems the error is not uncommon though, see http://www.google.com/search?q=mysqlres

I'd recommend you to try the mysql2 gem though, as the mysql gem as far as I know isn't supported anymore, and especially isn't compatible with ruby 1.9. To switch to the mysql2 gem, just change the adapter in your database.yml file from mysql to mysql2 and make sure you have it installed (bundle show in your ChiliProject directory should show mysql2).

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 05:12 pm

Okay . . . still running into roadblocks even though I switched to mysql2:

[08:44 AM] /Library/WebServer/Documents/chiliproject 20 $ RAILS_ENV=production bundle exec rake db:migrate
rake aborted!
Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (dlopen(/Library/Ruby/Gems/1.8/gems/mysql2-0.2.18/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib
  Referenced from: /Library/Ruby/Gems/1.8/gems/mysql2-0.2.18/lib/mysql2/mysql2.bundle
  Reason: image not found - /Library/Ruby/Gems/1.8/gems/mysql2-0.2.18/lib/mysql2/mysql2.bundle)

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
[12:10 PM] /Library/WebServer/Documents/chiliproject 21 $ gem install activerecord-mysql2-adapter
ERROR:  Could not find a valid gem 'activerecord-mysql2-adapter' (>= 0) in any repository
ERROR:  Possible alternatives: activerecord-jdbch2-adapter, activerecord-jdbcmysql-adapter, activerecord-odbc-adapter, activerecord-postgis-adapter, activerecord-jdbc-adapter

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-24 09:18 pm

As I said: Make sure it's installed correctly :-)

Felix Schäfer wrote:

To switch to the mysql2 gem, just change the adapter in your database.yml file from mysql to mysql2 and make sure you have it installed (bundle show in your ChiliProject directory should show mysql2).

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 09:27 pm

Okay . . . I do have this installed. When I run bundle show I'm seeing:

  • mysql2 (0.2.18)

How do I make sure this is installed correctly?

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-24 09:34 pm

If it's in the list from bundle show, it is installed, but to be honest I'm at a loss here. That's the same version I have installed.

I'll ask Holger if he has any other ideas.

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Robert Chady at 2012-02-24 09:50 pm

Lolo,

Please make sure you have libmysqlclient installed on your system. From the error, it seems to suggest it is not, or it is not found.

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 09:54 pm

The problem is that I keep being told to run "gem install activerecord-mysql2-adapter". But that doesn't seem to exist, and gives me a list of other stuff to install. I was able to do this: sudo gem install activerecord-jdbcmysql-adapter. But of course, that doesn't help.

Robert, it seems that libmysqlclient is installed:

$ locate libmysqlclient
/Applications/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient.16.0.0.dylib
/Applications/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient.16.0.dylib
/Applications/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient.16.dylib
/Applications/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient.dylib
/Applications/betas/old/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient_r.16.0.0.dylib
/Applications/betas/old/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient_r.16.0.dylib
/Applications/betas/old/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient_r.16.dylib
/Applications/betas/old/MySQLWorkbench.app/Contents/Frameworks/libmysqlclient_r.dylib
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient.16.dylib
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient.a
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient.dylib
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient.la
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient_r.16.dylib
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient_r.a
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient_r.dylib
/usr/local/mysql-5.1.36-osx10.5-x86_64/lib/libmysqlclient_r.la
/usr/local/mysql-5.5.13-osx10.6-x86_64/lib/libmysqlclient.18.dylib
/usr/local/mysql-5.5.13-osx10.6-x86_64/lib/libmysqlclient.a
/usr/local/mysql-5.5.13-osx10.6-x86_64/lib/libmysqlclient.dylib
/usr/local/mysql-5.5.13-osx10.6-x86_64/lib/libmysqlclient_r.18.dylib
/usr/local/mysql-5.5.13-osx10.6-x86_64/lib/libmysqlclient_r.a
/usr/local/mysql-5.5.13-osx10.6-x86_64/lib/libmysqlclient_r.dylib

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 09:57 pm

And my gem env:

$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.16
  - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
  - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
  - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - universal-darwin-11
  - GEM PATHS:
     - /Library/Ruby/Gems/1.8
     - /Users/lolajl/.gem/ruby/1.8
     - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://gems.rubyforge.org/", "http://gems.github.com"]
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/
     - http://gems.github.com

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Robert Chady at 2012-02-24 10:04 pm

Based on the error log above, it seems to suggest that it is looking for "libmysqlclient.18.dylib", which is not in your list above. I suspect that is at least part of the problem.

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-24 10:17 pm

But it is in the list:

/usr/local/mysql-5.5.13-osx10.6-x86_64/lib/libmysqlclient.18.dylib

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-02-27 06:32 pm

I'm thinking that it might be best to install a 3rd party package that is up-to-date and try to run off ChiliProject on that, as opposed to the default Ruby version bundled wit OS X 10.7. Anyone know whats the best way to get Ruby apps to run off that version and not the default? Since I'm a newcomer to Ruby, I don't want to screw stuff up just so I can try out ChiliProject.

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Felix Schäfer at 2012-02-27 08:43 pm

I personally use rvm (ruby version manager) to manage my different ruby versions, but I don't think that is the source of your paths or whichever problems.

What did you use to install mysql? Try to rebuild your mysql2 gem with: gem install mysql2 -- --with-mysql-dir=/usr/local/mysql-5.5.13-osx10.6-x86_64, this will result in a version update of mysql to break the gem. I don't know how you could solve this best as I don't know where your mysql installation comes from.

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Markus Guske at 2012-03-21 09:39 am

RMagick installation problem

First: make sure, you have Xcode installed (I have 4.3.1 from AppStore) , and also the command line tools, can be found in Xcode --> Preferences --> Downloads Tab --> Components

To get RMagick stuff up and running use brew to get it installed: see Installation von brew
You find there the command:

/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

execute in Terminal then you are fine, you can accept defaults, it installs all needed files in /usr/local/...
Keep in mind to have your root user unlocked, because during the installation process there are some sudo commands.

After installing brew execute the command:
brew install imagemagick

And now it should install the rmagick gem fine.

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Markus Guske at 2012-03-21 09:50 am

mysql gem
Have you tried to install the mysql gem with this option;
sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
check where your mysql_config is located, sometimes it is also /usr/local/mysql/bin/mysql_config

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Lola Lee Beno at 2012-04-07 03:30 pm

Markus Guske wrote:

After installing brew execute the command:
brew install imagemagick

And now it should install the rmagick gem fine.

Okay . . . when I do this, I get:

[07:17 AM] ~ 1 $ brew install imagemagick
Error: Cannot write to /usr/local/Cellar
[07:17 AM] ~ 2 $ cd /usr/local/Cellar

And this is what it looks like for this directory:

drwxr-xr-x    3 root    wheel       102 Sep 24  2011 Cellar

RE: Issue with Installing Chiliproject 3.0 on OS X - Added by Markus Guske at 2012-04-09 09:02 am

Lola Lee Beno wrote:

And this is what it looks like for this directory:

[...]

  • do you have the root user activated?
  • have you kept the install output from brew install?
    mine looks:
    :local mg$ /usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" 
    ==> This script will install:
    /usr/local/bin/brew
    /usr/local/Library/Formula/...
    /usr/local/Library/Homebrew/...
    ==> The following directories will be made group writable:
    /usr/local/.
    /usr/local/include
    /usr/local/lib
    /usr/local/lib/pkgconfig
    ==> The following directories will have their group set to admin:
    /usr/local/.
    /usr/local/include
    /usr/local/lib
    /usr/local/lib/pkgconfig
    
    Press enter to continue
    ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig
    Password:
    ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig
    ==> Downloading and Installing Homebrew...
    ==> Installation successful!
    Now type: brew help
    
    • I see that user/group was set different to yours
      drwxr-xr-x   8 mg    admin   272 18 Mär 02:30 Cellar
      

1 2 Next » (1-25/27)