[Rails] need Ruby programmer for contract @Intel Chandler, AZ

2012-02-15 Thread dwilde1
Need Ruby server-side programmer for immediate full-time contract at
Intel in Chandler, AZ

Skills: Ruby, Rack, Sinatra, AJAX, JSON, MySQL on Linux / FreeBSD and
understanding of client-side HTML5, jQuery, JavaScript.

Project is an amazing cloud-to-tablet services project. :D

-- 
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 unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.



[Rails] Multiple Databases w/ RoR 4.2

2014-12-29 Thread dwilde1
Hi, all -

I'm prototyping a large application which will eventually have multiple 
open connections to MySQL and Neo4j data persist stores (aka databases). I 
would also like to maintain the existing development/test/prod switch 
behavior.

How can I configure this, or where would I start to patch?

-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/166b5f31-43ea-4ac9-b693-a0c9ecee98f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] Still getting ENOENT error `initialize': No such file or directory @ rb_sysopen

2019-01-21 Thread dwilde1
Hi, folks --

Sorry if this has been discussed ad infinitum but I've been searching and 
testing for hours and I'm not getting anywhere

My Ruby is ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux] on  
Ubuntu 18.4

I created a bunch of files using a Rails generator (5.2.2) but since 'rails 
g' can't utilize all the options a migration file is capable of. I need to 
change_column and add_column and then re-write the file.

Here's the pertinent part of the modification program:














*add_files.each do | add_file | add_file.chompfile_str = 
"/home/din/Projects/DLC/rails_server/product_exchange/db/migrate/" + 
add_fileputs "exist"puts File.exist?(file_str)puts "ls"
ls_str = "ls -al " + file_strsystem(ls_str)puts "read:"puts 
File.readable?(file_str)puts "write:"puts File.writable?(file_str)  
File.open(file_str, "r+")  do | the_add_file |*
*# ...*

*  end*


Here's the result:















*$ populate_user_table_migrations_01.rb existfalsels-rw-rw-rw- 1 din din 90 
Jan 21 13:11 
/home/din/Projects/DLC/rails_server/product_exchange/db/migrate/20190119232341_add_columns_to_alabama_users_table.rbread:falsewrite:falseTraceback
 
(most recent call last):4: from 
/home/din/Projects/DLC/code_ruby/populate_user_table_migrations_01.rb:5:in 
`'3: from 
/home/din/Projects/DLC/code_ruby/populate_user_table_migrations_01.rb:5:in 
`each'2: from 
/home/din/Projects/DLC/code_ruby/populate_user_table_migrations_01.rb:17:in 
`block in '1: from 
/home/din/Projects/DLC/code_ruby/populate_user_table_migrations_01.rb:17:in 
`open'/home/din/Projects/DLC/code_ruby/populate_user_table_migrations_01.rb:17:in
 
`initialize': No such file or directory @ rb_sysopen - 
/home/din/Projects/DLC/rails_server/product_exchange/db/migrate/20190119232341_add_columns_to_alabama_users_table.rb
 
(Errno::ENOENT)*


Now, as you can see from the output of the *ls -al* command, the file *is* 
there, and it's readable and writable. The db/migrate directory is also 
writable by world, but none of the tests find it and it blows up on 
File.open. I'm running the updater from inside db/migrate, although as you 
can see the updater now has hard-coded paths everywhere.

Please, somebody tell me this is something trivial and silly! :)

I've tried various IO combinations, various File.open combinations, etc, 
and I've been googling all morning and part of yesterday.

*Thanks in advance!*

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/de29e12c-9c62-403a-9588-171fff38c569%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Still getting ENOENT error `initialize': No such file or directory @ rb_sysopen

2019-01-22 Thread dwilde1
On Tuesday, January 22, 2019 at 3:49:33 AM UTC-7, Colin Law wrote:
>
>
> Is it specific to that file or directory?  What happens if you try 
> another file somewhere else? 
> If it is something specific then try another file in that directory, 
> and so on till you work out what is going on. 
> I suppose it could be something like an unprintable character in the 
> filename or something. 
>

Hi, Colin  --

Actually, it doesn't seem to be specific. I'm using a Ruby program that 
creates fifty sets of files (for each state in US), and then updating those 
files with better column definitions. Ubuntu did just force my Rails to 
update to bleeding edge, so it is possible that something has been 
introduced but that is unlikely.as File and IO should be very stable by 
now. You'd a think, eh? :)

Your idea of a stray binary in there is plausible; I don't have a current 
copy of RubyMine but I can see if BEAV will show me  something useful. 
Thanks for the idea!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/bd96ae9b-b7ba-4ec5-9c2c-9be2dbd34ef0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.