Ruby on Rails is an open-source web development framework 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.
0
votes
0answers
12 views
How do I run WEBrick as an upstart job?
I need to get WEBrick (basically a Rails web server) to work using upstart, but cannot figure out what should I write in script.
The following gives me an error:
chdir /rails-app
exec su -s /bin/sh ...
0
votes
1answer
29 views
Multiple domains pointing to single Rails app on VPS Hosting (Like Shopify)
Asking the same question Multiple domains pointing to single Heroku Rails app via nameservers displaying different content?, but I am on VPS hosting instead of Heroku. I want customers to be able to ...
-1
votes
3answers
33 views
How can I run a Ruby project found on Github?
I want to run a project from github.
Here is the link. I used following command to download the project and it done successfully.
$ git clone git://github.com/cheeyeo/Amazon-SNS-Ruby.git
But I ...
1
vote
1answer
19 views
Rails doesn't work in one directory, but does everywhere else
Terminal output:
(^_^) - (vagrant@ubuntu) - (jobs:0) - (~) - (531)
----> rails
/// Bunch'O Rails stuff, clearly installed ///
(^_^) - (vagrant@ubuntu) - (jobs:0) - (~) - (531)
----> cd -
...
1
vote
0answers
23 views
Remove all Ruby from Ubuntu
I'm trying to start a new project with RadiantCMS, but I'm having lots of problems , because in the server are 2 different Ruby Installations.
the First one , was installed following the next tut:
...
0
votes
1answer
78 views
Vagrant gem install not working
I am new to vagrant and I'm trying to follow a tutorial I found online for setting up an open-source web application. I have installed vagrant successfully. My problem is that when I try to run the ...
0
votes
1answer
40 views
Fix bash_profile to Develop Ruby on Rails Apps
I just installed Ruby and Rails stuff on my machine, and start to learn.
But every time I close the Terminal and re-open it, I have to re-type the command . ~/.bash_profile in order to run Rails ...
0
votes
0answers
51 views
Capistrano or DeployHQ with rails
Now sure where to go with this or where to start. For couple weeks now I have been investigating the Capistrano as well as DeployHQ for pushing through a deployment of WordPress.
Here's the story, my ...
1
vote
1answer
184 views
RubyMine Remote Ruby Interpreter Error
I am trying to access my Ubuntu VM through SSH to use as a remote interpreter for RubyMine v5.0.1. However, whenever I successfully authenticate and point to my ruby location, it does not add the ...
1
vote
3answers
93 views
What's the equivalent of Ubuntu's apt-get command on a Mac
I'm trying to install the Feedzirra gem to do some work with RSS feeds. One documented issue with the installation is the need to install libcurl3-dev to address a common error in the installation ...
1
vote
2answers
60 views
I deleted Ruby.Framework how can I get it back? [duplicate]
Possible Duplicate:
Is it possible to reinstall/fix Mac OS X’s system ruby without doing a complete OS reinstall?
As the title says, I deleted Ruby.Framework how can I get it back? I don't ...
0
votes
1answer
53 views
subl does not open in command line
I am unable to open sublime text from the command line in my mac os.
Here is what I did so far
echo $PATH
My path says ...
2
votes
3answers
93 views
Rails - Installation Error
I had used below mentioned commands to install rails in ubuntu 12.10
sudo apt-get update
sudo apt-get install curl
\curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm ...
0
votes
1answer
99 views
Autotest can't find growl? (Ruby 1.9.3, Rails 3.2.11)
Haven't seen any other errors like this. Autotest is complaining it can't find Growl even though it's installed. Tried uninstalling/reinstalling everything with sudo. Everything is up-to-date. This is ...
0
votes
0answers
58 views
Virtual Box, Windows guest can't reach rails server on OSX host
I've got a Windows guest OS (for testing internet explorer) running under OSX and I am trying to get it to reach a rails server (or any server for that matter) on my host.
I've been unable to ...
0
votes
0answers
71 views
why do cygwin and powershell show different gem lists? [closed]
I used the gem list command in powershell and cygwin and both show different gem lists.
Cygwin shows
*** LOCAL GEMS ***
bundler (1.2.3)
json (1.7.5)
minitest (2.12.1)
rake (0.9.2.2)
rdoc (3.12)
...
0
votes
0answers
42 views
Logging in redmine
I'm trying to install redmine 2.2 on my machine - but I don't get any logs. How do I make this happen?
PS: I have no clue about Rails - I just want to use Redmine.
0
votes
1answer
108 views
How to install Linux on VMware with Windows 7 Premium Host
I have an ASUS laptop with 6 GB RAM, Windows 7 64-Bit m/c. I followed this to install VMware, Linux:
Installing VM (with Ubuntu + RVM + Ruby + Rails) on my Windows 7 system
VMware (which has been ...
0
votes
1answer
33 views
Setting PostgresSQL for my VPS
I am about to deploy my app to a vps for the first time, and running into some issues while configuring my DB.
After running the following commands...
# PostgreSQL
add-apt-repository ...
-1
votes
1answer
113 views
tab complete not working for vim in particular directory - ubuntu 12.04
I am working on a ruby on rails app. All of the sudden the command line tab complete stopped working for vim, only for files though, and only for the vim command (i.e. works for other commands, ls, ...
2
votes
1answer
309 views
(-bash: initdb: command not found) When installing postgres mac
I get the following error (-bash: initdb: command not found) in the terminal when trying to install postgres on my mountain lion mac osx?
Also, does any one have a good resource for installing ...
0
votes
0answers
177 views
Cannot send to channel: #ruby-lang IRC channel on freenode [closed]
I could not send any message to the #ruby-lang or #rubyonrails IRC channels on freenode. Could you help me?
http://webchat.freenode.net/?channels=ruby-lang
...
0
votes
2answers
153 views
How install gem rails for all users in arch-linux
When install rails with
sudo gem install rails
or with root user, this install in $HOME/.gem and only works for actual user, how install for all users in the system ?
0
votes
0answers
18 views
How do I launch rails server from the redcar IDE?
Using the redcar IDE is there a way to quickly launch rails server for the current directory?
0
votes
1answer
258 views
I cannot get pg-0.14.0 gem installed after Mountain Lion install
I have been trying for some time now to get my Rails development environment back up since I upgraded from Lion to Mountain Lion. The problem is specifically installing the pg-0.14.0 (postgresql) gem. ...
1
vote
1answer
86 views
Gemfile template
I'm trying to modify the default gemfile template on debian, and it doesn't seem to be anywhere to be found. Is this found somewhere on the system called "Gemfile" or is it located in another ...
1
vote
0answers
107 views
Plugin migrations for Redmine: place plugin in db/migrate instead of plugin folder [closed]
I'm a newbie in ruby on rails and creating a redmine plugin. I created a model Allissue without using any column. Now I wanted to add a column project_name with the help of migration ./script/generate ...
2
votes
1answer
393 views
Why does Xcode have anything to do with installing Rails?
I replaced a broken logic board on my MacBook Pro and have OS X Snow Leopard reinstalled without XCode.
I installed gems successfully without running into any errors, but when I tried installing ...
1
vote
1answer
88 views
Problems installing rails on Ubuntu 12.04. Rails gems library is empty
I got some problem installing rails on Ubuntu 12.04. I have rails working on my Ubuntu for a little time. But for some reason I uninstall rails. When I decided to install it again with sudo gem ...
0
votes
1answer
91 views
After closing the ssh terminal, the thin server is down
I have a rails project run on the thin server(1.3.1) on a ubuntu server. I ssh to the server and start thin with command 'thin start -C config/thin.yml', following the thin.yml,
port: 3000
log: ...
1
vote
1answer
112 views
Showing Directory Root When Launching Rails App Using Apache2 and Passenger
I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13:
Installed gem Passenger
rvmsudo passenger-install-apache2-module
Added website ...
0
votes
0answers
86 views
What should my Postgres port file look like? [closed]
Firstly apologies if 'port file isn't the correct terminology', but Postgres is not one of my strong points. I'm trying to find out what this port file should look like as it seems to have gone ...
0
votes
1answer
188 views
Fetch _all_remote_specs: undefined method 'list' - Rails on Mac OSx Lion
I'm trying to create a new rails application on my Mac running Lion. I installed Rails using RubyGems. I also went ahead and installed the XCode command line tools. When I attempt to create a new ...
2
votes
1answer
316 views
websites resolving in browser but not resolving in CLI. Can ping IP but not domain name (unknown host)
Hi guys I'm currently developing using rails and for some reason bundle install is returning the following output
Error Bundler::HTTPError during request to dependency API
Fetching full source index ...
-1
votes
1answer
128 views
Web Server for SVN+PHP+Django+Rails [closed]
Foreword: I am not asking for the differences between Nginx and Apache, nor do I want to start a "which one is better discussion.
I would like to ask for help with choosing the most adequate solution ...
0
votes
1answer
134 views
Share local server through a router on a Mac
I've built an application using the Rails framework that was designed for two or three iPads to access through a local network. However, the building I will rent does not have an internet connection ...
0
votes
1answer
727 views
Restarting a Rails Server
What exactly does this command do, in regards to running a Rails server?
~$ sudo touch restart.txt
I thought it restarts the Rails server, but it happens so fast when I run it, that I can hardly ...
1
vote
1answer
179 views
How to make curly braces collapsable in BBEdit (TextWrangler) for ruby on rails code?
So I really like how BBEdit allows you to fold blocks of code. But for Ruby code it doesn't recognize curly braces as a place to insert folds automatically. Is it possible to tweak the preferences in ...
1
vote
0answers
105 views
Redmine using fastcgi [closed]
I am a Software Engineer tasked with installing Redmine on our server. Currently it's running using WebRick from /usr/share/redmine but I would like to:
have it run in /srv/redmine (chroot if ...
1
vote
0answers
303 views
Ruby on Rails fails on Windows 7, report activate error
I used the installer kit on http://www.railsinstaller.org/
and everything went fine. Then followed the instructions to setup a project in c:/sites and that worked. But now every time I run 'rails s' ...
0
votes
1answer
668 views
How can I avoid permission denied errors when attempting to deploy a rails app with capistrano?
Total noob here. I'm attempting to deploy an app through Capistrano. I'm getting relentless permission denied errors when I attempt to run cap deploy:update. Seemingly at least some of these errors ...
1
vote
2answers
534 views
Can a web server and XBMC HTPC co exist happily? [closed]
I have a machine that is currently dedicated to running my home theatre. It is way more powerful than it needs to be, and spec wise would have no problem running both a few websites and an HTPC
What ...
2
votes
1answer
243 views
Accessing my Rails webrick behind proxy?
In my mackbook, when I try to connect to my rails application in office I can't , in the office there are some http proxy , and when I run my rails like this :
sudo rails s -p8080
=> Booting ...
3
votes
2answers
177 views
Why does bash sometimes think my $HOME isn't the correct directory?
Like the title says it seems that bash sometimes misidentifies my $HOME. This cropped up after a seemingly unique series of events that I will now replay in broad strokes.
Running OS X 10.6 with ...
1
vote
2answers
637 views
sublime 2 rails multi line comments key command
when coding ruby in sublime text 2, are their key commands for multi line commentS?
class Myclass
include MyMethods
def instance_method
puts "hi from the instance method"
...
1
vote
1answer
340 views
Virtualbox two networks slow
I am running an Ubuntu server guest on Win 7 guest, and am running a webrick server (RoR dev).
If I have just a host-only network, everything works fine and the browser response is instant. However, ...
0
votes
1answer
204 views
Uninstall / Remove Ruby on Rails server Macbook Pro
Ok, I've looked everywhere for this answer and best I can get is replies like "Why would you ever want to do such a thing". What I want to do is uninstall and completely remove a rails server from my ...
1
vote
1answer
895 views
How to set a gemset as default in RVM?
I'm using RVM in my OS X machine, I use ruby 1.9.2 by default with RVM.
Each time I create a terminal session I have to type "rvm gemset use rails_app", to use my gemset … I would like "rails_app" ...
1
vote
2answers
156 views
How can I update Ruby and Rails on MacOS 10.6?
I just got a Macbook laptop that is running 10.6.3 AKA "Snow Leopard".
I know it comes with Ruby 1.8.7 and Rails 2.3, but I was wondering what the best way is to update those to Ruby 1.9.2 and Rails ...
0
votes
1answer
148 views
Host OS slow to find web brick server running on linux as guest OS in VirtualBox
I am running VirtualBox 4.1.6 on Windows 7 on fairly quick machine with 12G of ram. I have a virtual machine running Ubuntu 11 on which I am doing rails development using ruby 1.9.3 and rails 3. When ...
