0

I need to work with a rails application on Mac OS 10.8 but I am having troubles starting the rails server.

I installed Ruby and I am using version ruby-1.9.2-p320 and I installed rvm and rails. Following the Ruby Getting Started Guide (http://guides.rubyonrails.org/getting_started.html) what I need now is simply navigate into my application folder and run the command:

rails server

but I get this error

git://github.com/archiloque/rest-client.git (at master) is not checked out. Please run `bundle install`

When running the command bundle install I get stuck with the following error

Could not find gem 'rest-client (>= 0) ruby' in git://github.com/archiloque/rest-client.git (at master).
Source does not contain any versions of 'rest-client (>= 0) ruby'

What am I missing?

Strange thing I just noticed is that when running

gem rails install

I am notified that rails has been correctly installed (Successfully installed rails-3.2.13), but when checking its version

rails --version

I receive again the error message

git://github.com/archiloque/rest-client.git (at master) is not checked out. Please run `bundle install`

The content of my Gemfile follows:

source 'https://rubygems.org'

gem 'rails', '3.2.5'
gem 'sqlite3'
gem 'devise', '2.1.2'
gem 'rest-client', :git => 'git://github.com/archiloque/rest-client.git'
gem 'jquery-rails'
gem 'rspec-rails', group: [:test,:development]
gem "paperclip", :git => "git://github.com/thoughtbot/paperclip.git"
gem "rb-readline"

group :assets do
gem 'sass-rails',   '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'twitter-bootstrap-rails'
gem 'uglifier', '>= 1.0.3'
end

group :test do
gem 'debugger'
gem 'factory_girl_rails'
gem 'capybara'
gem 'guard-rspec'
gem 'vcr'
gem 'fakeweb'
gem 'rb-fsevent', :require => false
gem 'guard-rspec'
gem 'growl'
gem 'database_cleaner'
end

group :development do
gem 'capistrano'
gem 'capistrano-ext'
gem 'rvm-capistrano'
end
4
  • If you followed all the steps in that tutorial you can start your server without any problems Commented Apr 12, 2013 at 10:25
  • Then i missed a step somewhere. Do you suggest I uninstall everything before trying to follow the guide again? Commented Apr 12, 2013 at 10:36
  • Can you post the contents of your Gemfile ? Commented Apr 12, 2013 at 11:34
  • Content of the Gemfile added to the question. Commented Apr 12, 2013 at 14:13

1 Answer 1

1

The owner of rest-client moved the repository, see here (https://github.com/archiloque/rest-client).

Use this in your Gemfile gem 'rest-client', :git => 'git://github.com/rest-client/rest-client.git'

Sign up to request clarification or add additional context in comments.

3 Comments

I did not notice that! Thanks! But I keep receiving the error : git://github.com/rest-client/rest-client.git (at master) is not checked out. Please run 'bundle install'. And when I run 'bundle install': Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at bit.ly/bundler-issues. Thanks! ~/.rvm/gems/ruby-2.0.0-p0@global/gems/bundler-1.3.5/lib/bundler/resolver.rb:103:in `new': stack level too deep (SystemStackError)
Did you try the troubleshooting steps from the link you posted? If not, try first removing the lock file rm Gemfile.lock, then run bundle install again.
I tried a few possibilities, but i fairly don't know the one that solved the problem! Now the issue should be solved! Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.