railsbridge / docs

Curriculum for RailsBridge workshops
docs.railsbridge.org
Other
3.42k stars 454 forks source link

My output is not right #406

Closed kearley420 closed 9 years ago

kearley420 commented 9 years ago

I'm trying to go through your "Create a Rails App - Install but I'm running into issues. Rather than try to describe something I don't understand, I have included all of the command prompt window information below. I keep getting this "DL Is depreciated, please use Fiddle" message on different things, like when I do version checks.

Rails Environment Configuration.

DL is deprecated, please use Fiddle


git: user.name: Kirbie S Earley user.email: kearley420@gmail.com version: git version 1.9.4.msysgit.2

ruby: bin: C:/RailsInstaller/Ruby2.0.0/bin/ruby.exe version: ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]

rails: bin: C:/RailsInstaller/Ruby2.0.0/bin/rails.bat version: Rails 4.1.8

ssh: public_key_location: C:\Users\Kirbie/.ssh/id_rsa.pub public_key_contents: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFxuWSJ7an7/zcf426lGCB6Dwojj3Y AvVjgY5QnOmAW5zWMiMKiF+W+OBh6PcbP4/duBdF1cMuf5aPfZs4k5Tx8vwxqjMTfx0i/jquIZnWnX9R02G9LVyNfBG fmq71drBOH58b7bI6H8ClcdZFicBdiz8t2NS0pKObni8NzQA8C8qCczHuHDK57nHADFHCDH0yVjQMJ55aXwTmhmiFOt 1eb7NK7iOZULMh0g+sclyFuJhPge4R/wS0R73wg+zF49Qmrs1eWjm1YDKuVtZ5MTRdZftUCnwAokuWGkU3jg9euYGMQ Cn21ovPytC7nQXo6BZRBHHiNx/sZMVMGjbpeCqB Kirbie S Earley kearley420@gmail.com

C:\Sites>heroku version Your version of git is 1.9.4.. Which has serious security vulnerabilities. More information here: https://blog.heroku.com/archives/2014/12/23/update_your_git_clients_ on_windows_and_os_x heroku/toolbelt/3.22.1 (i386-mingw32) ruby/1.9.3

C:\Sites>heroku keys:add Your version of git is 1.9.4.. Which has serious security vulnerabilities. More information here: https://blog.heroku.com/archives/2014/12/23/update_your_git_clients_ on_windows_and_os_x Enter your Heroku credentials. Email: kearley420@gmail.com Password (typing will be hidden): Found an SSH public key at C:/Users/Kirbie/.ssh/id_rsa.pub Would you like to upload it to Heroku? [Yn] y Uploading SSH public key C:/Users/Kirbie/.ssh/id_rsa.pub... done

C:\Sites>rails -v DL is deprecated, please use Fiddle Rails 4.1.8

C:\Sites>cd c:\sites

C:\Sites>mkdir railsbridge

C:\Sites>cd railsbridge

C:\Sites\railsbridge>rails new test_app DL is deprecated, please use Fiddle create create README.rdoc create Rakefile create config.ru create .gitignore create Gemfile create app create app/assets/javascripts/application.js create app/assets/stylesheets/application.css create app/controllers/application_controller.rb create app/helpers/application_helper.rb create app/views/layouts/application.html.erb create app/assets/images/.keep create app/mailers/.keep create app/models/.keep create app/controllers/concerns/.keep create app/models/concerns/.keep create bin create bin/bundle create bin/rails create bin/rake create config create config/routes.rb create config/application.rb create config/environment.rb create config/secrets.yml create config/environments create config/environments/development.rb create config/environments/production.rb create config/environments/test.rb create config/initializers create config/initializers/assets.rb create config/initializers/backtrace_silencers.rb create config/initializers/cookies_serializer.rb create config/initializers/filter_parameter_logging.rb create config/initializers/inflections.rb create config/initializers/mime_types.rb create config/initializers/session_store.rb create config/initializers/wrap_parameters.rb create config/locales create config/locales/en.yml create config/boot.rb create config/database.yml create db create db/seeds.rb create lib create lib/tasks create lib/tasks/.keep create lib/assets create lib/assets/.keep create log create log/.keep create public create public/404.html create public/422.html create public/500.html create public/favicon.ico create public/robots.txt create test/fixtures create test/fixtures/.keep create test/controllers create test/controllers/.keep create test/mailers create test/mailers/.keep create test/models create test/models/.keep create test/helpers create test/helpers/.keep create test/integration create test/integration/.keep create test/test_helper.rb create tmp/cache create tmp/cache/assets create vendor/assets/javascripts create vendor/assets/javascripts/.keep create vendor/assets/stylesheets create vendor/assets/stylesheets/.keep run bundle install DL is deprecated, please use Fiddle Fetching gem metadata from https://rubygems.org/.......... Resolving dependencies...

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server cert ificate B: certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem) An error occurred while installing rake (10.4.2), and Bundler cannot continue. Make sure that gem install rake -v '10.4.2' succeeds before bundling.

C:\Sites\railsbridge>

rachelmyers commented 9 years ago

I don't know much about windows, so I googled it, and stack overflow tells me that the message is only a warning, not an error. That means it's fine to ignore it.

If you want to fix it, the same stack overflow thread recommends:

You can open with your favorite editor the readline.rb and look up the code ( nearby line 4369)

   if RUBY_VERSION < '1.9.1'
      require 'Win32API'
    else
      require 'dl'
      class Win32API
        DLL = {}

If you remove the require, by removing (or commenting out) the line require 'dl', the warning should go away.

Hope that helps!