Question: Clearly 1.0.7 is greater than 0

came in and tried to used my Rails app and I get this. worked yesterday.

So I removed the ruby-oci8 1.0.7 gem and reinstalled it. same problem.

Tried a different dev branch of my app and same problem.

I am running RoR on a Windows installation and looking for any ideas as to what might have gotten corrupted?

Answer: 
To see if your user is on iOS 5 and has the native Twitter API available, try:

```
if([TWTweetComposeViewController class] != nil) { /* tweet here */ }

```
There are 2 ways I have used to determine if the Twitter application is installed, or you can send a tweet:

1.
--

```
- (BOOL)isTwitterInstalled { 
    return [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"twitter://"]]; 
}

```

2.
--

```
if ([TWTweetComposeViewController canSendTweet]) 
{
    // Yes, you can send a tweet.
}

```

You can also see if the iOS version is greater than 5.0, which is when the Twitter framework would be available.