Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

Problem installing plugin (MacOS 10.8)

$
0
0

Hi there, how are you doing?

Well, I'm totally new in ruby world and I liked Redmine and bitnami package, so I tryed to install on my MacOSX (10.8). Everything was ok with installation, but now I'm in trouble to install a plugin (Agile Dwarf).

I did the following, but I don't understand what I did wrong. Anybody could help me? Thanks a lot!

  • I added the plugin files to folder /Applications/redmine-2.1.0-0/apps/redmine/htdocs/plugins
  • I executed the command: rake db:migrate_plugins

But I got this error message:

Could not find json-1.6.3 in any of the sources
Run `bundle install` to install missing gems.

So I tried to run bundle install, but my result was unhappy:

macbook:plugins tgmoura$ bundle install
Fetching gem metadata from http://rubygems.org/.......
Enter your password to install the bundled RubyGems to your system: 
Using rake (0.9.2.2) 
Using i18n (0.6.0) 
Using multi_json (1.1.0) 
Using activesupport (3.2.8) 
Using builder (3.0.0) 
Using activemodel (3.2.8) 
Using erubis (2.7.0) 
Using journey (1.0.4) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.1) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Using sprockets (2.1.3) 
Using actionpack (3.2.8) 
Using mime-types (1.18) 
Using polyglot (0.3.3) 
Using treetop (1.4.10) 
Using mail (2.4.4) 
Using actionmailer (3.2.8) 
Using arel (3.0.2) 
Using tzinfo (0.3.33) 
Using activerecord (3.2.8) 
Using activeresource (3.2.8) 
Using coderay (1.0.6) 
Using fastercsv (1.5.4) 
Using rack-ssl (1.3.2) 
Installing json (1.6.3) 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 
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Gem files will remain installed in /Users/tgmoura/.bundler/tmp/16703/gems/json-1.6.3 for inspection.
Results logged to /Users/tgmoura/.bundler/tmp/16703/gems/json-1.6.3/ext/json/ext/parser/gem_make.out
An error occurred while installing json (1.6.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.6.3'` succeeds before bundling.

Further, If I try to install the gem for json, I got this error message:

Ares:plugins tgmoura$ sudo gem install json -v '1.6.3'
Building native extensions.  This could take a while...
ERROR:  Error installing json:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.6.3 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/json-1.6.3/ext/json/ext/parser/gem_make.outmacbook:plugins     tgmoura$ sudo gem install json -v '1.6.3'
Building native extensions.  This could take a while...
ERROR:  Error installing json:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.6.3 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/json-1.6.3/ext/json/ext/parser/gem_make.out

Thanks! tiago


Viewing all articles
Browse latest Browse all 2052

Trending Articles