PDA

View Full Version : mac/avalon



Spleen
11-01-2014, 12:02 AM
get the ain't got sqlite3 error. I see this is noted on github. Just curious if anyone works on mac issues?

Spleen
11-01-2014, 12:04 AM
4.6 to be clear

Spleen
11-01-2014, 01:47 AM
Feel like i'm talking to myself here, but believe it or not, that's the error:

"aint got no sqlite3"

Using ruby-2.0.0-p353, sqlite3 (1.3.9)

Believe I'm hitting this (https://github.com/matt-lowe/Lich/blob/master/lich.rb):

else
# fixme: no sqlite3 on Linux/Mac
puts "aint got no sqlite3"
end

But I'm no expert.

m444w
11-01-2014, 08:38 AM
Is sqlite in your $PATH?

Tillmen
11-01-2014, 10:05 AM
That error comes up when Lich would have installed the sqlite3 gem for you on Windows. I just haven't automated it on Linux or Mac yet.

You'll need to:

sudo gem install sqlite3
sudo gem install gtk2

However, on Mac it may or may not work so easily. There was a whole process to get the gtk2 gem installed on Mac before. At least one person is using Lich 4.6 and Ruby 2.0 successfully on Mac, but I don't know what process they used. I suppose the easy way is worth a try though.

RaceCondition
11-01-2014, 12:32 PM
I use avalon/lich on mac. You will need to install the libraries first. I used homebrew, but I suppose macports or another method would also work.

Spleen
11-01-2014, 05:50 PM
Thank you all, will look into these!

UPDATE: Yes I had to sudo install those two gems and now it is working. Thanks!