6 Replies - 770 Views - Last Post: 26 January 2014 - 01:26 PM Rate Topic: -----

#1 boulde4rmash  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 65
  • Joined: 29-September 11

Are there any tutorials for Ruby add edit delete to MYSQL?

Posted 26 January 2014 - 04:59 AM

Are there any tutorials for Ruby for a simple add edit delete to MYSQL?
Sorry no idea here. Newbie
Is This A Good Question/Topic? 0
  • +

Replies To: Are there any tutorials for Ruby add edit delete to MYSQL?

#2 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3517
  • View blog
  • Posts: 12,009
  • Joined: 12-December 12

Re: Are there any tutorials for Ruby add edit delete to MYSQL?

Posted 26 January 2014 - 07:50 AM

Seriously? Searching "ruby mysql" the first result is:

MySQL Ruby tutorial

Quote

This is a Ruby programming tutorial for the MySQL database. It covers the basics of MySQL programming with Ruby.

Was This Post Helpful? 1
  • +
  • -

#3 salazar  Icon User is offline

  • D.I.C Addict

Reputation: 87
  • View blog
  • Posts: 539
  • Joined: 26-June 13

Re: Are there any tutorials for Ruby add edit delete to MYSQL?

Posted 26 January 2014 - 07:55 AM

Here is a tutorial you may find useful. http://rubylearning....l_tutorial.html
Was This Post Helpful? 0
  • +
  • -

#4 boulde4rmash  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 65
  • Joined: 29-September 11

Re: Are there any tutorials for Ruby add edit delete to MYSQL?

Posted 26 January 2014 - 09:25 AM

I have a problem in connecting to mysql. When i try to "gem install mysql" it doesnt install. Are there any steps for a newbie on connecting in mysql? are there any connectors to install? please guide me.
Was This Post Helpful? 0
  • +
  • -

#5 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon


Reputation: 1372
  • View blog
  • Posts: 3,470
  • Joined: 28-November 09

Re: Are there any tutorials for Ruby add edit delete to MYSQL?

Posted 26 January 2014 - 10:29 AM

What OS are you on?

You need to first install mysql itself and go through all of that setup. The fun you're going to run into is the gem failing to install from C extensions. If I were you I would use SQLite3 instead unless you know that you really need mysql.

That being said you really should Google things like this and share information of what you've tried to do.

This borders dangerously for asking us for code, which is against site rules. Show us what you've tried, because as of now this probably deserves to be closed.

This post has been edited by Lemur: 26 January 2014 - 10:43 AM

Was This Post Helpful? 0
  • +
  • -

#6 boulde4rmash  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 65
  • Joined: 29-September 11

Re: Are there any tutorials for Ruby add edit delete to MYSQL?

Posted 26 January 2014 - 11:19 AM

Im not asking for a code. Im asking the solution to install mysql gem in my pc. I have windows 7 64bit. And there seems a problem installing this gem. I tried to install the devkits its continue failing to install.
Was This Post Helpful? 0
  • +
  • -

#7 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon


Reputation: 1372
  • View blog
  • Posts: 3,470
  • Joined: 28-November 09

Re: Are there any tutorials for Ruby add edit delete to MYSQL?

Posted 26 January 2014 - 01:26 PM

If I were you, and for the sake of your sanity, I would install Linux in a virtual PC and build on that. Windows and anything other than .NET/Java programming is a bad bad idea.

Download Linux Mint, install, and set up using RVM.

Trying to make MySQL work under Windows is flat out not worth the headaches, and the number of Ruby Devs using Windows is near non-existent. Most professionals are tending towards Macs (FreeBSD Unix) or Linux Distributions. Either way, you learn Bash and Unix, which if you intend to pursue Ruby seriously will be invaluable.

This coming from someone who tried to make it work on Windows and decided that he wasn't that much of a masochist.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1