Facing problems while configuring anything in linux is a normal thing .. may be its boring and tiring .. but its really interesting when you solve them..

As a linux  starter i face some problems while configuring ruby on rails environment for linux .. Here they are

Note : Sure before any thing you need to get ruby and rails installed

  • sudo apt-get install ruby
  • sudo apt-get install rubygems
  • gem install rails –include-dependencies

1.Problem :Any Gem that lets you choose between mswin32 and ruby ( and of course you choose ruby ) is installed

  • Solution : Simply this happens because these gems require compilation so just give them the tool
    • sudo apt-get install g++ ( Now you are done and can work )

2.  Problem : While Installing A gem it tells you this: Could not create Makefile due to        some necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

  • Solution : This Happens because the ruby1.8-dev required library is not installed so simply
    • sudo apt-get install ruby1.8-dev Done

3. Problem : Always installing rmagick gem is a problem but i think its solution in linux is more simple than windows

  • Solution : 3 Steps ( Download imagicmagick , The Lib Magick library , Then the Gem )

    • sudo apt-get install imagemagick
    • sudo apt-get install libmagick9-dev
    • gem install rmagick

4. Problem : The great Problem of the file ( /tmp/mysql.sock ) which makes you not able to use rake db:migrate or any other access to the mysql databases

  • Solution : This Problem arises as the mysql.sock file location and a name has changed during newer versions to be installed in this silly location ( /var/run/mysqld/mysqld.sock) . Really Boring… So now we have to make a symbolic link and also change the name so do this
    • ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

These Problems were very annoying and tiring for me and i hope it helps

MintWorx Logo

MintWorx is an online software project management tool offering different facilities and some new perspectives for the software project management..

If you are a startup don not want to bother your self with management , Secretly Go Get MintWorx now ; )

If you are in your graduation year , tired with heavy process documentation or even don not have a process , grab your group and Welcome in MintWorx World

If you are a freelancer willing to work , even joining a company , its MintWorx what are you searching for…

MintWorx.. Has now A beta Release .. Come in and Take A Look

MintWorx Team:

Moustafa Eamara :
– Project Coordinator
– Head System Analyst
– Developer

Ali El Said Ali:
– Head System Designer
– Developer

Mahmoud Basiony :
– Head Quality Assurance
– Graphic Designer
– Developer

Mohamed Gaber:
– Head Tester
– Developer

Ahmed Fouad :
– Head Technical Writer
– Graphic Desinger
– Developer

Dont Forget :www.mintworx.com

Well , From about 5 years i was looking forward to study a science field related to both medicine , computers …
But i wasn’t be able to do this , I thought about medical engineering , but this was at Cairo University … I was Living in Alexandria …..
From about a year I heard about Bio-Informatics … Just its name attracted me . 🙂 I don’t know why .. Bio and informatics.. WooW it seems really coool.
So I googled to find what is that… I found a lot of course ….
But I loved This one : Bioinformatics is the analysis of biological information using computers and statistical techniques; the science of developing and utilizing computer databases and algorithms to accelerate and enhance biological research. Bioinformatics is more of a tool than a discipline, the tools for analysis of Biological Data. From ( http://www.roseindia.net/bioinformatics/definition_of_bioinformatics.shtml )
This Definition although i loved it a lot … but i just felt its not about this only .. simply imagine the huge processing capabilities of the computers and algorithms in solving genetic diseases .. its really great ..
The Problem after i knew that this field is a great one , How can I start … I just found an article telling me how

1. First Learn Biology.
2. Decide and pick a problem that interests you for experiment.
3. Find and learn about the Bioinformatics tools.
4. Learn the Computer Programming Languages.
5. Experiment on your computer and learn different programming techniques.

Wow I need To Learn Biology … Its really a long path .. Or i have to be a doctor or a biologist to start bio-informatics..
It Seems so depressing…
But Thanks God after this by almost 2 weeks in the last july I heard That one of the TAs in our Department made a successful master defense in Bio-Informatics… ( Eng. Hossam Sharara )
Really I was very happy and I went to ask him how to start and stuff like this. He was very helpful to me and guided me to the easiest books to start reading , but it seems that i have a lack the biological knowledge a lot.. That what I’m Trying to improve these days with the help of my Dear friend Dr.Marwan Ibrahim..
I hope i Can continue in this field , not just to be a dream..
Its a very long hard path I know .. but I hope I can go through it………..
Here I’ll write down some of what was hard for me to learn in both the biology and the computer science sides related to Bio-Informatics

When i First Installed Ubuntu 8.04 i was really happy , but i got shocked when i found that my intel wireless card is not working , The system appears to see it  but i cant connect nor search for networks .

After a lot of search in the ubuntu , I found that this was a formal ubuntu 8.04 Bug… Here It is

So I found a Solution Here   , I tried making it more usable , Here it is , Open up your lovely Terminal

  • sudo bash ( Just to make it more easy )
  • modprobe -r iwl3945
  • Navigate to /etc/modprobe.d   command :::  cd /etc/modprobe.d
  • Create file named iwl3945     command  :::  touch  iwl3945
  • Open The File     command : gedit iwl3945
  • Add The Following To the File
    • alias wlan0 iwl3945
    • options iwl3945 disable_hw_scan=1
  • Save The File and exit
  • modprobe iwl3945
  • sudo ifconfig wlan0 up

Now You will find networks jumping into your wireless networks list

Few months ago our boss at work gave us a book which consists of the articles of someone’s blog really he told us how important to have a blog and to write everything happend and u learned in this blog , well i thought a little and i thougth he’s quite right and decided to start a blog and
i was so excited about that 😀 but really i havent wrote anything in that blog 😀 a lot of things happend which was deserved to be written but i wasnt in that mood for writing really this was awful , but now in these tough exams days  😀 i decided to go over that step and start writing in the blog i hope i have the time and the mood to write because i really like that but i dont know what makes me be lazy to write inspite of lots of ppl told me how wonderful this is and how its very useful so i hope to be on my word 😀 and write usually in the blog …. i hope soo….
thanks alot to my ever best 2 bosses Hamdy and Medo  and my dear friend and work partner SObhiii ( ya l3bk ya soby 😉 ) ppl this person blog is greaaat visit it  i really learned alot from him  Sobhi Blog really its nice god with you sobhii ; finally i hope this continues true……………..
Moustafa Emara