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
3 answers

Using gcc instead of SUNWspro cc in ruby mkmf for yajl on Solaris 10

How do I get mkmf to use gcc instead of /opt/SUNWspro/bin/cc on Solaris 10? I am trying to install chef using gem install chef. It is failing with: Building native extensions. This could take a while... ERROR: Error installing chef: ERROR:…
Sarge
  • 189
  • 2
  • 8
1
vote
1 answer

How do I install Rake (Ruby on Rails)?

I want to install Ruby on Rails (I'm running a FreeBSD but don't want to use Ports for RoR) so this is a more generic unix/RoR question. Simply what is the best way to install Rake. http://rake.rubyforge.org/ suggests: % ruby install.rb or gem…
Gazzer
  • 185
  • 1
  • 2
  • 9
1
vote
0 answers

Rails could not find gem

So if I try to start my server I get the error Could not find abstract-1.0.0 in any of the sources Try running bundle install. I run that and I get Using abstract (1.0.0) I also have the gem listed in my GemFile Furthermore running a bundle show…
zhyfer
  • 111
  • 2
1
vote
1 answer

When you have a server and don't use RVM, do you sudo gem install or just gem install?

When you set up a Linux server with Ruby on Rails on it, and you're not using RVM, is the best practice to sudo gem install [gem] or gem install [gem]. I'm using the second approach, and storing my gems in a user ~/.gems directory and just having…
dan
  • 847
  • 2
  • 9
  • 11
1
vote
1 answer

Why no one seems to use FreeBSD to host Rails app?

I'm moving this thread previous adressed to stackoverflow. (Original Thread) We use FreeBSD 8.2, Rails 3.0.7, postgresql 8.3, passenger and nginx for our production servers. (More Infos) We seems to have a odd configuration because no one seems to…
Hartator
  • 135
  • 5
1
vote
1 answer

Centos+Apache+Phusion+REE=FAIL

I have been trying to get Phusion Passenger running on 5.6 for the last couple of days with no luck. Initially, I started with Ruby 1.9.2 under RVM since the default Ruby on RHEL-based distros is quite old. I got everything installed OK but ran into…
Blu Dragon
  • 113
  • 5
1
vote
1 answer

-bash: /usr/bin/ruby: No such file or directory

I have installed ruby 1.9.2 on my centos server as per this tutorial - http://blog.jeffcosta.com/2010/09/10/7-steps-to-rails-on-centos/ It says that it should be installed to the following…
jaz9090
  • 111
  • 1
  • 4
1
vote
1 answer

Using UNIX sockets with nginx

I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers (http://code.macournoyer.com/thin/). I've read many blog posts about using UNIX sockets and not TCP connections, my only doubt is about…
ngw
  • 1,261
  • 3
  • 13
  • 15
1
vote
2 answers

Installing sqlite gem fails on AWS Linux instance with sqlite-devel libraries installed

I'm running an instance built off ami-595a0a1c. I am trying to install the sqlite3 (or sqlite) gem and it's failing with the below error: $ sudo gem install sqlite3 Building native extensions. This could take a while... ERROR: Error installing…
Scott
  • 11
  • 1
  • 3
1
vote
1 answer

Troubles installing/starting Redis via Resque

Trying to complete instructions for Resque/Redis installation here: https://github.com/defunkt/resque/blob/master/README.markdown Am stuck at where I'm trying to start up Redis via Resque at the following command: Craig:/usr/local/src/resque$ rake…
1
vote
1 answer

Install Ruby gems via gems or using apt-get on Debian

I would like to install gitorious on my Debian squeeze server. For doing so I have to install some gems like the ruby database driver for MySQL. I have the choice of using a Debian package and install it via apt-get or use gem to install it. To make…
GorillaPatch
  • 487
  • 3
  • 9
  • 19
1
vote
2 answers

Sending email with exim and external sender address

I want to send emails with an rails webapp. I set up an exim server and when looking into the logs, the sending works, but the emails aren't sent really. I had the same problem with another ISP. The sender address is hosted on another mailserver,…
trnc
  • 688
  • 1
  • 12
  • 31
1
vote
2 answers

Ruby + ImageMagick = RMagick on CentOs

cat /etc/issue CentOS release 5.5 (Final) uname -r 2.6.18-194.11.1.el5 Can't install RMagick 2.13.0. Can't find Magick-config In the log I have found: Can't install RMagick 2.13.0. Can't find Magick-config in ... How I can install RMagick on…
astropanic
  • 307
  • 2
  • 5
  • 18
1
vote
1 answer

Puppet keeps trying to install mongrel

I'm using Puppet to administrate my servers and one of the things I'm doing is installing Mongrel from the Gem: package { mongrel: provider => gem, ensure => latest, require => Package[rubygems], } but it seems there's some issue because…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
1
vote
2 answers

Passenger + Nginx => 502 Bad Gateway

I'm trying to run a relatively simple rails app (http:// www.enkiblog.com/) and it kinda works. The comments and the admin interface only work when I use "script/ server -e production" and connect to Port 3000 (still in production mode…
rb2k
  • 153
  • 1
  • 7