0
votes
0answers
831 views

rvm use responding with Unknown ruby interpreter version (do not know how to handle):

I have a number of Rails apps that I've inherited that use different Ruby versions. To make life easier I'm trying to use rvm. Whenever I fire off the rvm use command inside any of the directories I'm ...
0
votes
0answers
284 views

Removing or Uninstalling Ruby, Rails, and/or Gems from Mac OS X 10.9.4

I had some health issues and was away from my iMac for about 6-8 months. I’m not exactly sure which version of OS X was running when I stopped using it, but I had just installed Rails and was about ...
0
votes
1answer
52 views

Which version of rails should I install with ruby 2.0.0 installed?

Hi I am building a ROR development environment on a new computer with windows 7, now I have Ruby version 2.0.0 and Gems version 2.2.2 installed. Which version of Rails should I install? I saw ...
-1
votes
2answers
26 views

Find particular file in particular directory

I want to find the particular file name in particular directory in ruby. I tried the following Dir.glob() file = Dir.glob("/home/prakash/Desktop/*.uploaded") output: ...
0
votes
1answer
165 views

What should I make out of this message?

I am trying to set up the Ruby on Rails on my Mac OS X Maverick just to check whether I have Rails installed I typed rails --version and I got this as response ...
1
vote
0answers
198 views

All rails application logs being written to apache error log

I've deployed a ruby on rails 4.0.3 application to a server that I've configured with the following likely relevant software: Ubuntu 12.04.4 x64 server Phusion Passenger 4.0.37 Apache 2.2.22 Ruby ...
0
votes
0answers
214 views

Opening a file in Aptana Studio 3 from command line

I am learning Ruby on Rails using Michael Hartl's railstutorials webcasts. He opens files from command line using Textmate. How can we open a file from command line using Aptana Studio? What is the ...
0
votes
1answer
46 views

Multiple web apps on a laptop friendly way

I have a large collection of mini web apps written in Rails and Sinatra which I constantly use. My objective is to host them in a laptop friendly way. Most of deployment articles I have seen are ...
0
votes
0answers
50 views

After Reinstall of Rails, Cannot Run `rails server`

On my main dev computer, I had had ruby installed from a ppa. I decided to reinstall it with rvm for consistency between computers. To uninstall my current environment, I ran sudo apt-get remove ...
1
vote
3answers
335 views

How to install rvm as user jenkins?

I am following these steps to setup a Jenkins server on an Ubuntu EC2 instance. Everything is fine until I get to this step: As you can see (at the end of the output) I am being asked for the ...
1
vote
0answers
70 views

How to Properly Use a Cloned Rails Project

Recently, I set up a new dev machine. To get it to seamlessly work with my other machine, I used Git to put my project on BitBucket. Then, I cloned it to my new machine. However, running rails s on ...
0
votes
0answers
198 views

Can't install pg gem on mac os x Lion

Im using Mac OS X 10.7.4 Trying to install pg gem to work with PostgreSQL. Typing: sudo gem install pg Got This answer: Building native extensions. This could take a while... ERROR: Error ...
-1
votes
1answer
219 views

How to use each in rails to display values of an array [closed]

I have a @keyword variable which holds the string "cat dog mouse bird" I want to display the values of each word under a span element. My algorithm looks like <%= @keyword.split.each {|key| ...
0
votes
1answer
239 views

How can I programmatically register a file with Redmine?

I'd like to add a file to a Redmine server without going through the graphical interface. I'm making the files available to the Redmine server by a separate svn checkout process, so I just need to be ...
6
votes
2answers
4k views

Install rails on Mac OS X

I try to install Rails on Mac OS X. I already installed ruby. $ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2] I check whether Rails is installed: $ rails -v Rails is ...
1
vote
0answers
184 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
3answers
750 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
0answers
301 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
110 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 ...
1
vote
2answers
476 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
253 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 ...
2
votes
1answer
586 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 ...
1
vote
3answers
1k 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 ?
1
vote
1answer
129 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 ...
1
vote
0answers
160 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
2answers
1k 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
2answers
194 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
170 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 ...
0
votes
1answer
302 views

why doesn't “which ruby” output anything?

I'm using Debian 6. I uninstalled ruby1.8, and then I installed ruby1.9.1. If I type "which ruby" at the command line, it doesn't output anything. It seems like it doesn't recognize it.
1
vote
1answer
946 views

Redmine installation issues rake command issue, MySQL database issue?

I have somewhat of a complex issue involving several different programs including redmine, MySQL, Ruby, Ruby on Rails etc. This is on Windows XP. I am following the redmine instructions here: ...
1
vote
1answer
120 views

Upgrading Rails Dev Unit from Snow Leopard to Lion

Should I take any considerations for my Rails 3.0/3.1, Ruby 1.9.2 development machine running OS X 10.6 Snow Leopard before upgrading to OS X 10.7 Lion? Will there be anything that I need to ...
3
votes
3answers
1k views

Where can I find the rails executable in Debian?

I am having a problem with my installation of Ruby/Rails on Debian. I've installed Ruby 1.9.1(1.9.2) using the package manager and I've created links to ruby1.9.1 and whatnot to allow me to use the ...
3
votes
1answer
704 views

How to set the default language in Notepad++ for Rails View files

Similar question to this but my question goes a step further. I'm developing in rails and would like Notepad++ to automatically use html formatting on files with the extension html.erb. For example ...
14
votes
2answers
12k views

How to install the latest version of Ruby and Ruby on Rails in Ubuntu?

I installed Ruby with the command apt-get install ruby1.9.1, but when I enter ruby in the console, nothing happens. I have to use the command ruby1.9.1-v ruby 1.9.2p0 (2010-08-18 revision 29036) ...
1
vote
3answers
1k views

Mainstream Linux on 1GB HDD

I've decided to start learning Linux + Ruby + RoR (Ruby on Rails). The problem is the only personal computer I have is a laptop with 1GB flash card and I can't afford to buy more hardware right now. ...
0
votes
3answers
4k views

How to install Ruby 1.9.2 and Rails 3 on Ubuntu 10.10?

I have gone through a lot of blogs and tutorials (including Beginning Rails 3) and now I have a messed up Ubuntu (It runs on VMWare) that I do not like it. Main problem is that based on Beginning ...
5
votes
2answers
3k views

Readline problems installing Ruby with RVM

I'm struggling with rvm. This isn't the first time I've installed rvm, and it isn't the first time I've had problems with it, but this problem is proving to be a right pain; and all of the articles ...
9
votes
2answers
892 views

Install packages through apt-get or gem?

If a package is available both through apt-get and gem, which one should I choose? I'm on Ubuntu and I don't know if I should install rake through apt-get or gem. I use both apt-get and gem packages ...
2
votes
5answers
681 views

Ubuntu desktop through pen drive for rails development

I am window user and .net web developer. I am trying hands in ruby and "ruby on rails". Everybody suggests me to use OSx or Linux. Can i install Ubuntu on "pen drive" and use as development machine ...
1
vote
4answers
5k views

Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare

Update #3: Starting over from scratch, shortened this post, decided to re-install a clean copy of Ubuntu 10.04 on a VM and go through the walk-through again. So, all the steps go without a hitch. As ...
0
votes
3answers
4k views

How to install/update Ruby on Rails on Ubuntu 9.10?

I'm running Ubuntu 9.10. I am getting started with ruby on rails development and would like to make sure my system is up to date. This is what I've found out so far: $ which ruby /usr/bin/ruby $ ...