Displaying 20 results from an estimated 40000 matches similar to: "Setting up rails, created a directory, wondering where to install rails"
2011 Apr 12
4
OS X - `require': no such file to load -- sqlite3/sqlite3_native
I''ve searched and search, tried a number of things like unstalling
sqlite3 and reinstalling.  Reinstalling Rails, building sqlite3 from
source, etc.  Nothing seems to work.  When I try to start up my server I
get the following:
MacBook-Pro:splash Ross$ rails server
/Volumes/Macintosh
HD/Users/Ross/rails_projects/splash/json/ruby/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3.rb:6:in
2013 Aug 29
4
linkedin gem
Hi,
I am following this post *
http://www.sitepoint.com/ruby-social-gems-linkedin/*  for using linked gem 
and API for getting profile and other stuff
But at the end I am getting this error:
=> Booting WEBrick
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
2014 Aug 27
0
Could not install Rmagick Gem in rails 4 (Ubuntu 13.04)
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
    /home/anil/.rvm/rubies/ruby-2.0.0-p481/bin/ruby extconf.rb 
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.2. Can't find Magick-config in 
2013 Nov 26
2
'$ rake db:create' don't work!
Hey guys,
 I''m new to learning RoR and I try to do a database with mysql and I
have a problem.
First I create a a folder in my desktop and after with command in the
terminal on Mac Os Mavericks I create a project:
rails new vota_prato -d mysql
after I will try to create a database with this command:
$ rake db:create
and I have this error:
MacBook-Pro-de-Romenig:vota_prato romenig$ rake
2014 May 19
0
Installing rvm on SLES 11 sp3(SUSE Linux Enterprise Server 11)
Hello everyone.
Does anyone had experience of installing rvm for this linux server?
During rvm installation an error pops up that says i dont have the
following libs: sqlite-devel gdbm-devel zlib-devel openssl-devel
ncurses-devel readline-devel. Sudo zypper update says that its already
up to date. When i try to install all of these libs it can't find any of
them. Do i need some specific
2014 Apr 04
0
Rspec not running properly
Hello everybody,
Being a new user of RoR, i'm experiencing a problem using Rspec, it
should end without errors but I still get this result:
PS C:\RubyTools\rubygems-2.2.2\rails_projects\sample_app> rspec spec
        Called from:
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.0/lib/action_dispatch/middleware/session/abstract_store.rb:28:in
`initialize'.
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
Hello, this morning I was trying to access my app on my computer, but,
when I initialize the server and access localhost:3000, this message
shows up:
ActiveRecord::ConnectionNotEstablished
So, I try to access via rails console, but again, another error:
felipe@Felipe:~/rails_projects/simple_cms$ rails console
2014 Jun 03
0
bundle exec spork error need help
Using RSpec, Rails
Preloading Rails environment
undefined method `generators' for 
#<Rails::Railtie::Configuration:0x0000000339a898> (NoMethodError)
/home/rorway/.rvm/gems/ruby-2.1.2/gems/railties-4.1.1/lib/rails/railtie/configuration.rb:95:in 
`method_missing'
/home/rorway/.rvm/gems/ruby-2.1.2/gems/rspec-rails-2.0.0.beta.18/lib/rspec-rails.rb:4:in 
`<class:Railtie>'
2014 Jun 03
0
Starting Thinking Sphinx on Joyent SmartOS with svcadm
I followed this tutorial: http://www.neo.com/2013/10/09/unicorn-on-joyent-smartos and the RailsCast about configuring Nginx and Unicorn, and successfully set up my first non-Passenger/Apache Rails app last weekend. 
Buoyed by this success, I next set about trying to get ThinkingSphinx to restart when the server starts, and managed to get my server to run away with 115% server usage. (Oddly, while
2011 Aug 25
2
Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)
Hey guys,
I''m a RoR-Beginner and I started learning it with the RoR-Tutorial.
Actually I''m at this chapter (http://ruby.railstutorial.org/chapters/
static-pages#top) and try to install rspec. But everytime when I try
to use "rails g rspec:install" I get this error message:
C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install
2014 May 06
0
Failed "bundle install" due to libpq-fe.h
I tried to run the command "bundle install" as follow and then I got this 
error:
# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and 
installing your bundle as root will break this application for all non-root 
users on this machine.
Fetching gem metadata from https://rubygems.org/........
Fetching additional metadata from
2013 May 29
5
Can't setup Rails with RVM in ubuntu 12.04
I''m doing setu Ruby on Rails with RVM.
I had setup ruby 1.9.3 p429 and RVM,RubyGem... succesfully
But I can''t setup Rails with command : gem install rails because of
error:
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: rails requires activesupport (=
3.2.13), actionpack (= 3.2.13), activerecord (= 3.2.13), activeresource
(= 3.2.13),
2005 Oct 11
0
Re: stylesheets directory unavailable in Apache but notWebrick
If I switch from fcgi to the cgi dispatcher the stylesheets work? Anyone have any ideas?
 
Thanks in advance,
 
Scott
 
Thanks,
 
Scott Caldwell
Database Administrator
 
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
>>>
2012 Feb 29
1
setting up a vps for rails: looking for advice, tutorials, etc.
i am trying to learn how to setup and maintain a vps for some rails apps. i 
have used shared and managed hosting but now i am looking for the freedom 
and flexibility a vps offers. i signed up with linode to give me something 
to play around with until i feel comfortable to deploy my live apps to a 
vps. i want to learn best practices and how to do things right.
initially i plan on hosting only
2013 Sep 20
3
having problem to install the gem `mysql`
I am having problem to install the gem `mysql`.
kirti@kirti-Aspire-5733Z:~$ gem install mysql
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
  ERROR: Failed to build gem native extension.
    /home/kirti/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
checking for mysql_query()... -lmysqlclient
checking for main() in -lm... yes
checking for mysql_query()...
2014 May 26
0
Finding a record which I had created
I thought this is an easy one, but: I have created a record, and later
would like to retrieve it again.
Here is an excerpt of my schema:
 create_table "dicts", force: true do |t|
    t.string   "dictname"
    ...
  end
My model ensures that dictname is unique:
   validates   :dictname,
               presence: true,
               length: { minimum: 3 },
              
2010 Aug 13
0
Rails 2 and Rails 3 in the same gemset leads to errors
Hi.
I am pretty new to ruby (and those gems) and rails.. Until now I
thought that all rails application have some kind of integrated
version management (RAILS_GEM_VERSION in Rails 2 and gem ''rails'' in
Rails 3). And therefore I thought that having Rails 2 and Rails 3 in
the same gem repository (in my case gemset under rvm) wouldn''t be a
problem. But during installing
2009 Nov 07
0
wrong argument type Mysql (expected Struct) running rake with Ruby 1.9 / Rails 2.3.3
I''m use Ruby 1.9 via rvm and Rails 2.3.3.  I''m on OS X 10.5 and I have
the mysql 2.8.1 gem installed.  When I run rake on my rails app, I get
the error "wrong argument type Mysql (expected Struct)".  I can run
the app fine with script/server and script/console fine.  Is anyone
else having this problem or know what might cause this problem?
Here''s the stack
2011 May 15
0
Upgrading to Rails 3.1
I''m working on updating my rails 3.0.5 app to rails 3.1.0.beta1 and I
seem to be running into a problem when doing `rake rails:update` when it
runs `rake rails:update:javascripts`
Here is my bundle:
Gems included by the bundle:
  * RedCloth (4.2.7)
  * actionmailer (3.1.0.beta1)
  * actionpack (3.1.0.beta1)
  * activemodel (3.1.0.beta1)
  * activerecord (3.1.0.beta1)
  * activeresource
2011 Jun 03
0
Rack Middleware support for Rails 2.0.2? If not what is the alternative to implement similar functionality in Rails 2.0.2..
Hello all,
I am using Rails 2.0.2 and Ruby 1.8.7 and I need to make use of rack
middleware for integrating an ajax file upload plugin(https://
github.com/valums/file-uploader) with paperclip in Rails( As given in
this tutorial:-
http://mooooooooooo.wordpress.com/2010/12/03/paperclip-valums%E2%80%99s-file-uploader-and-middleware-continued/).
I have referred to the rack-middleware Railscast by