5 Replies - 3952 Views - Last Post: 01 November 2012 - 09:48 AM Rate Topic: -----

#1 TNDave  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 01-March 10

Ruby & Rails Issue

Posted 25 October 2012 - 02:59 PM

Good afternoon everyone,

I hope this is the right place to ask this question. I am having issues with Ruby and Rails at the moment. After upgrading my Linux to Ubuntu 12.10 my ruby and rails installation is not working correctly. After downloading several package's which include:

  • Ruby 1.9.3
  • Rails 3.2
  • Ruby Gems
  • Ruby-Railities
  • Bundle


I cannot get a application to generate correctly. Rails will setup the application but rec error message when tryibg to do a bundle install which shows....

/usr/bin/ruby1.9.1: No such file or directory -- /usr/bin/bundle (LoadError)


Them when I install the bundle with "sudo gem install bundle" I get this...

1 gem installed
Installing ri documentation for bundle-0.0.1...
file 'lib' not found
Installing RDoc documentation for bundle-0.0.1...
file 'lib' not found


Then if I try running "bundle Install" I get this...

Could not locate Gemfile


Now I am seeing these files installed on my hard drive in the usr/bin area but still will not work. I even went as far as wiping my whole drive and doing a fresh install of the OS and the programs and still same issue. I asked on the Ubuntu forums but not getting any replies. If anyone can be of assistance I would truly appreciate it.

Many thanks :smile2:

Is This A Good Question/Topic? 1
  • +

Replies To: Ruby & Rails Issue

#2 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon


Reputation: 1379
  • View blog
  • Posts: 3,506
  • Joined: 28-November 09

Re: Ruby & Rails Issue

Posted 25 October 2012 - 03:04 PM

Reinstall Ruby, or remove it using apt-get remove. Try and start clean on your install, and go from there.
Was This Post Helpful? 1
  • +
  • -

#3 TNDave  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 01-March 10

Re: Ruby & Rails Issue

Posted 25 October 2012 - 03:09 PM

View PostLemur, on 25 October 2012 - 05:04 PM, said:

Reinstall Ruby, or remove it using apt-get remove. Try and start clean on your install, and go from there.


Thanks Lemur I will give it a try. I reinstalled the whole OS but I can't hurt to try this as well.
Was This Post Helpful? 0
  • +
  • -

#4 TNDave  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 01-March 10

Re: Ruby & Rails Issue

Posted 26 October 2012 - 11:39 PM

View PostTNDave, on 25 October 2012 - 05:09 PM, said:

View PostLemur, on 25 October 2012 - 05:04 PM, said:

Reinstall Ruby, or remove it using apt-get remove. Try and start clean on your install, and go from there.


Thanks Lemur I will give it a try. I reinstalled the whole OS but I can't hurt to try this as well.


Ok, gave a clean install a try and a little better but still can not find the "bundle" gem still. Any other idea's I can try?
Was This Post Helpful? 0
  • +
  • -

#5 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Ruby & Rails Issue

Posted 31 October 2012 - 10:41 AM

Are you installing using RVM? If not, use it.

https://rvm.io/
Was This Post Helpful? 1
  • +
  • -

#6 TNDave  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 01-March 10

Re: Ruby & Rails Issue

Posted 01 November 2012 - 09:48 AM

View PostSergio Tapia, on 31 October 2012 - 12:41 PM, said:

Are you installing using RVM? If not, use it.

https://rvm.io/


Thank you Sergio, I will give that a try and see if it makes a difference. Never thought about using RVM before. Will report back on how things go :bigsmile:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1