Tagged Questions
1
vote
0answers
317 views
Ubuntu, ruby 2, rails 4
I'm trying to setup a server, which has Ubuntu 10.04 LTS, Ruby 2.0.0-p0 and Rails 4 beta1. I can get everything installed but rails 4 has a slight error and I'd like to get someones opinion. When I do ...
0
votes
1answer
105 views
Redmine (RoR rack app) on uWSGI forgets sessions when ran with more than one process
When I log into redmine it forgets that I was logged after first click on any link or immediately after the login redirect. After I refresh the page a few times, I am still logged in in some of this ...
0
votes
1answer
38 views
Gitorious - ActionController::UnknownHttpMethod when logging in?
I'm going to install Gitorious as a slave server for failover purpose follow this blog post.
gitorious.conf
NameVirtualHost *:81
<VirtualHost *:81>
ServerName gitorious.domain.com
...
0
votes
1answer
117 views
Trouble installing Redmine on CentOS 6.2 - undefined method db for main:object
I am trying to install RedMine on CentOS 6.2 but I am running into difficulties when I try to access the site. Using this guide, I have configured the following in environment.rb:
# Load the rails ...
0
votes
1answer
38 views
Completely Remove All Ruby Gems
I am trying to completely remove my Ruby & Rails installation.
After uninstalling ruby with apt-get remove ruby1.9.1 I see that all the ruby stuff (ruby,rake,irb) from /usr/bin was removed but ...
0
votes
0answers
75 views
Rails Deployment: Phusion passenger problems
I'm using the following for my rails app.
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
Rails 3.0.5
Phusion Passenger version 3.0.5
The app sits in a 4GB RAM linux box. I recently ...
-2
votes
1answer
231 views
shift a localhost site from webrick localhost:3000 to apache2 passenger localhost/redmine or redmine.localhost [closed]
I have installed application called REDMINE on my localhost, using ruby on rails. It is accessible webrick script through localhost:3000, on my PC. Now I want to shift to apache2 passenger, I tried ...
0
votes
2answers
291 views
How should secret files be pushed to an EC2 (on AWS) Ruby on Rails application?
How should secret files be pushed to an EC2 Ruby on Rails application using amazon web services with their elastic beanstalk?
I add the files to a git repository, and I push to github, but I want to ...
-1
votes
2answers
88 views
rvm doesn't install in centos without root privileges [closed]
I trying to install RVM using deployer user that doesn't had root privileges ant I getting this error:
bash: line 439: ./scripts/install: Permission denied
Any help? Thank you!
1
vote
0answers
226 views
How to install libv8 using a specific version of g++? [closed]
I'm trying to install therubyracer gem for a rails project - http://stackoverflow.com/questions/13793533/unable-to-install-therubyracer-on-centos-errors-with-v8-and-gcc and i'm thinking that now that ...
0
votes
1answer
418 views
Error installing new rails version. Failed to build gem native extension
I am trying to build my first ruby on rails app using the following guide (http://ruby.railstutorial.org/chapters/a-demo-app#code-demo_gemfile_sqlite_version_redux) and have run into a few obstacles. ...
0
votes
0answers
29 views
Two threads in a rails initializer file seems to not run them properly
Initially I was using one thread to listen a queue from amazon and works perfectly.
aws.rb
Thread.new do
queue1 = AWS::SQS::Queue.new(SQSADDR['my_queue'])
queue1.poll do |msg|
...
...
1
vote
2answers
143 views
Monit and Thin and Unfound Gems
I've been using Monit to monitor my Thin server and everything was working until I upgraded my Rails version from 2.3.4 to 2.3.14. Now when I try and start Thin using monit it gives me an unfound gem ...
1
vote
2answers
76 views
Ruby Application Webroot Location
I have inherited a ruby application at work and I am fairly new to ruby hosting environments. The application is hosted on a linux server but I am unable to find where the webroot is.
I have looked ...
0
votes
1answer
191 views
Host multiple Rack apps on one server with multiple ports (using Apache and Passenger)
I've search online and been reading documentation for Apache, Passenger, Rack, etc, but have yet to find a solution to my problem.
I have several Rack (ruby)-based apps, located in
...
0
votes
2answers
164 views
Skipping a “Press certain key to continue” in a bash script
I'm installing RVM for Ruby with the following command: curl -L https://get.rvm.io | sudo su myuser -c "bash -s stable --rails"
I specifically need it to be installed under that user - and it will ...
0
votes
1answer
96 views
securing a ruby on rails installation
I successfully used this tutorial: http://techbot.me/2010/08/deployment-recipes-deploying-monitoring-and-securing-your-rails-application-to-a-clean-ubuntu-10-04-install-using-nginx-and-unicorn/ for ...
1
vote
0answers
143 views
Tuning Ruby + Rails + Nginx + Passenger [closed]
I have an app that is responding pretty slowly. Most of the response time is Ruby, (800 ms per request!) however the load on the server is pretty low. It's a VPS with 4 cores and 4 gigs of ram, and ...
0
votes
1answer
354 views
Rails app deployment challenge, not finding database table in production.log
I'm trying to setup PasswordPusher as my first ruby app ever. Building and running the webrick server as instructed in README works fine.
It was only when I tried to add Apache ProxyPass and ...
1
vote
1answer
514 views
Configuring Nginx, Thin and Rails. Can access static pages but not dynamic
I have set up nginx (nginx.conf below) and thin. Both nginx and thin (2 servers) are running (I have checked they are running). I can access a static page in the rails public directory such as ...
0
votes
1answer
38 views
Running application from a different directory
I currently have Redmine setup in /usr/share/redmine and I would like to keep /usr read only. I want to be able to run the application out of /srv/redmine. I am using the debian package. The location ...
0
votes
1answer
233 views
Nginx - Passenger - Rails 3.2 not responding
I am struggeling to get my rails 3.2 app running on a nginx - passenger - ruby 1.9.3 setup.
here is what I already did:
installed passenger gem
installed rvmsudo passenger-install-nginx-module
I ...
4
votes
2answers
168 views
maintenance/installation of ruby gems/ruby on rails on Linux in general and Gentoo
I am currently looking into Ruby/Ruby on Rails as an alternative to Python/Django. My main problem is that it is rather unclear what the best practices are when it comes to installing Ruby gems and/or ...
0
votes
1answer
99 views
Rails on Dreamhost dedicated alongside existing PHP apps
I'm a developer, and don't have much administration experience. The client wants to host a Rails 3.2 app on his Dreamhost dedicated server (running Debian) which already hosts a bunch of other sites ...
0
votes
1answer
107 views
How do I connect to MSSQL server from Linux
I need a read-only access to a MSSQL server from a Linux box (more precisely, from a Heroku Cedar stack via Rails). Is it doable?
0
votes
0answers
164 views
Rails app running on JRuby & Trinidad / Tomcat hangs on first request after being idle
We have a RoR 3.2 app running on JRuby 1.6.6 hosted inside Tomcat via Trinidad.
I've been trying to figure out for the last couple of days why every so often we would get complaints of it hanging.
...
1
vote
1answer
326 views
Ruby Enter Your Password to Create App
I have just installed ruby on rails on a Centos server with directadmin following http://blog.ilwilliams.net/installing-rails-3-with-apache-on-centos/
I'm now in a non privileged user account ...
0
votes
1answer
520 views
memory tuning with rails/unicorn running on ubuntu
I am running unicorn on Ubuntu 11, Rails 3.0, and Ruby 1.8.7.
It is an 8 core ec2 box, and I am running 15 workers. CPU never seems to get pinned, and I seem to be handling requests pretty nicely.
...
0
votes
1answer
135 views
Ruby Passeger + Nginx or lighthttpi + fgci for shared hosting
I have set up a passenger + nginx setup and I plan to offer a free non-commercial hosting (or in fact on the fly deployment) for rack-based frameworks (e.g. camping, sinatra).
I am facing an "issue" ...
1
vote
1answer
347 views
How to make uploading large (more than 1MB) files work with nginx, rails and uploadify
I have problem with my production nginx configuration (on my development machine with mongrel everything works). My environment is: nginx as proxy, rainbows as backend running rails 3.1 application ...
0
votes
1answer
350 views
Mysterious Ruby processes on Rails server
I'm trying to chase a bug on a Rails site and I've noticed that there are recurring Ruby processes which are hogging CPU and won't go away. I'd like to suss out what's starting them and how to either ...
2
votes
1answer
270 views
Separate server for Resque workers
I'm trying to segment a few servers for a Rails project and part of that is entertaining the idea of isolating Resque workers to their own box. I already have Redis broken out, but is it common to ...
1
vote
2answers
972 views
Syntax error when starting Rails server, RVM could be the issue?
I am getting the following error when trying to start my Rails application in production for the first time:
/var/www/railsapp/config/initializers/session_store.rb:3: syntax error, unexpected ':', ...
0
votes
2answers
251 views
Apache Passenger displaying my Rails application contents?
I have installed mod_rails (phusion passenger) for Apache on Ubuntu 11.10. Ruby and Rails are running fine, and so does mod_rails.
I have setup a site on dev.localhost, which is my ruby app. The app ...
2
votes
1answer
654 views
gem environment and $GEM_PATH not updating when using rvm
I'm trying to upgrade ruby and rails gem on a server with cPanel, to do this I installed rvm and I successfully installed different versions of ruby... great stuff!
Having a problem though, the ...
2
votes
2answers
208 views
Is removing ~/.rvm/ all I needed to perform a clean re-install
I have installed ruby and gems under ~/.rvm/, now I want to re-install all the stuffs agaain.
Are there any modifications/links live outside of this folder? So, by just removing the folder ~/.rvm/ is ...
0
votes
1answer
136 views
ruby or rvm ruby in Production web server
Currently our production server runs in system ruby. Passenger handles our rails apps.
Should I move to handling my entire ruby stuff using rvm? What advantage can rvm give me in a production ...
3
votes
2answers
2k views
Using Upstart to manage Unicorn w/ rbenv + bundler binstubs w/ ruby-local-exec shebang
Alright, this is melting my brain. It might have something to do with the fact that I don't understand Upstart as well as I should. Sorry in advance for the long question.
I'm trying to use Upstart ...
0
votes
1answer
791 views
Cron not able to find correct versions of ruby and bundler gem
I have cron running for rails application on EC2 instance, but it fails with error -
/bin/bash: bundle: command not found
if I run bundle command with ubuntu user or sudo user that works.
I have ...
0
votes
1answer
154 views
Which Ruby server for an app with lots of file uploads?
I'm currently building an application that will handle quite a lot of file uploads (images, so a few MB each). It'll also be handling mostly JSON requests on the frontend, behind a Javascript ...
0
votes
1answer
809 views
puppet dashboard fails to start
So here's the situation. I'm running Puppet on CentOS 5.7 64-bit, and on the puppet master I also have puppet-dashboard, however when I try to start it, I see the following:
[root@puptest-master ...
0
votes
1answer
396 views
Ruby/Passenger stops working after update to OpenSSL
Someone has run a yum update on the CentOS box (Linux 2.6.28.1-xxxx-std-ipv4-32 #2 SMP Fri Jan 30 09:55:02 UTC 2009 i686 i686 i386 GNU/Linux) that runs a Ruby on Rails app (Redmine) served with ...
0
votes
1answer
320 views
Monitoring queue depth of resque/resque-scheduler
I'm looking for a way to monitor the "queue depth" of my resque and resque-scheduler redis instances. Currently I am using god to ensure the resque and resque-scheduler tasks are running, and I use ...
2
votes
1answer
193 views
Preferred way to install Ruby/Rake for all users
We have a few different servers setup to handle our flagship product. We have a development server, a demo/staging server, and a production server. All of these run on some variant of Debian or ...
0
votes
1answer
280 views
point domain to heroku app in cpanel
I have a cPanel server and my own nameservers and an app running at heroku.
What I want is to use my cPanel account for mail and point my 'www' to APPNAME.heroku.com
I've figured out that this can be ...
2
votes
1answer
1k views
ActiveAdmin User management
I am new to Ruby on Rails. I am using ActiveAdmin for administration purposes.
I have Googled a lot about "how to manage admin users" for example, changing default username password from ...
0
votes
1answer
105 views
Hosting for a Ruby on Rails application [closed]
I am a Ruby on Rails developer and I am planning to purchase an hosting space in order to publish my web application (I'm developing a small Social Network). This is my first time that I try to deploy ...
1
vote
4answers
886 views
How to install Ruby on a Linode server?
As the title says, what's the best way to install Ruby and then Ruby on Rails on a Linode server?
1
vote
1answer
173 views
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.
...
0
votes
2answers
147 views
Do I need to install nginx during the passenger installation
I am trying to install Passenger for Nginx:
$ gem install passenger
$ passenger-install-nginx-module
During the installation Passenger want to compile and install Nginx. Is it necessary step?
I ...