11155
(-- --)
December 17, 2010, 4:03pm
1
the rake one occured after jolicloud updated, the ruby one cuz I messed
up the ls -s command
the errors:
bash: /usr/bin/rake: /usr/bin/ruby1.8: bad interpreter: No such file or
directory
I'm running ruby1.9.2
ruby: symbol lookup error:
/usr/local/lib/ruby/1.9.1/i686-linux/enc/encdb.so: undefined symbol:
rb_enc_set_base
help?
thanks,
Andrew
11155
(-- --)
December 17, 2010, 4:07pm
2
Andrew Jones wrote in post #969085:
the rake one occured after jolicloud updated,
What did you update?
the ruby one cuz I messed
up the ls -s command
Huh?
the errors:
bash: /usr/bin/rake: /usr/bin/ruby1.8: bad interpreter: No such file or
directory
I'm running ruby1.9.2
Looks like Rake is pointing to the wrong Ruby. You might need to
reinstall Rake; RVM might also be useful to manage different Rubies.
ruby: symbol lookup error:
/usr/local/lib/ruby/1.9.1/i686-linux/enc/encdb.so: undefined symbol:
rb_enc_set_base
Are you running Ruby 1.9.2 or 1.9.1? Sure looks like 1.9.1...
help?
thanks,
Andrew
Best,
11155
(-- --)
December 17, 2010, 4:13pm
3
jolicloud = linux based os
just did an install of ruby1.9.2, but the error
appears to point to 1.9.1
the ruby error occured after I tried to change the symbolic link to ruby
to fix rake.
11155
(-- --)
December 17, 2010, 4:29pm
4
one more thing
the ruby error happened after I tried to
ln -s ruby to another directory and failed.
I'm wondering how I reset a symbolic link?
11155
(-- --)
December 18, 2010, 12:21am
5
apparently the rake that comes with 1.9.2 is buggy, so had to downgrade
to 1.9.1 and then delete the rake gemspecs in specifications then
re-install rake. appears to be working fine now.