Questions tagged [ruby]

Ruby is a general-purpose object-oriented open-source scripting language. It sees a high degree of use in the configuration management space, and is popular for web development due to the high adoption of Ruby On Rails

Ruby is an object oriented programming language that has programmer productivity as one of its design goals. Most people are familiar with it these days as part of Ruby On Rails, a web application framework.

498 questions
1
vote
0 answers

Can't deploy Ruby 2, Rails 4 app to Linode

I have a Rails 4 app and I want to deploy it to my Linode and I'm struggling a lot to get this working. I followed all the basic instructions from the Linode guides, also, installed all the dependencies for my app, configured the database, created a…
rodrigoalves
  • 111
  • 2
1
vote
0 answers

Chef gem_package not using the binary path

I'm trying to install the gems "sensu_plugin" and "mixlib-shellout", on a windows server 2008r2, from a recipe. In this last one, I have the following code : %w{ sensu-plugin mixlib-shellout }.each do |gem_plugin| gem_package gem_plugin do …
Cocotton
  • 111
  • 3
1
vote
1 answer

Reload Puppet gem provider source

So I've got Puppet Enterprise 2.7 on a "master" node, puppetentmaster. While working to craft new recipes for installing Ruby 2.0 on a "client" node, I noticed if I forced the client to begin using gem 2.0 I would run into errors like: err:…
Joe
  • 492
  • 4
  • 15
1
vote
2 answers

Setting up Redmine on Debian with Phusion Passenger, static content doesn't show up

I and some others are setting up Redmine on a Debian server running Apache. Actually, I didn't do the initial setup but I can't get ahold of the guy who did right now so I'm asking here. We are using Phusion Passenger to serve Ruby content (I guess,…
Ibrahim
  • 394
  • 5
  • 12
1
vote
4 answers

Ruby Install on CentOS

I’m trying to install Ruby on Centos-6.4 64-bit as following: mkdir /tmp/ruby && cd /tmp/ruby curl --progress ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz | tar xz cd ruby-2.0.0-p247 ./configure --disable-install-rdoc make sudo make…
MohyedeenN
  • 1,063
  • 1
  • 12
  • 15
1
vote
1 answer

Bootstrap Chef on Vagrant Box

I'm trying to bootstrap a Vagrant box using hosted chef server. knife bootstrap testbed001.me --sudo -x root -N "testbed001" However, the command throws an error: Bootstrapping Chef on testbed001.me testbed001.me…
Ben
  • 253
  • 1
  • 4
  • 13
1
vote
1 answer

Continue Bundler Installation

I'm trying to install Gitorious on Debian Wheezy. gitorious uses bundler for automated installation. When I run "bundle install" (not only when installing gitorious, also redmine for example) I sometimes get errors like: Gem::Ext::BuildError:…
Timo
  • 113
  • 3
1
vote
1 answer

Why can't I run wbadmin from a Ruby script

I can run wbadmin from the command line like this: $ c:\windows\system32\wbadmin.exe -? And it works (I get a proper help message, ellided here). However, when I try it in Ruby (as in this IRB session:) irb(main):001:0>…
Drew Mills
  • 65
  • 1
  • 1
  • 6
1
vote
2 answers

What is lighttpd's version of mod_ruby?

I'm trying to find a mod_ruby for lighttpd, not apache2. Does anyone have any ideas?
chutsu
  • 165
  • 4
1
vote
1 answer

Organize code in Chef: libraries, classes and resources

I am new to both Chef and Ruby and I am implementing some scripts to learn them. Now I am facing the problem of how to organize my code: I have created a class in the library directory and I have used a custom namespace to maintain order. This is a…
ColOfAbRiX
  • 1,080
  • 2
  • 12
  • 23
1
vote
1 answer

Starting command on boot with correct user env vars

I am attempting to create a start-up script that will run this command on boot for my ubuntu 12.04 server: bundle exec thin -R config.ru start -p 3030 When I run it as a regular user it works just fine, the thin web server starts and I can access my…
joshmmo
  • 113
  • 6
1
vote
5 answers

Installing Mysql Ruby gem on 64-bit CentOS

I have a problem installing mysql ruby gem on 64bit CentOS machine. [jacekb@vitaidealn ~]$ uname -a Linux vitaidealn.local 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux Mysql and mysql-devel packages are…
Jacek
1
vote
1 answer

Cannot run grack, passenger occurs error: uninitialized constant GitHttp (NameError)"

I trying to setup web server for publish git repositories on successfully installed and worked redmine server. Passenger occurs error: Web application could not be started uninitialized constant GitHttp (NameError) config.ru:16:in block in…
vskubriev
  • 686
  • 9
  • 15
1
vote
3 answers

Can you install puppet without ruby 1.8?

I need to install puppet 3.2.0 or greater along with ruby 2.0.0-p247 on an ubuntu 12.04 server. Is there no way to install puppet without ruby 1.8? Most my experience comes from CentOS so I may be missing something simple with apt. My setup: Make…
spuder
  • 1,725
  • 3
  • 26
  • 42
1
vote
1 answer

Chef 11 node attributes available and ordering

In Chef 10 I have a number of roles which set custom node attributes like "appname": "my_rails_app" The attribute is then used to load app specific variables in a wrapper cookbook. There are different variables and number of variables for each…
upbeat.linux
  • 275
  • 4
  • 12