search for: sahmed1020

Displaying 15 results from an estimated 15 matches for "sahmed1020".

2011 Mar 29
4
wordpress.com and puppet, would they use it to update mysql db schema's also?
Say for example wordpress.com uses puppet to rollout the wordpress software for its customers. During updates to the software, say there are mysql schema updates. i.e. say they have 100K mysql databases, 1 for each blog. And the database for each blog as to be updated to version x which adds a few tables, columns to tables etc. If they have 100K wordpress installations spanning hundreds of
2012 Sep 27
3
load global variable so I can access in spec files
In my spec_helper, I want to load yaml file to a variable, and then be able to use that in my tests. spec_helper.rb: RSpec.configure do |config| end config = YAML::Load(......) some_spec.rb describe ''blah'' do it "should be...." do MyClass.new( config[''test''] ) end end How can I do this? -------------- next part -------------- An
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine. But doing a: rake db:reset it fails with: unknown attribute: user_status Does this mean my migrations are not dropping things correctly? -- 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
2011 Apr 01
3
poor mans puppet, can puppet work with a offline puppetmaster?
Could I use my local laptop as a puppet master, and only start up the puppetmaster when I have a change I want to send over to the nodes? Say I only have 1 server, and I don''t want or even need a puppetmaster running all the time. Is this or something close to this type of setup possible? -- You received this message because you are subscribed to the Google Groups "Puppet
2012 Feb 14
1
requests versus cucumber
For those of you who have used both rspec requests and cucumber, could you summarize the main differences between the two? Do they both serve the same purpose but with different implementation styles or they really aren''t the same thing? I havent'' used requests before, but I like the idea of being able to view both the ''request/behaviour'' and the code on the
2011 Jul 13
1
Best way to create a repo, looking for advice and tips
What is the best way to create a repo? I like to take baby steps, and test things as I go. Is this kind of development style possible with puppet? My hope was to do something like: Have 1 ec2 vm open that will be my test vm where I will manually install e.g. mysql or nginx, and then look at what files I will need to work with. Make modifications to my puppet repo, then commit and apply the
2012 Sep 30
3
How to escape a forward slash with gsub, also does interpolation work with gsub?
I am trying this: I want to replace all the text in between java comments: /* start */ replace this text here /* end */ I''m trying: text.gsub(//* start */(.*)/* end *//im, replace_with) But i''m getting errors relating to expecting keyword_end. How should I be escaping /* and */ ? Also, does string interpolation work in gsub regex? Say I had variables like: start_tag =
2013 Feb 07
5
does unicorn fork like phusion?
Does unicorn work like phusion in that it automatically forks based on traffic levels? Or is that what thin does also? -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
2012 Jan 17
2
does jruby rspec have to use selenium?
With jruby and rspec requests, do you have to use selenium webdriver? I''m confused, with ruby and rubyonrails using cucumber with capybara, I didn''t have to set the default driver, what was it using and can i use that with jruby? Things just worked w/o me even having to know about it :) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Oct 04
1
can you use rjs with jquery?
can rjs be used with jquery? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit
2011 Aug 04
1
ec2 versus engineyard, clarrifications
Can someone clarify for me what advantage engineyard provides over running ec2 yourself? Is it that they provide chef recipes, automate backup/restore scripts for you via a web dashboard? Or is there something more to it? i.e. if I have puppet scripts to create a server, and have backup/restore scripts for my db etc. does engineyard still provide more services? -- You received this message
2012 Feb 13
0
How to load a static collection of rows?
I have a model UserType that I reference in my application allot. This is stored in the database, but I don''t want to hit the db everytime I reference the collection of UserTypes (it doesn''t change unless I am re-deploying the code or db so it is safe to make static). How can I load all the rows into a collection that I can then use in my application code as if it were a static
2012 Apr 18
0
rake .rake subfolder not working
I read that if you create a .rake subfolder, you can run rake from any subfolder in and it will pickup the rake tasks as long as you put the -g option. I have this: /app/ /app/Rakefile /app/.rake/test.rake Now when I do: rake -g -T I only see the tasks defined in my Rakefile. Does this work like this or am i confused? Because I just tested, if I go to a subfolder, rake works fine. Not sure
2013 Nov 05
3
rails 4 logging during development, surpress asset messages?
Is it possible to surpress all those asset related messages? I have a terminal open where I run ''rails s'' and it gets hard to read. -- 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
2011 May 30
3
puppet administration guidance
Other than learning on to build a puppet repo, what other skills/tutorials/docs can you point me to do learn how to admin a puppet setup. What sort of day to day issues to you guys run into, and what are they command line tools that I should learn? /var/log/syslog seems to be the place to look for any issues for things like agent''s not being able to connect or problems with the catalog.