Thursday, April 24th, 2008
git: fatal error: `chdir’ failed: permission denied.
Problem
Trying to use the heroku gem to clone a project and do local modifications I got the following error:
git: fatal error: `chdir’ failed: permission denied.
Solution
It turns out that in Mandriva, when using:
sudo urpmi git
what gets installed is the ‘GNU Interactive Tools’ that has nothing to do with the git version control system.
So make sure you [...]
No Comments » - Posted in linux, ruby on rails by kosmas
Friday, April 11th, 2008
Installing sqlite3-ruby in Mandriva and Rails 2.0.2
Problem
After upgrading to Rails 2.0.2 when trying to install the sqlite3-ruby gem got the following error:
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb install sqlite3-ruby
checking for sqlite3.h… no
make
make: *** No rule to make target `ruby.h’, needed by `sqlite3_api_wrap.o’. Stop.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api/gem_make.out
Solution
In [...]