search for: yml

Displaying 20 results from an estimated 1443 matches for "yml".

Did you mean: ml
2023 Mar 01
7
[nbdkit PATCH 0/5] ci: Get to green status on FreeBSD and MacOS
...bvirt-ci: https://gitlab.com/libvirt/libvirt-ci/-/merge_requests/360 Eric Blake (5): ci: Expose more env vars needed by build.sh ci: Another attempt at MacOS rust: Skip CI builds on MacOS golang: Skip CI builds on MacOS and newer FreeBSD perl: Skip CI builds on newer FreeBSD .gitlab-ci.yml | 3 +++ ci/cirrus/build.yml | 3 +++ ci/cirrus/macos-12.vars | 4 ++-- ci/gitlab.yml | 7 +++++++ ci/gitlab/build-templates.yml | 31 ++++++++++++++++++++++++++++++- ci/gitlab/builds.yml | 11 ++++++++--- ci/manifest.yml | 2...
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone, What are other people doing with regards to database.yml being in version control? My dilema: I set up my rails app in svn using these instructions: http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion The part to note is where I ignore database.yml, allowing different developers to keep their own database.yml without clobbering other...
2008 Jan 08
5
Different environments in backgroudrb.yml
Hi, Got everything setup nicely with backgroundrb for the development environment and running tests with rspec. However, I have to keep editing the backgroundrb.yml file, to switch between development and testing environment. How can I declare a development, testing and production environment in backgroundrb.yml? Thanks in advance Rai
2006 Apr 03
2
Capistrano - how do I set up the database config?
My app is set up without database.yml in version control. I created a shared_path/config dir, and put database.yml in it. After I update the code, I want to link the app''s database.yml file to the shared config. So I added this task desc ''Copy the database config'' task :after_update_code, :roles => :ap...
2010 Jul 28
3
Rails 3.0.0.rc // rails locales prevent app boot
.../active_support/file_update_checker.rb:27:in `stat'': can''t convert Array into String (TypeError) When I put some debug code on that line I see the follwing array being passed; ["/Users/smath/.rvm/gems/ruby-1.8.7-p299/gems/activesupport-3.0.0.rc/ lib/active_support/locale/en.yml", "/Users/smath/.rvm/gems/ruby-1.8.7- p299/gems/activemodel-3.0.0.rc/lib/active_model/locale/en.yml", "/ Users/smath/.rvm/gems/ruby-1.8.7-p299/gems/activerecord-3.0.0.rc/lib/ active_record/locale/en.yml", "/Users/smath/.rvm/gems/ruby-1.8.7-p299/ gems/actionpack-3.0.0.r...
2006 Aug 03
5
Database configuration across developers!
Hi, I have what might be a silly question but is there any way to put some of the database configuration information into a separate file? For instance, in config/database.yml I have: developer_database: &developer_database adapter: mysql username: me password: something host: 127.0.0.1 development: <<: *developer_database database: foobar_development test: <<: *developer_database database: foobar_test This was done so that the databas...
2006 Jul 21
3
Plain text passwords in database.yml
Hi All, It is our corporate security policy to not leave plain text passwords in text files (such as database.yml). I would like to to roll out a Rails application, but would like to find another way to connect to MySQL without leaving plain text passwords in database.yml Any thoughts? Thanks, Brian Long
2008 Feb 18
5
uh... fixtures?
RSpec-ers: I''m aware this is quite the FAQ. I have probably asked it myself, but I just can''t Google up anything but others asking it. I grabbed the source to Beast, to use as a Rails project uninfluenced by me, or RSpec. Then I installed the CURRENT version of RSpec and rspec_on_rails, and set up a model spec on Post. Here''s the spec_helper.rb lines:
2007 Feb 12
1
-c switch in the startup command
I have been strugging with getting backgroundrb to stay in the correct environment using multiple configuration files and the -c switch when starting backgroundrb. If I start brb like this: ./script/backgroundrb run RAILS_ENV=development -- -c ../config/development_background.yml where development_background.yml specifies "development" for rails_env and environment, the first worker created does, in fact, use the development environment. But on the second request, the configuration details from backgroundrb.yml are used, causing the worker to be erroneously led t...
2006 Jul 19
2
best practice deployment
what is the best method to deploy from a development machine to production when you need slightly different files for each mode do you use TWO files such as db.yml.dev and db.yml.prod and use capistrano to deploy one or the other to database.yml or is it better to have one file and use conditions in your file such as <% if ENV[''RAILS_ENV''] = "production" %> host: db.host.com <%else%> host: localhost:1234 <%e...
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
...using Capistrano and so far I''m impressed. Even in my situation, learning Rails and deploying to a single server, it''s incredibly helpful. I do have one small question though: In using Subversion I''ve used the "ignore" feature to ignore my local database.yml file, because my local database and my live one have different names. What should I do to accommodate this in Capistrano? When I use Capistrano to deploy, the correct database.yml isn''t put into place where it should be. I''m not sure where to begin to fix this situation. Th...
2023 Mar 01
2
[nbdkit PATCH 0/5] ci: Get to green status on FreeBSD and MacOS
...ci/-/merge_requests/360 > > Eric Blake (5): > ci: Expose more env vars needed by build.sh > ci: Another attempt at MacOS > rust: Skip CI builds on MacOS > golang: Skip CI builds on MacOS and newer FreeBSD > perl: Skip CI builds on newer FreeBSD > > .gitlab-ci.yml | 3 +++ > ci/cirrus/build.yml | 3 +++ > ci/cirrus/macos-12.vars | 4 ++-- > ci/gitlab.yml | 7 +++++++ > ci/gitlab/build-templates.yml | 31 ++++++++++++++++++++++++++++++- > ci/gitlab/builds.yml | 11 ++++++++--- > ci/...
2006 Mar 31
1
rails + svn automation script
...trunk directory 2. Creates a trunk/vendor directory 3. Adds the above to svn 4. Modifies trunk/vendor to use a certain rails revision (i.e. trunk or 1.1) 5. Runs trunk/vendor/rails/.../bin/rails to generate a rails directory skeleton 6. Modifies the svn:ignore for the logs and config/database.yml 7. Moves config/database.yml to config/database.yml.sample 8. Adds a script/reload_everything.sh.sample script to scripts/ that 8a. Drops the dev and test database 8b. Reloads the dev and test database 8c. Performs migration on the dev and test database 8d. Runs rake load_fixtures...
2006 Oct 16
3
backgroundrb.yml not generated
I''m trying to do the tutorial at http://www.infoq.com/articles/BackgrounDRb. A little more than half-way through it says "Upon instalation, the plugin writes a config file into RAILS_ROOT/config/backgroundrb.yml." It didn''t happen for me. I installed the plugin with: ruby script\plugin install svn:\\rubyforge.org//var/svn/backgroundrb It added a bunch of files, but not backgroundrb.yml. Any idea what I might have done wrong? Thanks, Bill -------------- next part -------------- An HTML...
2006 Sep 15
2
unable to figure out how to get backgroundrb.yml to be used when starting backgroundrb
i ran rake backgroundrb:setup and modified the default config/backgroundrb.yml file as: --- port: "22223" timer_sleep: 60 load_rails: true environment: production host: localhost database_yml: config/database.yml acl: deny: all allow: localhost 127.0.0.1 order: deny,allow and my database.yml production: adapter: mysql database: chip2_production userna...
2006 Apr 26
3
problem with database.yml moving from 0.13.0 to 0.14.4
Hi, I''m upgrading from 0.13.0 to 0.14.4, and I''m having trouble with my database authentication. Even though the entries in my database.yml are correct, I get the following message when trying to do a ruby script/generate scaffold myClass... Access denied for user: ''@localhost to database '''' Why is the username and database name showing up as blank? Like I said, I''ve checked my enteries in databa...
2006 Mar 09
6
svn and ruby structure
...ust set up svn and did a checkout. When I set up the repository, I did an import of the entire base directory of the rails application which was great because it allowed me to do a checkout on to my computer with everything. Of course, now on my home computer, I''ve got a changed database.yml and environment.rb and the log files (because I''ve been running a copy on my home system), and I would suspect that I really only want app and public directories (though the doc and plugins would be nice to manage with svn). I am not at all familiar with svn. I''ve changed some vi...
2023 Mar 01
1
[nbdkit PATCH 0/5] ci: Get to green status on FreeBSD and MacOS
...Eric Blake (5): > > ci: Expose more env vars needed by build.sh > > ci: Another attempt at MacOS > > rust: Skip CI builds on MacOS > > golang: Skip CI builds on MacOS and newer FreeBSD > > perl: Skip CI builds on newer FreeBSD > > > > .gitlab-ci.yml | 3 +++ > > ci/cirrus/build.yml | 3 +++ > > ci/cirrus/macos-12.vars | 4 ++-- > > ci/gitlab.yml | 7 +++++++ > > ci/gitlab/build-templates.yml | 31 ++++++++++++++++++++++++++++++- > > ci/gitlab/builds.yml |...
2009 Oct 12
2
yaml ?nodes? or nested maps
...from user.rb:5 thufir@ARRAKIS:~/projects/rss$ thufir@ARRAKIS:~/projects/rss$ ruby user2.rb user2.rb:5: undefined method `[]'' for nil:NilClass (NoMethodError) thufir@ARRAKIS:~/projects/rss$ thufir@ARRAKIS:~/projects/rss$ nl user.rb 1 require ''yaml'' 2 yml = YAML::load(File.open(''user.yml'')) 3 yml.each_key { |key| 4 username = yml[key][''user''] 5 password = yml[key][''pass''] 6 puts "#{username} => #{password}" 7 } thufir@ARRAKIS:~/projects/...
2007 Jan 19
5
Merb Init Script
I''m trying to emulate the mongrel_cluster_ctl but it takes a -c conf_file option... meaning I can run it from anywhere as long as I tell it where the conf file is. Merb doesn''t have that capability does it? (it has an additional/supplemental config like mup.conf etc) Do I have to be under the merb_app root /path/to/merb/app/ to be able to run merb? Let me know. Thanks,