What's so strikingly different between "yesterday" and "now"?
irb(main):010:0> require 'activesupport'
=> []
irb(main):014:0> DateTime.yesterday.to_time.class
=> Time
irb(main):015:0> DateTime.now.to_time.class
=> DateTime
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~--
bump for ideas :)
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsu
Rob Redmon wrote:
> Roger Pack wrote:
>>> /home/iono/packages/gems/gems/mysql-2.7 for inspection.
>>
>> Might give some clues.
>
>
> Duh.
>
> This is what worked:
> cd /home/iono/packages/gems/gems/mysql-2.7
> ruby extconf.rb --with-mysql-conf
Roger Pack wrote:
>> /home/iono/packages/gems/gems/mysql-2.7 for inspection.
>
> Might give some clues.
Duh.
This is what worked:
cd /home/iono/packages/gems/gems/mysql-2.7
ruby extconf.rb --with-mysql-config=/usr/bin/mysql_config
Thanks for such speedy help!!
R
--
Posted via http://www.rub
I've seen this before but I've forgotten how to solve it.
It appears that I have the mysql client libraries installed:
i...@retro[08:25:55][~/] locate libmysqlclient.so
/usr/lib/mysql3/mysql/libmysqlclient.so
/usr/lib/mysql3/mysql/libmysqlclient.so.10
/usr/lib/mysql3/mysql/libmysqlclient.so
I'm trying to get ActiveRecord working with an Oracle DB over the
instant client.
On a 32bit machine, I can require 'oci8':
Linux xxx.xxx.xxx.xxx 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 5 04:52:17 EST
2009 i686 i686 i386 GNU/Linux
irb(main):001:0> require 'oci8'
=> true
However, on a 64bit machine:
L
Solved. I just built up my own Ruby and RubyGems environment and all is
well. Thanks for the tips.
R
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk
I have a schema for ~15 tables in MySQL. I need to migrate it to Oracle
though I've never used Oracle before. I see that Oracle doesn't have an
auto_increment built in. One must create a trigger table for each
auto_incrementing id. I'm contemplating translating my MySQL schema
into a Ruby mig
8 matches
Mail list logo