Questions tagged [ruby-on-rails]

Ruby on Rails is an open-source, MVC web development framework written in Ruby, optimized for programmer happiness and maintaining sustainable productivity. Many things are defined by convention, freeing you from having to re-invent things to stay productive.

Ruby on Rails is an open-source web framework that's optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration.

911 questions
6
votes
1 answer

Does rails 4 asset_path helper uses asset.prefix?

I configured my rails app to use a different asset prefix, by editing the file conf/application.rb. +config.assets.prefix = '/wrapper/thing' It works for asset pipeline but when I try to use it on my view. <%= asset_path('milk.png') %> It still…
4
votes
1 answer

Copy ferret index to other servers?

I've inherited a legacy rails application that I recently moved wholesale to AWS. Part of the infrastructure is a ferret index that exists on each of the ten backend application servers that build subscriber email every night. We have a large…
anastrophe
  • 5,548
3
votes
0 answers

Should i run Rails behind Apache/nginx?

I am slowly approaching deployment of a company internal Rails application, and am trying to find out whether i should be running the application server behind Apache/nginx in production. Currently thin is being used as the Application server, but…
Vesther
  • 31
1
vote
0 answers

Why does nginx+passenger not find some gems?

Why does nginx+passenger fail to start and print this into error.log? Could not find addressable-2.3.6 in any of the sources (Bundler::GemNotFound) /usr/local/share/gems/gems/bundler-1.7.8/lib/bundler/spec_set.rb:92... My RoR app is installed in…
Kevin
  • 215
1
vote
3 answers

installing Rails on Centos server

I am tryng to install ruby on rails in centos server on AWS. I can't install rails on the server. It is giving some error. Here is what I am getting while installing rails. #gem install rails ERROR: Error installing rails: gzip error…
ArunS
  • 315
0
votes
0 answers

Installing Discourse, after creating admin the website turns blank

While installing Discourse from source I successfully got to the point of displaying my site. After adding admin with “RAILS_ENV=production bundle exec rake user:create” the website went blank, white screen. Does anyone know how to fix this? There…
0
votes
1 answer

Unable to push recent changes to old ruby website on heroku

To be honest, I am not a ruby developer. I am working on certain fixes on a ruby website. It's hosted on Heroku server. The changes I have made doesn't involve adding or removing any gem but only functionality changes. I am not able to push my…
0
votes
1 answer

Problem starting a RubyonRails application on Media Temple

I am having a problem with starting a Ruby On Rails application. When I type mtr start It will take a long time and fail with the following message: Error Executing Command. But the status of the application will show as…
Goro
  • 674
0
votes
1 answer

execjs error when running Ruby on Rails for the first time - "bundle install" and "rake about" show no issues as far as I see

I have recently installed Ruby on Rails on my Centos server as practice for installing in a production environment. In my Gemfile I have the following uncommented lines: source 'https://rubygems.org' gem 'rails', '4.0.2' gem 'mysql2' gem…
Rumbles
  • 1,014
0
votes
1 answer

rails app moving to new server; cannot serve app

Both servers are CentOS 5.4 with MySQL, Ruby, Rails, Phusion Passenger and Apache. I simply tar'd the original app as it sat in /var/www and untar'd it on the new server at the same loc. I ran rake db:migrate RAILS_ENV=production restarted httpd…
Detritus Maximus
  • 336
  • 2
  • 4
  • 14
0
votes
1 answer

What is the best OS for a server hosting a simple Ruby on Rails based pastebin

I have created a simple pastebin in Ruby on Rails and Python. I want to host it in an intranet and it will have like about 1000 users. I want to use one Apache server with a cluster of Mongrel servers. The server itself is a 2 GHz Intel Centrino…
user42235
0
votes
1 answer

Upgrade Ruby 1.8.6 to Ruby 1.8.7 patch -level 72

When I try to run application server like ruby script/server It says /usr/lib/ruby/1.8/openssl/cipher.rb:22: Cipher is not a module (TypeError). So I followed the steps given in the following link. When I've run the following command: ruby…
palani
-1
votes
1 answer

What are the important differences in these setups for a newbie to manage rails applications

I'm learning Rails development and attempting to learn how to manage a server to host the rails applications I develop. I want to host each of them at distinct domain names. I know that server management is not to be taken lightly (that's an…