sandip
2 post(s)
|
Hi,
I’m running into some difficulties with rminstall:
Firstly, I cannot install any new gems: It updates the metadata then gives the foll error:
R: While executing gem … (Errno::EACCES) Permission denied – /opt/rminstall-1.1-0/ruby/lib/ruby/gems/1.8/cache/hpricot-0.6.gem
Secondly, when I try to create a new database by the foll command:
$ mysql -u root ~/rminstall-1.1-0/mysql/tmp/mysql.sock -p -P”3306” -e “CREATE DATABASE testapp_development”
I get the foll error:
$ ERROERROR 2002 (HY000): Can’t connect to local MySQL server through socket ’/opt/rminstall-1.1-0/mysql/tmp/mysql.sock’ (2)
My installation directory is /opt/rminstall-1.1-0 and my rails apps are in /home/sandip/rails
Third, what changes do I make if I need to use sqlite for my database instead of mysql?
And lastly, I am relatively new to Linux and still getting a hang of things. After being pampered by InstantRails in windows, I am finding rminstall a wee bit exasperating. Would it be easier to setup my own Rails development env for a linux noob like me? Is there any more documentation for rminstall?
Thanks Sandip
|